pypipr 1.0.118__py3-none-any.whl → 1.0.120__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pypipr/__init__.py CHANGED
@@ -10,6 +10,7 @@ from .avg import avg
10
10
  from .basename import basename
11
11
  from .batch_calculate import batch_calculate
12
12
  from .batchmaker import batchmaker
13
+ from .bin_to_int import bin_to_int
13
14
  from .calculate import calculate
14
15
  from .choices import choices
15
16
  from .chr_to_int import chr_to_int
@@ -29,6 +30,7 @@ from .get_filesize import get_filesize
29
30
  from .github_pull import github_pull
30
31
  from .github_push import github_push
31
32
  from .github_user import github_user
33
+ from .hex_to_int import hex_to_int
32
34
  from .iargv import iargv
33
35
  from .idumps import idumps
34
36
  from .idumps_html import idumps_html
@@ -55,6 +57,7 @@ from .iscandir import iscandir
55
57
  from .isplit import isplit
56
58
  from .ivars import ivars
57
59
  from .log import log
60
+ from .oct_to_int import oct_to_int
58
61
  from .password_generator import password_generator
59
62
  from .pip_freeze_without_version import pip_freeze_without_version
60
63
  from .poetry_publish import poetry_publish
pypipr/__terminal__.py CHANGED
@@ -6,6 +6,7 @@ def main():
6
6
  # m = m["module"] | m["variable"] | m["class"] | m["function"]
7
7
  m = m["variable"] | m["function"]
8
8
  m = [x for x in m]
9
+ m.sort()
9
10
 
10
11
  a = iargv(1)
11
12
  p = "Masukan Nomor Urut atau Nama Fungsi : "
pypipr/bin_to_int.py ADDED
@@ -0,0 +1,12 @@
1
+ def bin_to_int(n):
2
+ """
3
+ Fungsi ini berguna untuk mengubah angka binary
4
+ menjadi angka integer.
5
+
6
+ ```python
7
+ print(bin_to_int(bin(244)))
8
+ ```
9
+ """
10
+ return int(n, 2)
11
+
12
+
pypipr/hex_to_int.py ADDED
@@ -0,0 +1,12 @@
1
+ def hex_to_int(n):
2
+ """
3
+ Fungsi ini berguna untuk mengubah angka hexadecimal
4
+ menjadi angka integer.
5
+
6
+ ```python
7
+ print(hex_to_int(hex(244)))
8
+ ```
9
+ """
10
+ return int(n, 16)
11
+
12
+
pypipr/oct_to_int.py ADDED
@@ -0,0 +1,12 @@
1
+ def oct_to_int(n):
2
+ """
3
+ Fungsi ini berguna untuk mengubah angka octal
4
+ menjadi angka integer.
5
+
6
+ ```python
7
+ print(oct_to_int(oct(244)))
8
+ ```
9
+ """
10
+ return int(n, 8)
11
+
12
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.118
3
+ Version: 1.0.120
4
4
  Summary: The Python Package Index Project
5
5
  Author: ufiapjj
6
6
  Author-email: ufiapjj@gmail.com
@@ -250,8 +250,8 @@ iprint(irange("z", "a", 4))
250
250
 
251
251
  Output:
252
252
  ```py
253
- <generator object int_range at 0x7b07270540>
254
- <generator object int_range at 0x7b07270540>
253
+ <generator object int_range at 0x7d20bd4540>
254
+ <generator object int_range at 0x7d20bd4540>
255
255
  [13, 12, 11, 10, 9, 8, 7, 6]
256
256
  [2, 5, 8]
257
257
  [2, 5, 8]
@@ -283,7 +283,7 @@ print(list(batchmaker(s)))
283
283
 
284
284
  Output:
285
285
  ```py
286
- <generator object batchmaker at 0x7b072643a0>
286
+ <generator object batchmaker at 0x7d20bc83a0>
287
287
  ['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.']
288
288
  ```
289
289
 
@@ -337,10 +337,26 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
337
337
 
338
338
  Output:
339
339
  ```py
340
- <generator object batch_calculate at 0x7b071eb010>
340
+ <generator object batch_calculate at 0x7d20b4b010>
341
341
  [('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>)]
342
342
  ```
343
343
 
344
+ ## bin_to_int
345
+
346
+ `bin_to_int(n)`
347
+
348
+ Fungsi ini berguna untuk mengubah angka binary
349
+ menjadi angka integer.
350
+
351
+ ```python
352
+ print(bin_to_int(bin(244)))
353
+ ```
354
+
355
+ Output:
356
+ ```py
357
+ 244
358
+ ```
359
+
344
360
  ## is_empty
345
361
 
346
362
  `is_empty(variable, empty=[None, False, 0, 0, '0', '', '-0', '\n', '\t', set(), {}, [], ()])`
@@ -449,7 +465,7 @@ print(list(chunk_array(arr, 5)))
449
465
 
450
466
  Output:
451
467
  ```py
452
- <generator object chunk_array at 0x7b07270540>
468
+ <generator object chunk_array at 0x7d20bd4540>
453
469
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
454
470
  ```
455
471
 
@@ -500,9 +516,9 @@ print(datetime_now("Etc/GMT+7"))
500
516
 
501
517
  Output:
502
518
  ```py
503
- 2024-05-01 09:38:07.867936+07:00
504
- 2024-05-01 02:38:07.869667+00:00
505
- 2024-04-30 19:38:07.873447-07:00
519
+ 2024-05-01 09:55:07.182593+07:00
520
+ 2024-05-01 02:55:07.184074+00:00
521
+ 2024-04-30 19:55:07.188176-07:00
506
522
  ```
507
523
 
508
524
  ## dict_first
@@ -608,7 +624,7 @@ iprint(filter_empty(var))
608
624
 
609
625
  Output:
610
626
  ```py
611
- <generator object filter_empty at 0x7b071eb010>
627
+ <generator object filter_empty at 0x7d20b495d0>
612
628
  [1, '0', True, {}, ['eee']]
613
629
  ```
614
630
 
@@ -638,8 +654,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
638
654
 
639
655
  Output:
640
656
  ```py
641
- <generator object get_class_method at 0x7b071eb2e0>
642
- [<function ExampleGetClassMethod.a at 0x7b07289120>, <function ExampleGetClassMethod.b at 0x7b07289300>, <function ExampleGetClassMethod.c at 0x7b07289440>, <function ExampleGetClassMethod.d at 0x7b072894e0>]
657
+ <generator object get_class_method at 0x7d20b4b2e0>
658
+ [<function ExampleGetClassMethod.a at 0x7d20bed300>, <function ExampleGetClassMethod.b at 0x7d20bed620>, <function ExampleGetClassMethod.c at 0x7d20bed4e0>, <function ExampleGetClassMethod.d at 0x7d20bed6c0>]
643
659
  ```
644
660
 
645
661
  ## get_filesize
@@ -688,6 +704,22 @@ menginput nya setiap saat.
688
704
  github_user('my@emil.com', 'MyName')
689
705
  ```
690
706
 
707
+ ## hex_to_int
708
+
709
+ `hex_to_int(n)`
710
+
711
+ Fungsi ini berguna untuk mengubah angka hexadecimal
712
+ menjadi angka integer.
713
+
714
+ ```python
715
+ print(hex_to_int(hex(244)))
716
+ ```
717
+
718
+ Output:
719
+ ```py
720
+ 244
721
+ ```
722
+
691
723
  ## iargv
692
724
 
693
725
  `iargv(key: int, cast=None, on_error=None)`
@@ -893,7 +925,7 @@ Output:
893
925
 
894
926
  ## ienumerate
895
927
 
896
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x7b0bd31da0>)`
928
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7d289c9ee0>)`
897
929
 
898
930
  meningkatkan fungsi enumerate() pada python
899
931
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -906,7 +938,7 @@ iprint(ienumerate(it, key=int_to_chr))
906
938
 
907
939
  Output:
908
940
  ```py
909
- <generator object ienumerate at 0x7b071eb2e0>
941
+ <generator object ienumerate at 0x7d20b4b3d0>
910
942
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
911
943
  ```
912
944
 
@@ -973,7 +1005,7 @@ print(ijoin(10, ' '))
973
1005
 
974
1006
  Output:
975
1007
  ```py
976
- asd, dfs, qweqw, weq
1008
+ qweqw, dfs, asd, weq
977
1009
  ,ini,path,seperti,url,
978
1010
  ini,path,seperti,url
979
1011
  <li>satu</li>
@@ -1019,9 +1051,9 @@ Output:
1019
1051
  ```py
1020
1052
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1021
1053
  [['Harga Emas Hari Ini - Rabu, 01 Mei 2024'],
1022
- ['Spot Emas USD↓2.287,55 (-8,47) / oz',
1054
+ ['Spot Emas USD↓2.287,98 (-8,04) / oz',
1023
1055
  'Kurs IDR16.249,00 / USD',
1024
- 'Emas IDR↓1.195.056 (-4.425) / gr'],
1056
+ 'Emas IDR↓1.195.281 (-4.200) / gr'],
1025
1057
  ['LM Antam (Jual)↓1.310.000 (-15.000) / gr',
1026
1058
  'LM Antam (Beli)↓1.204.000 (-17.000) / gr']],
1027
1059
  [['Harga Emas Hari Ini'],
@@ -1092,10 +1124,10 @@ Output:
1092
1124
  'Update harga LM Pegadaian :31 Agustus 2023']],
1093
1125
  [['Spot Harga Emas Hari Ini (Market Open)'],
1094
1126
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1095
- ['Ounce\xa0(oz)', '2.287,55 (-8,47)', '16.249,00', '37.170.400'],
1096
- ['Gram\xa0(gr)', '73,55', '16.249,00', '1.195.056 (-4.425)'],
1097
- ['Kilogram\xa0(kg)', '73.546,44', '16.249,00', '1.195.056.110'],
1098
- ['Update harga emas :01 Mei 2024, pukul 09:37Update kurs :30 April 2024, '
1127
+ ['Ounce\xa0(oz)', '2.287,98 (-8,04)', '16.249,00', '37.177.387'],
1128
+ ['Gram\xa0(gr)', '73,56', '16.249,00', '1.195.281 (-4.200)'],
1129
+ ['Kilogram\xa0(kg)', '73.560,27', '16.249,00', '1.195.280.749'],
1130
+ ['Update harga emas :01 Mei 2024, pukul 09:54Update kurs :30 April 2024, '
1099
1131
  'pukul 13:10']],
1100
1132
  [['Gram', 'UBS Gold 99.99%'],
1101
1133
  ['Jual', 'Beli'],
@@ -1117,36 +1149,36 @@ Output:
1117
1149
  ['Unit', 'USD', 'IDR'],
1118
1150
  ['Angka', '+/-', 'Angka', '+/-'],
1119
1151
  ['Hari Ini', 'Kurs', '', '', '16.249', '%'],
1120
- ['oz', '2.296,02', '-8,47-0,37%', '37.308.029', '-137.629-0,37%'],
1121
- ['gr', '73,82', '-0,27-0,37%', '1.199.481', '-4.425-0,37%'],
1152
+ ['oz', '2.296,02', '-8,04-0,35%', '37.308.029', '-130.642-0,35%'],
1153
+ ['gr', '73,82', '-0,26-0,35%', '1.199.481', '-4.200-0,35%'],
1122
1154
  ['30 Hari', 'Kurs', '', '', '15.873', '+376+2,37%'],
1123
- ['oz', '2.239,34', '+48,21+2,15%', '35.545.044', '+1.625.356+4,57%'],
1124
- ['gr', '72,00', '+1,55+2,15%', '1.142.800', '+52.256+4,57%'],
1155
+ ['oz', '2.239,34', '+48,64+2,17%', '35.545.044', '+1.632.343+4,59%'],
1156
+ ['gr', '72,00', '+1,56+2,17%', '1.142.800', '+52.481+4,59%'],
1125
1157
  ['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
1126
- ['oz', '2.082,55', '+205,00+9,84%', '32.727.273', '+4.443.127+13,58%'],
1127
- ['gr', '66,96', '+6,59+9,84', '1.052.206', '+142.850+13,58%'],
1158
+ ['oz', '2.082,55', '+205,43+9,86%', '32.727.273', '+4.450.114+13,60%'],
1159
+ ['gr', '66,96', '+6,60+9,86', '1.052.206', '+143.074+13,60%'],
1128
1160
  ['6 Bulan', 'Kurs', '', '', '15.861', '+388+2,45%'],
1129
- ['oz', '1.990,54', '+297,01+14,92%', '31.571.955', '+5.598.445+17,73%'],
1130
- ['gr', '64,00', '+9,55+14,92%', '1.015.062', '+179.994+17,73%'],
1161
+ ['oz', '1.990,54', '+297,44+14,94%', '31.571.955', '+5.605.432+17,75%'],
1162
+ ['gr', '64,00', '+9,56+14,94%', '1.015.062', '+180.219+17,75%'],
1131
1163
  ['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
1132
- ['oz', '1.823,86', '+463,69+25,42%', '28.691.142', '+8.479.258+29,55%'],
1133
- ['gr', '58,64', '+14,91+25,42%', '922.442', '+272.614+29,55%'],
1164
+ ['oz', '1.823,86', '+464,12+25,45%', '28.691.142', '+8.486.245+29,58%'],
1165
+ ['gr', '58,64', '+14,92+25,45%', '922.442', '+272.839+29,58%'],
1134
1166
  ['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
1135
- ['oz', '1.867,23', '+420,32+22,51%', '26.921.722', '+10.248.678+38,07%'],
1136
- ['gr', '60,03', '+13,51+22,51%', '865.553', '+329.503+38,07%'],
1167
+ ['oz', '1.867,23', '+420,75+22,53%', '26.921.722', '+10.255.665+38,09%'],
1168
+ ['gr', '60,03', '+13,53+22,53%', '865.553', '+329.727+38,09%'],
1137
1169
  ['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
1138
- ['oz', '1.768,91', '+518,64+29,32%', '25.592.590', '+11.577.810+45,24%'],
1139
- ['gr', '56,87', '+16,67+29,32%', '822.821', '+372.235+45,24%'],
1170
+ ['oz', '1.768,91', '+519,07+29,34%', '25.592.590', '+11.584.797+45,27%'],
1171
+ ['gr', '56,87', '+16,69+29,34%', '822.821', '+372.460+45,27%'],
1140
1172
  ['5 Tahun', 'Kurs', '', '', '14.282', '+1.967+13,77%'],
1141
- ['oz', '1.280,82', '+1.006,73+78,60%', '18.292.671', '+18.877.729+103,20%'],
1142
- ['gr', '41,18', '+32,37+78,60%', '588.123', '+606.933+103,20%']])
1173
+ ['oz', '1.280,82', '+1.007,16+78,63%', '18.292.671', '+18.884.716+103,24%'],
1174
+ ['gr', '41,18', '+32,38+78,63%', '588.123', '+607.158+103,24%']])
1143
1175
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1144
1176
  [[''],
1145
1177
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1146
- ['USD', '73,55↓', '-0,27-0,37%'],
1178
+ ['USD', '73,56↓', '-0,26-0,35%'],
1147
1179
  ['KURS', '16.265,05↑', '+4,05+0,02%'],
1148
- ['IDR', '1.196.236,53↓', '-4.130,28-0,34%'],
1149
- ['Rabu, 01 Mei 2024 09:37']],
1180
+ ['IDR', '1.196.456,16↓', '-3.910,65-0,33%'],
1181
+ ['Rabu, 01 Mei 2024 09:55']],
1150
1182
  [[''],
1151
1183
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1152
1184
  'Hari Ini',
@@ -1157,19 +1189,19 @@ Output:
1157
1189
  '']],
1158
1190
  [['Pergerakkan Harga Emas 1 Gram'],
1159
1191
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1160
- ['USD', '73,82', '73,55 - 73,82', '73,69'],
1192
+ ['USD', '73,82', '73,56 - 73,82', '73,69'],
1161
1193
  ['KURS', '16.261,00', '16.261,00 - 16.265,05', '16.263,03'],
1162
- ['IDR', '1.200.366,81', '1.196.236,53 - 1.200.366,81', '1.198.301,67'],
1194
+ ['IDR', '1.200.366,81', '1.196.456,16 - 1.200.366,81', '1.198.411,49'],
1163
1195
  [''],
1164
1196
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1165
- ['USD', '66,32', '64,07 - 77,14', '+7,23 (10,90%)'],
1197
+ ['USD', '66,32', '64,07 - 77,14', '+7,24 (10,92%)'],
1166
1198
  ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+874,95 (5,69%)'],
1167
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.507,00 (17,19%)'],
1199
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.726,63 (17,22%)'],
1168
1200
  [''],
1169
1201
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1170
- ['USD', '63,97', '58,43 - 77,14', '+9,58 (14,98%)'],
1202
+ ['USD', '63,97', '58,43 - 77,14', '+9,59 (14,99%)'],
1171
1203
  ['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.591,50 (10,85%)'],
1172
- ['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.526,80 (27,43%)']])
1204
+ ['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.746,43 (27,46%)']])
1173
1205
  ```
1174
1206
 
1175
1207
  ## iloads
@@ -1299,7 +1331,7 @@ Output:
1299
1331
  ```py
1300
1332
  8
1301
1333
  ['mana', 'aja']
1302
- [<Element a at 0x7b07281b80>, <Element a at 0x7b072bd2c0>, <Element a at 0x7b072bd360>, <Element a at 0x7b072bd3b0>, <Element a at 0x7b072bd400>, <Element a at 0x7b072bd450>, <Element a at 0x7b072bd4a0>, <Element a at 0x7b072bd4f0>, <Element a at 0x7b072bd540>, <Element a at 0x7b072bd590>, <Element a at 0x7b072bd5e0>, <Element a at 0x7b072bd630>, <Element a at 0x7b072bd680>, <Element a at 0x7b072bd6d0>, <Element a at 0x7b072bd720>, <Element a at 0x7b072bd770>, <Element a at 0x7b072bd7c0>, <Element a at 0x7b072bd810>, <Element a at 0x7b072bd860>]
1334
+ [<Element a at 0x7d20be59f0>, <Element a at 0x7d20c25310>, <Element a at 0x7d20c253b0>, <Element a at 0x7d20c25400>, <Element a at 0x7d20c25450>, <Element a at 0x7d20c254a0>, <Element a at 0x7d20c254f0>, <Element a at 0x7d20c25540>, <Element a at 0x7d20c25590>, <Element a at 0x7d20c255e0>, <Element a at 0x7d20c25630>, <Element a at 0x7d20c25680>, <Element a at 0x7d20c256d0>, <Element a at 0x7d20c25720>, <Element a at 0x7d20c25770>, <Element a at 0x7d20c257c0>, <Element a at 0x7d20c25810>, <Element a at 0x7d20c25860>]
1303
1335
  False
1304
1336
  ```
1305
1337
 
@@ -1361,7 +1393,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1361
1393
 
1362
1394
  Output:
1363
1395
  ```py
1364
- <generator object iscandir at 0x7b07270840>
1396
+ <generator object iscandir at 0x7d20bd4840>
1365
1397
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1366
1398
  ```
1367
1399
 
@@ -1398,73 +1430,76 @@ Output:
1398
1430
  'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1399
1431
  'PintUregQuantity': <class 'pint.Quantity'>,
1400
1432
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1401
- 'function': {'avg': <function avg at 0x7b11da2700>,
1402
- 'get_filemtime': <function get_filemtime at 0x7b0be772e0>,
1403
- 'print_colorize': <function print_colorize at 0x7b0be774c0>,
1404
- 'print_log': <function print_log at 0x7b0c106b60>,
1405
- 'console_run': <function console_run at 0x7b0be77380>,
1406
- 'auto_reload': <function auto_reload at 0x7b0c033ec0>,
1407
- 'basename': <function basename at 0x7b0be77240>,
1408
- 'chr_to_int': <function chr_to_int at 0x7b0be77a60>,
1409
- 'int_to_chr': <function int_to_chr at 0x7b0be77b00>,
1410
- 'irange': <function irange at 0x7b0be77d80>,
1411
- 'batchmaker': <function batchmaker at 0x7b0be77740>,
1412
- 'calculate': <function calculate at 0x7b0be602c0>,
1413
- 'batch_calculate': <function batch_calculate at 0x7b0be77600>,
1414
- 'is_empty': <function is_empty at 0x7b0be604a0>,
1415
- 'exit_if_empty': <function exit_if_empty at 0x7b0be60360>,
1416
- 'input_char': <function input_char at 0x7b0be60400>,
1417
- 'get_by_index': <function get_by_index at 0x7b0be60540>,
1418
- 'choices': <function choices at 0x7b0be60720>,
1419
- 'chunk_array': <function chunk_array at 0x7b0be607c0>,
1420
- 'create_folder': <function create_folder at 0x7b0be60860>,
1421
- 'datetime_from_string': <function datetime_from_string at 0x7b0be60900>,
1422
- 'datetime_now': <function datetime_now at 0x7b0be609a0>,
1423
- 'dict_first': <function dict_first at 0x7b0be60a40>,
1424
- 'dirname': <function dirname at 0x7b0be60ae0>,
1425
- 'is_iterable': <function is_iterable at 0x7b0be60cc0>,
1426
- 'to_str': <function to_str at 0x7b0be60d60>,
1427
- 'filter_empty': <function filter_empty at 0x7b0be60b80>,
1428
- 'get_class_method': <function get_class_method at 0x7b0be60c20>,
1429
- 'get_filesize': <function get_filesize at 0x7b0be60ea0>,
1430
- 'github_pull': <function github_pull at 0x7b0be60f40>,
1431
- 'github_push': <function github_push at 0x7b0be61120>,
1432
- 'github_user': <function github_user at 0x7b0be611c0>,
1433
- 'iargv': <function iargv at 0x7b0be60fe0>,
1434
- 'idumps_html': <function idumps_html at 0x7b0be61440>,
1435
- 'idumps': <function idumps at 0x7b0be61300>,
1436
- 'int_to_int': <function int_to_int at 0x7b0bd31da0>,
1437
- 'ienumerate': <function ienumerate at 0x7b0be61940>,
1438
- 'ienv': <function ienv at 0x7b0bd31c60>,
1439
- 'iexec': <function iexec at 0x7b0bd31e40>,
1440
- 'ijoin': <function ijoin at 0x7b0bd31f80>,
1441
- 'iloads_html': <function iloads_html at 0x7b0bd32160>,
1442
- 'iloads': <function iloads at 0x7b0bd31ee0>,
1443
- 'int_to_bin': <function int_to_bin at 0x7b0bd320c0>,
1444
- 'int_to_hex': <function int_to_hex at 0x7b0bd32200>,
1445
- 'int_to_oct': <function int_to_oct at 0x7b0bd322a0>,
1446
- 'is_valid_url': <function is_valid_url at 0x7b0bd32480>,
1447
- 'iopen': <function iopen at 0x7b0bd768e0>,
1448
- 'iprint': <function iprint at 0x7b0bd323e0>,
1449
- 'ireplace': <function ireplace at 0x7b0bd327a0>,
1450
- 'iscandir': <function iscandir at 0x7b07316020>,
1451
- 'isplit': <function isplit at 0x7b073160c0>,
1452
- 'ivars': <function ivars at 0x7b07316160>,
1453
- 'log': <function log at 0x7b07316200>,
1454
- 'password_generator': <function password_generator at 0x7b073162a0>,
1455
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7b073163e0>,
1456
- 'poetry_publish': <function poetry_publish at 0x7b07316480>,
1457
- 'poetry_update_version': <function poetry_update_version at 0x7b073165c0>,
1458
- 'print_dir': <function print_dir at 0x7b073167a0>,
1459
- 'print_to_last_line': <function print_to_last_line at 0x7b07316840>,
1460
- 'random_bool': <function random_bool at 0x7b073168e0>,
1461
- 'restart': <function restart at 0x7b07316980>,
1462
- 'set_timeout': <function set_timeout at 0x7b07316a20>,
1463
- 'sets_ordered': <function sets_ordered at 0x7b07316ac0>,
1464
- 'str_cmp': <function str_cmp at 0x7b07316b60>,
1465
- 'text_colorize': <function text_colorize at 0x7b07316c00>},
1433
+ 'function': {'avg': <function avg at 0x7d2ec4e700>,
1434
+ 'get_filemtime': <function get_filemtime at 0x7d28ad72e0>,
1435
+ 'print_colorize': <function print_colorize at 0x7d28ad74c0>,
1436
+ 'print_log': <function print_log at 0x7d28b7ab60>,
1437
+ 'console_run': <function console_run at 0x7d28ad7380>,
1438
+ 'auto_reload': <function auto_reload at 0x7d28ab3ec0>,
1439
+ 'basename': <function basename at 0x7d28ad7240>,
1440
+ 'chr_to_int': <function chr_to_int at 0x7d28ad7a60>,
1441
+ 'int_to_chr': <function int_to_chr at 0x7d28ad7b00>,
1442
+ 'irange': <function irange at 0x7d28ad7d80>,
1443
+ 'batchmaker': <function batchmaker at 0x7d28ad7740>,
1444
+ 'calculate': <function calculate at 0x7d28ac82c0>,
1445
+ 'batch_calculate': <function batch_calculate at 0x7d28ad7600>,
1446
+ 'bin_to_int': <function bin_to_int at 0x7d28ad76a0>,
1447
+ 'is_empty': <function is_empty at 0x7d28ac8540>,
1448
+ 'exit_if_empty': <function exit_if_empty at 0x7d28ac8400>,
1449
+ 'input_char': <function input_char at 0x7d28ac84a0>,
1450
+ 'get_by_index': <function get_by_index at 0x7d28ac85e0>,
1451
+ 'choices': <function choices at 0x7d28ac87c0>,
1452
+ 'chunk_array': <function chunk_array at 0x7d28ac8860>,
1453
+ 'create_folder': <function create_folder at 0x7d28ac8900>,
1454
+ 'datetime_from_string': <function datetime_from_string at 0x7d28ac89a0>,
1455
+ 'datetime_now': <function datetime_now at 0x7d28ac8a40>,
1456
+ 'dict_first': <function dict_first at 0x7d28ac8ae0>,
1457
+ 'dirname': <function dirname at 0x7d28ac8b80>,
1458
+ 'is_iterable': <function is_iterable at 0x7d28ac8d60>,
1459
+ 'to_str': <function to_str at 0x7d28ac8e00>,
1460
+ 'filter_empty': <function filter_empty at 0x7d28ac8c20>,
1461
+ 'get_class_method': <function get_class_method at 0x7d28ac8cc0>,
1462
+ 'get_filesize': <function get_filesize at 0x7d28ac8f40>,
1463
+ 'github_pull': <function github_pull at 0x7d28ac8fe0>,
1464
+ 'github_push': <function github_push at 0x7d28ac91c0>,
1465
+ 'github_user': <function github_user at 0x7d28ac9260>,
1466
+ 'hex_to_int': <function hex_to_int at 0x7d28ac9080>,
1467
+ 'iargv': <function iargv at 0x7d28ac9300>,
1468
+ 'idumps_html': <function idumps_html at 0x7d28ac9580>,
1469
+ 'idumps': <function idumps at 0x7d28ac9440>,
1470
+ 'int_to_int': <function int_to_int at 0x7d289c9ee0>,
1471
+ 'ienumerate': <function ienumerate at 0x7d28ac9a80>,
1472
+ 'ienv': <function ienv at 0x7d289c9da0>,
1473
+ 'iexec': <function iexec at 0x7d289c9f80>,
1474
+ 'ijoin': <function ijoin at 0x7d289ca0c0>,
1475
+ 'iloads_html': <function iloads_html at 0x7d289ca2a0>,
1476
+ 'iloads': <function iloads at 0x7d289ca020>,
1477
+ 'int_to_bin': <function int_to_bin at 0x7d289ca200>,
1478
+ 'int_to_hex': <function int_to_hex at 0x7d289ca340>,
1479
+ 'int_to_oct': <function int_to_oct at 0x7d289ca3e0>,
1480
+ 'is_valid_url': <function is_valid_url at 0x7d289ca5c0>,
1481
+ 'iopen': <function iopen at 0x7d287c6a20>,
1482
+ 'iprint': <function iprint at 0x7d289ca520>,
1483
+ 'ireplace': <function ireplace at 0x7d289ca8e0>,
1484
+ 'iscandir': <function iscandir at 0x7d2887e160>,
1485
+ 'isplit': <function isplit at 0x7d2887e200>,
1486
+ 'ivars': <function ivars at 0x7d2887e2a0>,
1487
+ 'log': <function log at 0x7d2887e340>,
1488
+ 'oct_to_int': <function oct_to_int at 0x7d2887e3e0>,
1489
+ 'password_generator': <function password_generator at 0x7d2887e480>,
1490
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7d2887e5c0>,
1491
+ 'poetry_publish': <function poetry_publish at 0x7d2887e660>,
1492
+ 'poetry_update_version': <function poetry_update_version at 0x7d2887e7a0>,
1493
+ 'print_dir': <function print_dir at 0x7d2887e980>,
1494
+ 'print_to_last_line': <function print_to_last_line at 0x7d2887ea20>,
1495
+ 'random_bool': <function random_bool at 0x7d2887eac0>,
1496
+ 'restart': <function restart at 0x7d2887eb60>,
1497
+ 'set_timeout': <function set_timeout at 0x7d2887ec00>,
1498
+ 'sets_ordered': <function sets_ordered at 0x7d2887eca0>,
1499
+ 'str_cmp': <function str_cmp at 0x7d2887ed40>,
1500
+ 'text_colorize': <function text_colorize at 0x7d2887ede0>},
1466
1501
  'variable': {'LINUX': True,
1467
- 'PintUreg': <pint.registry.UnitRegistry object at 0x7b0cf21810>,
1502
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7d2ec54590>,
1468
1503
  'WINDOWS': False},
1469
1504
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1470
1505
  'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
@@ -1526,6 +1561,22 @@ some_function_again()
1526
1561
  some_function_more()
1527
1562
  ```
1528
1563
 
1564
+ ## oct_to_int
1565
+
1566
+ `oct_to_int(n)`
1567
+
1568
+ Fungsi ini berguna untuk mengubah angka octal
1569
+ menjadi angka integer.
1570
+
1571
+ ```python
1572
+ print(oct_to_int(oct(244)))
1573
+ ```
1574
+
1575
+ Output:
1576
+ ```py
1577
+ 244
1578
+ ```
1579
+
1529
1580
  ## password_generator
1530
1581
 
1531
1582
  `password_generator(length=8, characters='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')`
@@ -1538,7 +1589,7 @@ print(password_generator())
1538
1589
 
1539
1590
  Output:
1540
1591
  ```py
1541
- [y5O\zpL
1592
+ {`>\QTI8
1542
1593
  ```
1543
1594
 
1544
1595
  ## pip_freeze_without_version
@@ -1596,7 +1647,7 @@ Output:
1596
1647
  __enter__ : https:/www.google.com
1597
1648
  __fspath__ : https:/www.google.com
1598
1649
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1599
- __hash__ : -8077742347211631754
1650
+ __hash__ : 7734779578747066766
1600
1651
  __init__ : None
1601
1652
  __init_subclass__ : None
1602
1653
  __module__ : pathlib
@@ -1609,8 +1660,8 @@ Output:
1609
1660
  _cached_cparts : ['https:', 'www.google.com']
1610
1661
  _cparts : ['https:', 'www.google.com']
1611
1662
  _drv :
1612
- _flavour : <pathlib._PosixFlavour object at 0x7b19515090>
1613
- _hash : -8077742347211631754
1663
+ _flavour : <pathlib._PosixFlavour object at 0x7d35864ad0>
1664
+ _hash : 7734779578747066766
1614
1665
  _parts : ['https:', 'www.google.com']
1615
1666
  _root :
1616
1667
  _str : https:/www.google.com
@@ -1632,7 +1683,7 @@ Output:
1632
1683
  is_reserved : False
1633
1684
  is_socket : False
1634
1685
  is_symlink : False
1635
- iterdir : <generator object Path.iterdir at 0x7b0727a7a0>
1686
+ iterdir : <generator object Path.iterdir at 0x7d20bce960>
1636
1687
  joinpath : https:/www.google.com
1637
1688
  name : www.google.com
1638
1689
  parent : https:
@@ -1706,7 +1757,7 @@ x.cancel()
1706
1757
 
1707
1758
  Output:
1708
1759
  ```py
1709
- <Timer(Thread-2, started 528371137776)>
1760
+ <Timer(Thread-2, started 537396501744)>
1710
1761
  menghentikan timeout 7
1711
1762
  ```
1712
1763
 
@@ -1724,7 +1775,7 @@ print(list(sets_ordered(array)))
1724
1775
 
1725
1776
  Output:
1726
1777
  ```py
1727
- <generator object sets_ordered at 0x7b07298e10>
1778
+ <generator object sets_ordered at 0x7d20bfd150>
1728
1779
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1729
1780
  ```
1730
1781
 
@@ -1818,7 +1869,7 @@ print(ExampleComparePerformance().compare_performance())
1818
1869
 
1819
1870
  Output:
1820
1871
  ```py
1821
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7b07298930>,
1872
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7d20bfcba0>,
1822
1873
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
1823
1874
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
1824
1875
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
@@ -5,13 +5,14 @@ pypipr/PintUreg.py,sha256=_jmHZhUn8AcgFkXvZ6OTsWnjtp-CYcXUJ-dG_QdcARY,222
5
5
  pypipr/PintUregQuantity.py,sha256=ErSZKB-GHShi1zKac30XgFdBwAUrxMo80IQzIjQ2HVc,118
6
6
  pypipr/RunParallel.py,sha256=BnMasZTnr2gUVVy9dOXePlL_-ud2rWkVPFL2i-sN7rg,7358
7
7
  pypipr/WINDOWS.py,sha256=D-qiViq9LWTCaTefJhbxt-7Z2ty8ll7-DZ5NPFitT94,105
8
- pypipr/__init__.py,sha256=YQuHPOQIeHGXzT_KNQlowCifuL4744t5hqtRfI7Ke8c,3002
9
- pypipr/__terminal__.py,sha256=UdlGb8SIBYjIUHcqx-IQBGUS-Mex02jsVN04b6KdIL0,1253
8
+ pypipr/__init__.py,sha256=W_lXKC8Eft-XzdZW0vWLzkOzEQhOTi8ddA32WGOXDpY,3107
9
+ pypipr/__terminal__.py,sha256=xl_6nDOFNlkHbXZQ-y8dsZe6M6nVnc-HNfBJHfOokLM,1266
10
10
  pypipr/auto_reload.py,sha256=h31UvIzunCaPGvP1F5E-jvspk3K06P-EJuGfiN7WEtY,954
11
11
  pypipr/avg.py,sha256=wUtX3x8dgLoODhQLyMB-HRMVo8Ha2yz3cp7lgcUNbr0,218
12
12
  pypipr/basename.py,sha256=nypVfls6YL_7sY-MYHDcatm5flpBpGj2aMlIOKG9YqE,194
13
13
  pypipr/batch_calculate.py,sha256=rHDXHvzxqKdQlusb6L8mTn27nfadCJMkud9LtGgRNIU,836
14
14
  pypipr/batchmaker.py,sha256=y0D-fU0oCJsdffwZZyJMC0iLPjjiv-_43a7hLrChJDM,1110
15
+ pypipr/bin_to_int.py,sha256=9s935sdD-CC1d7WCsNO3dd8nqTfC8lpkxHB1zQ--mZc,191
15
16
  pypipr/calculate.py,sha256=wzEbP8V1haM-JeIz85fBAuT2mgPc7uxQZ7wEuSUEXLc,805
16
17
  pypipr/choices.py,sha256=mbdDpcrfq8kiPsup_mK_wzcRxq5UyRiLg3YRtHlJxts,1606
17
18
  pypipr/choices.py.bak,sha256=hjVToqAIeMoMfL3kJxOERAicEVsQyUGwzbnorhLdMA4,1664
@@ -32,6 +33,7 @@ pypipr/get_filesize.py,sha256=2RCjrdZvaBDCdessFj-h7gLi13rPe6IXJXZcAoywWIA,196
32
33
  pypipr/github_pull.py,sha256=RLECOHA0Ki1wy5FJ9wWeyOGxwPc9nKKuY4R06d1o70E,186
33
34
  pypipr/github_push.py,sha256=8Gnn_A3ilU0NBnwEQdarc81L2dl1wPLNt604dV7ktuY,921
34
35
  pypipr/github_user.py,sha256=3uPTKwzUjcVx0rNCrkVwE_Bftlr_0BRKtikiW9000gk,590
36
+ pypipr/hex_to_int.py,sha256=fqHnoPBZFqxbcyaJt-UbjzRJ8cjNXIuqH3UoSzUVMSs,197
35
37
  pypipr/iargv.py,sha256=PsKWNLeB7oH-CrUK5ut2R8_tNI0Ptcu0GKuZlgOAJPE,552
36
38
  pypipr/idumps.py,sha256=-YMI6aZmRAMaiQOYXYDvuQLmJMCc4Z4tREEuuoVmFR4,748
37
39
  pypipr/idumps_html.py,sha256=IdDLF3YB7fKvoCjeQC4pLhrVdeWFpVupnSDeI_TsqEY,1428
@@ -58,6 +60,7 @@ pypipr/iscandir.py,sha256=U1zvRZrz--5Kge0JooQbY4kQN17bRt-8XR26ZFxUyoA,748
58
60
  pypipr/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
59
61
  pypipr/ivars.py,sha256=9_DYkv5_X7d5W2PIzGYrQHv__bombI-fAFlr7JGiF-Q,1010
60
62
  pypipr/log.py,sha256=aQ9DeFG03xIAUQYR4TiBdh80M6WvxDtNDTSjpKOSXHk,1041
63
+ pypipr/oct_to_int.py,sha256=IoI_XOFZi6yzmqAirGIP6YWRgghU7IcPWzUk5DO1ZVo,191
61
64
  pypipr/password_generator.py,sha256=NnFAYkAr6kZiED4JZIJ15_VeGWSpBCCy9rSA5Re_CW4,496
62
65
  pypipr/pip_freeze_without_version.py,sha256=s-sJAtyI9Rdmsaw0dR8YB6cMkJ8bZRArqGrbajiaEJQ,794
63
66
  pypipr/poetry_publish.py,sha256=xMEUaTgEphWxbEjxMZU4HYgW2NkhlFsKy9kI5NKWvBc,399
@@ -73,7 +76,7 @@ pypipr/sets_ordered.py,sha256=ve2Nc1eNYD_7QaTf_4otEAvzL1XpZP2MjX0KHSXF5nA,325
73
76
  pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
74
77
  pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
75
78
  pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
76
- pypipr-1.0.118.dist-info/METADATA,sha256=4NzxKSgEyKZiyQJ8nu07TEoRV4ruJ6ooPmmSkHQyd64,52107
77
- pypipr-1.0.118.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
78
- pypipr-1.0.118.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
79
- pypipr-1.0.118.dist-info/RECORD,,
79
+ pypipr-1.0.120.dist-info/METADATA,sha256=2GpwjDNsVBiRu9au870LxK9G3x72U4nmYClHptxHZ5c,52819
80
+ pypipr-1.0.120.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
81
+ pypipr-1.0.120.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
82
+ pypipr-1.0.120.dist-info/RECORD,,