pypipr 1.0.82__py3-none-any.whl → 1.0.83__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/ibuiltins/ivars.py CHANGED
@@ -1,7 +1,7 @@
1
1
  import inspect
2
2
 
3
3
 
4
- def ivars(obj):
4
+ def ivars(obj, skip_underscore=True):
5
5
  """
6
6
  Membuat dictionary berdasarkan kategori untuk setiap
7
7
  member dari object.
@@ -27,6 +27,8 @@ def ivars(obj):
27
27
  uu = lambda x: "__" if x.startswith("__") or x.endswith("__") else ""
28
28
  for i, v in vars(obj).items():
29
29
  u = uu(i)
30
+ if u and skip_underscore:
31
+ continue
30
32
  if inspect.ismodule(v):
31
33
  result[f"{u}module{u}"][i] = v
32
34
  elif inspect.isclass(v):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.82
3
+ Version: 1.0.83
4
4
  Summary: The Python Package Index Project
5
5
  Author: ufiapjj
6
6
  Author-email: ufiapjj@gmail.com
@@ -106,7 +106,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
106
106
 
107
107
  Output:
108
108
  ```py
109
- <generator object batch_calculate at 0x734c9953f0>
109
+ <generator object batch_calculate at 0x700e3453f0>
110
110
  [('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('2 m ** 3', <Quantity(2, 'meter ** 3')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('3 m ** 3', <Quantity(3, 'meter ** 3')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('4 m ** 3', <Quantity(4, 'meter ** 3')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('5 m ** 3', <Quantity(5, 'meter ** 3')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('6 m ** 3', <Quantity(6, 'meter ** 3')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('7 m ** 3', <Quantity(7, 'meter ** 3')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('8 m ** 3', <Quantity(8, 'meter ** 3')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>), ('9 m ** 3', <Quantity(9, 'meter ** 3')>), ('10 m ** 1', <Quantity(10, 'meter')>), ('10 m ** 2', <Quantity(10, 'meter ** 2')>), ('10 m ** 3', <Quantity(10, 'meter ** 3')>)]
111
111
  ```
112
112
 
@@ -131,7 +131,7 @@ print(list(batchmaker(s)))
131
131
 
132
132
  Output:
133
133
  ```py
134
- <generator object batchmaker at 0x734caefe20>
134
+ <generator object batchmaker at 0x700e49fe20>
135
135
  ['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.']
136
136
  ```
137
137
 
@@ -208,7 +208,7 @@ print(list(chunk_array(arr, 5)))
208
208
 
209
209
  Output:
210
210
  ```py
211
- <generator object chunk_array at 0x734ca10440>
211
+ <generator object chunk_array at 0x700e3c4440>
212
212
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
213
213
  ```
214
214
 
@@ -270,9 +270,9 @@ print(datetime_now("Etc/GMT+7"))
270
270
 
271
271
  Output:
272
272
  ```py
273
- 2024-04-23 12:37:34.037749+07:00
274
- 2024-04-23 05:37:34.038666+00:00
275
- 2024-04-22 22:37:34.040126-07:00
273
+ 2024-04-23 12:41:20.880670+07:00
274
+ 2024-04-23 05:41:20.881117+00:00
275
+ 2024-04-22 22:41:20.881802-07:00
276
276
  ```
277
277
 
278
278
  ## dict_first
@@ -339,7 +339,7 @@ print(filter_empty(var))
339
339
 
340
340
  Output:
341
341
  ```py
342
- <generator object filter_empty at 0x734c9953f0>
342
+ <generator object filter_empty at 0x700e3453f0>
343
343
  ```
344
344
 
345
345
  ## get_class_method
@@ -368,8 +368,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
368
368
 
369
369
  Output:
370
370
  ```py
371
- <generator object get_class_method at 0x734c997100>
372
- [<function ExampleGetClassMethod.a at 0x734ca2cfe0>, <function ExampleGetClassMethod.b at 0x734ca2d260>, <function ExampleGetClassMethod.c at 0x734ca2d1c0>, <function ExampleGetClassMethod.d at 0x734ca2d120>]
371
+ <generator object get_class_method at 0x700e347100>
372
+ [<function ExampleGetClassMethod.a at 0x700e3e0fe0>, <function ExampleGetClassMethod.b at 0x700e3e1260>, <function ExampleGetClassMethod.c at 0x700e3e11c0>, <function ExampleGetClassMethod.d at 0x700e3e1120>]
373
373
  ```
374
374
 
375
375
  ## get_filemtime
@@ -747,9 +747,9 @@ Output:
747
747
  ```py
748
748
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
749
749
  [['Harga Emas Hari Ini - Selasa, 23 April 2024'],
750
- ['Spot Emas USD↓2.310,92 (-19,21) / oz',
750
+ ['Spot Emas USD↓2.309,06 (-21,07) / oz',
751
751
  'Kurs IDR↓16.224,00 (-56,00) / USD',
752
- 'Emas IDR↓1.205.408 (-14.215) / gr'],
752
+ 'Emas IDR↓1.204.437 (-15.186) / gr'],
753
753
  ['LM Antam (Jual)↓1.325.000 (-18.000) / gr',
754
754
  'LM Antam (Beli)↓1.223.000 (-15.000) / gr']],
755
755
  [['Harga Emas Hari Ini'],
@@ -820,10 +820,10 @@ Output:
820
820
  'Update harga LM Pegadaian :31 Agustus 2023']],
821
821
  [['Spot Harga Emas Hari Ini (Market Open)'],
822
822
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
823
- ['Ounce\xa0(oz)', '2.310,92 (-19,21)', '16.224,00 (-56,00)', '37.492.366'],
824
- ['Gram\xa0(gr)', '74,30', '16.224,00', '1.205.408 (-14.215)'],
825
- ['Kilogram\xa0(kg)', '74.297,80', '16.224,00', '1.205.407.561'],
826
- ['Update harga emas :23 April 2024, pukul 12:37Update kurs :23 April 2024, '
823
+ ['Ounce\xa0(oz)', '2.309,06 (-21,07)', '16.224,00 (-56,00)', '37.462.189'],
824
+ ['Gram\xa0(gr)', '74,24', '16.224,00', '1.204.437 (-15.186)'],
825
+ ['Kilogram\xa0(kg)', '74.238,00', '16.224,00', '1.204.437.360'],
826
+ ['Update harga emas :23 April 2024, pukul 12:41Update kurs :23 April 2024, '
827
827
  'pukul 09:10']],
828
828
  [['Gram', 'UBS Gold 99.99%'],
829
829
  ['Jual', 'Beli'],
@@ -869,36 +869,36 @@ Output:
869
869
  ['Unit', 'USD', 'IDR'],
870
870
  ['Angka', '+/-', 'Angka', '+/-'],
871
871
  ['Hari Ini', 'Kurs', '', '', '16.280', '-56-0,34%'],
872
- ['oz', '2.330,13', '-19,21-0,82%', '37.934.516', '-442.150-1,17%'],
873
- ['gr', '74,92', '-0,62-0,82%', '1.219.623', '-14.215-1,17%'],
872
+ ['oz', '2.330,13', '-21,07-0,90%', '37.934.516', '-472.327-1,25%'],
873
+ ['gr', '74,92', '-0,68-0,90%', '1.219.623', '-15.186-1,25%'],
874
874
  ['30 Hari', 'Kurs', '', '', '15.662', '+562+3,59%'],
875
- ['oz', '2.165,64', '+145,28+6,71%', '33.918.254', '+3.574.112+10,54%'],
876
- ['gr', '69,63', '+4,67+6,71%', '1.090.497', '+114.910+10,54%'],
875
+ ['oz', '2.165,64', '+143,42+6,62%', '33.918.254', '+3.543.936+10,45%'],
876
+ ['gr', '69,63', '+4,61+6,62%', '1.090.497', '+113.940+10,45%'],
877
877
  ['2 Bulan', 'Kurs', '', '', '15.630', '+594+3,80%'],
878
- ['oz', '2.038,19', '+272,73+13,38%', '31.856.910', '+5.635.456+17,69%'],
879
- ['gr', '65,53', '+8,77+13,38', '1.024.223', '+181.184+17,69%'],
878
+ ['oz', '2.038,19', '+270,87+13,29%', '31.856.910', '+5.605.280+17,60%'],
879
+ ['gr', '65,53', '+8,71+13,29', '1.024.223', '+180.214+17,60%'],
880
880
  ['6 Bulan', 'Kurs', '', '', '15.871', '+353+2,22%'],
881
- ['oz', '1.984,00', '+326,92+16,48%', '31.488.064', '+6.004.302+19,07%'],
882
- ['gr', '63,79', '+10,51+16,48%', '1.012.365', '+193.043+19,07%'],
881
+ ['oz', '1.984,00', '+325,06+16,38%', '31.488.064', '+5.974.125+18,97%'],
882
+ ['gr', '63,79', '+10,45+16,38%', '1.012.365', '+192.073+18,97%'],
883
883
  ['1 Tahun', 'Kurs', '', '', '15.731', '+493+3,13%'],
884
- ['oz', '1.823,86', '+487,06+26,70%', '28.691.142', '+8.801.224+30,68%'],
885
- ['gr', '58,64', '+15,66+26,70%', '922.442', '+282.966+30,68%'],
884
+ ['oz', '1.823,86', '+485,20+26,60%', '28.691.142', '+8.771.048+30,57%'],
885
+ ['gr', '58,64', '+15,60+26,60%', '922.442', '+281.996+30,57%'],
886
886
  ['2 Tahun', 'Kurs', '', '', '14.348', '+1.876+13,07%'],
887
- ['oz', '1.931,96', '+378,96+19,62%', '27.719.762', '+9.772.604+35,26%'],
888
- ['gr', '62,11', '+12,18+19,62%', '891.211', '+314.197+35,26%'],
887
+ ['oz', '1.931,96', '+377,10+19,52%', '27.719.762', '+9.742.427+35,15%'],
888
+ ['gr', '62,11', '+12,12+19,52%', '891.211', '+313.226+35,15%'],
889
889
  ['3 Tahun', 'Kurs', '', '', '14.530', '+1.694+11,66%'],
890
- ['oz', '1.777,11', '+533,81+30,04%', '25.821.408', '+11.670.958+45,20%'],
891
- ['gr', '57,14', '+17,16+30,04%', '830.178', '+375.230+45,20%'],
890
+ ['oz', '1.777,11', '+531,95+29,93%', '25.821.408', '+11.640.781+45,08%'],
891
+ ['gr', '57,14', '+17,10+29,93%', '830.178', '+374.260+45,08%'],
892
892
  ['5 Tahun', 'Kurs', '', '', '14.154', '+2.070+14,62%'],
893
- ['oz', '1.277,64', '+1.033,28+80,87%', '18.083.717', '+19.408.650+107,33%'],
894
- ['gr', '41,08', '+33,22+80,87%', '581.405', '+624.003+107,33%']])
893
+ ['oz', '1.277,64', '+1.031,42+80,73%', '18.083.717', '+19.378.473+107,16%'],
894
+ ['gr', '41,08', '+33,16+80,73%', '581.405', '+623.032+107,16%']])
895
895
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
896
896
  [[''],
897
897
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
898
- ['USD', '74,30↓', '-0,62-0,83%'],
899
- ['KURS', '16.234,50↓', '-11,85-0,07%'],
900
- ['IDR', '1.206.187,69↓', '-10.914,43-0,90%'],
901
- ['Selasa, 23 April 2024 12:37']],
898
+ ['USD', '74,24↓', '-0,68-0,91%'],
899
+ ['KURS', '16.233,90↓', '-12,45-0,08%'],
900
+ ['IDR', '1.205.172,32↓', '-11.929,80-0,98%'],
901
+ ['Selasa, 23 April 2024 12:41']],
902
902
  [[''],
903
903
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
904
904
  'Hari Ini',
@@ -909,19 +909,19 @@ Output:
909
909
  '']],
910
910
  [['Pergerakkan Harga Emas 1 Gram'],
911
911
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
912
- ['USD', '74,92', '74,30 - 74,92', '74,61'],
913
- ['KURS', '16.246,35', '16.234,50 - 16.246,35', '16.240,43'],
914
- ['IDR', '1.217.102,12', '1.206.187,69 - 1.217.102,12', '1.211.644,91'],
912
+ ['USD', '74,92', '74,24 - 74,92', '74,58'],
913
+ ['KURS', '16.246,35', '16.233,90 - 16.246,35', '16.240,13'],
914
+ ['IDR', '1.217.102,12', '1.205.172,32 - 1.217.102,12', '1.211.137,22'],
915
915
  [''],
916
916
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
917
- ['USD', '66,32', '64,07 - 77,14', '+7,98 (12,03%)'],
918
- ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+844,40 (5,49%)'],
919
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+185.458,16 (18,17%)'],
917
+ ['USD', '66,32', '64,07 - 77,14', '+7,92 (11,94%)'],
918
+ ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+843,80 (5,48%)'],
919
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+184.442,79 (18,07%)'],
920
920
  [''],
921
921
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
922
- ['USD', '63,76', '58,43 - 77,14', '+10,54 (16,53%)'],
923
- ['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.298,50 (8,69%)'],
924
- ['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+253.848,01 (26,66%)']])
922
+ ['USD', '63,76', '58,43 - 77,14', '+10,48 (16,44%)'],
923
+ ['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.297,90 (8,69%)'],
924
+ ['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+252.832,64 (26,55%)']])
925
925
  ```
926
926
 
927
927
  ## input_char
@@ -975,7 +975,7 @@ Output:
975
975
  ```py
976
976
  8
977
977
  ['mana', 'aja']
978
- [<Element a at 0x735b3c6440>, <Element a at 0x734ca69b30>, <Element a at 0x734ca69bd0>, <Element a at 0x734ca69c20>, <Element a at 0x734ca69c70>, <Element a at 0x734ca69cc0>, <Element a at 0x734ca69d10>, <Element a at 0x734ca69d60>, <Element a at 0x734ca69db0>, <Element a at 0x734ca69e00>, <Element a at 0x734ca69e50>, <Element a at 0x734ca69ea0>, <Element a at 0x734ca69ef0>, <Element a at 0x734ca69f40>, <Element a at 0x734ca69f90>, <Element a at 0x734ca69fe0>, <Element a at 0x734ca6a030>, <Element a at 0x734ca6a080>]
978
+ [<Element a at 0x702273dcc0>, <Element a at 0x700e41da40>, <Element a at 0x700e41dae0>, <Element a at 0x700e41db30>, <Element a at 0x700e41db80>, <Element a at 0x700e41dbd0>, <Element a at 0x700e41dc20>, <Element a at 0x700e41dc70>, <Element a at 0x700e41dcc0>, <Element a at 0x700e41dd10>, <Element a at 0x700e41dd60>, <Element a at 0x700e41ddb0>, <Element a at 0x700e41de00>, <Element a at 0x700e41de50>, <Element a at 0x700e41dea0>, <Element a at 0x700e41def0>, <Element a at 0x700e41df40>, <Element a at 0x700e41df90>]
979
979
  False
980
980
  ```
981
981
 
@@ -1016,8 +1016,8 @@ print(list(irange(10, 5)))
1016
1016
 
1017
1017
  Output:
1018
1018
  ```py
1019
- <generator object irange at 0x734c9ee8a0>
1020
- <generator object irange at 0x734c9ee8a0>
1019
+ <generator object irange at 0x700e3a28a0>
1020
+ <generator object irange at 0x700e3a28a0>
1021
1021
  ['a', 'k', 'u']
1022
1022
  [1, 2, 3, 4, 5, 6, 7]
1023
1023
  [10, 9, 8, 7, 6, 5]
@@ -1134,7 +1134,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1134
1134
 
1135
1135
  Output:
1136
1136
  ```py
1137
- <generator object iscandir at 0x734ca10840>
1137
+ <generator object iscandir at 0x700e3c4840>
1138
1138
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1139
1139
  ```
1140
1140
 
@@ -1156,7 +1156,7 @@ Output:
1156
1156
 
1157
1157
  ## ivars
1158
1158
 
1159
- `ivars(obj)`
1159
+ `ivars(obj, skip_underscore=True)`
1160
1160
 
1161
1161
  Membuat dictionary berdasarkan kategori untuk setiap
1162
1162
  member dari object.
@@ -1172,7 +1172,7 @@ Output:
1172
1172
  'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
1173
1173
  'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
1174
1174
  'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
1175
- 'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7351905950>)>,
1175
+ 'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x70181677d0>)>,
1176
1176
  'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
1177
1177
  'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
1178
1178
  'functools': <module 'functools' from '/data/data/com.termux/files/usr/lib/python3.11/functools.py'>,
@@ -1204,265 +1204,73 @@ Output:
1204
1204
  'RunParallel': <class 'pypipr.ibuiltins.RunParallel.RunParallel'>,
1205
1205
  'APIMixinView': <class 'pypipr.idjango.APIMixinView.APIMixinView'>,
1206
1206
  'PintUregQuantity': <class 'pint.Quantity'>},
1207
- 'function': {'avg': <function avg at 0x735b3bad40>,
1208
- 'basename': <function basename at 0x735b386a20>,
1209
- 'chunk_array': <function chunk_array at 0x7357fd0ae0>,
1210
- 'create_folder': <function create_folder at 0x7357fd0cc0>,
1211
- 'datetime_from_string': <function datetime_from_string at 0x7357fd0ea0>,
1212
- 'datetime_now': <function datetime_now at 0x7358053ba0>,
1213
- 'dict_first': <function dict_first at 0x7358053b00>,
1214
- 'dirname': <function dirname at 0x7358053a60>,
1215
- 'exit_if_empty': <function exit_if_empty at 0x7358053920>,
1216
- 'filter_empty': <function filter_empty at 0x73580767a0>,
1217
- 'get_class_method': <function get_class_method at 0x7358075b20>,
1218
- 'get_filemtime': <function get_filemtime at 0x73580759e0>,
1219
- 'get_filesize': <function get_filesize at 0x7358075800>,
1220
- 'get_from_index': <function get_from_index at 0x7358075620>,
1221
- 'is_empty': <function is_empty at 0x73580768e0>,
1222
- 'is_iterable': <function is_iterable at 0x7358075c60>,
1223
- 'is_valid_url': <function is_valid_url at 0x73580756c0>,
1224
- 'ivars': <function ivars at 0x73580753a0>,
1225
- 'password_generator': <function password_generator at 0x7358075300>,
1226
- 'random_bool': <function random_bool at 0x7358074f40>,
1227
- 'set_timeout': <function set_timeout at 0x73580772e0>,
1228
- 'sets_ordered': <function sets_ordered at 0x7358077420>,
1229
- 'str_cmp': <function str_cmp at 0x73580774c0>,
1230
- 'to_str': <function to_str at 0x7358075bc0>,
1231
- 'choices': <function choices at 0x7358077560>,
1232
- 'console_run': <function console_run at 0x73580777e0>,
1233
- 'input_char': <function input_char at 0x7358077920>,
1234
- 'log': <function log at 0x7358077b00>,
1235
- 'print_colorize': <function print_colorize at 0x7358077ba0>,
1236
- 'print_dir': <function print_dir at 0x7358077ce0>,
1237
- 'print_log': <function print_log at 0x73580779c0>,
1238
- 'print_to_last_line': <function print_to_last_line at 0x7358077740>,
1239
- 'text_colorize': <function text_colorize at 0x7358077880>,
1240
- 'batch_calculate': <function batch_calculate at 0x7350f41080>,
1241
- 'batchmaker': <function batchmaker at 0x7350f22480>,
1242
- 'calculate': <function calculate at 0x7350f41da0>,
1243
- 'auto_reload': <function auto_reload at 0x7350f41f80>,
1244
- 'github_pull': <function github_pull at 0x7350f41b20>,
1245
- 'github_push': <function github_push at 0x7350f42200>,
1246
- 'github_user': <function github_user at 0x7350f42520>,
1247
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7350c79a80>,
1248
- 'poetry_publish': <function poetry_publish at 0x7350c79c60>,
1249
- 'poetry_update_version': <function poetry_update_version at 0x7350c9e480>,
1250
- 'iargv': <function iargv at 0x734cbffba0>,
1251
- 'idumps': <function idumps at 0x734cc00360>,
1252
- 'idumps_html': <function idumps_html at 0x734cc64720>,
1253
- 'ienv': <function ienv at 0x734cbffe20>,
1254
- 'iexec': <function iexec at 0x734cc649a0>,
1255
- 'ijoin': <function ijoin at 0x7350c799e0>,
1256
- 'iloads': <function iloads at 0x734cc64a40>,
1257
- 'iloads_html': <function iloads_html at 0x734cc64cc0>,
1258
- 'iopen': <function iopen at 0x7350c79d00>,
1259
- 'iprint': <function iprint at 0x734cbffc40>,
1260
- 'irange': <function irange at 0x7350f41ee0>,
1261
- 'ireplace': <function ireplace at 0x734cc64b80>,
1262
- 'iscandir': <function iscandir at 0x734cc66980>,
1263
- 'isplit': <function isplit at 0x734cc66a20>},
1207
+ 'function': {'avg': <function avg at 0x7022732d40>,
1208
+ 'basename': <function basename at 0x70226fea20>,
1209
+ 'chunk_array': <function chunk_array at 0x701eed8ae0>,
1210
+ 'create_folder': <function create_folder at 0x701eed8cc0>,
1211
+ 'datetime_from_string': <function datetime_from_string at 0x701eed8ea0>,
1212
+ 'datetime_now': <function datetime_now at 0x701ef5bba0>,
1213
+ 'dict_first': <function dict_first at 0x701ef5bb00>,
1214
+ 'dirname': <function dirname at 0x701ef5ba60>,
1215
+ 'exit_if_empty': <function exit_if_empty at 0x701ef5b920>,
1216
+ 'filter_empty': <function filter_empty at 0x701ef7e7a0>,
1217
+ 'get_class_method': <function get_class_method at 0x701ef7db20>,
1218
+ 'get_filemtime': <function get_filemtime at 0x701ef7d9e0>,
1219
+ 'get_filesize': <function get_filesize at 0x701ef7d800>,
1220
+ 'get_from_index': <function get_from_index at 0x701ef7d620>,
1221
+ 'is_empty': <function is_empty at 0x701ef7e8e0>,
1222
+ 'is_iterable': <function is_iterable at 0x701ef7dc60>,
1223
+ 'is_valid_url': <function is_valid_url at 0x701ef7d6c0>,
1224
+ 'ivars': <function ivars at 0x701ef7d3a0>,
1225
+ 'password_generator': <function password_generator at 0x701ef7d300>,
1226
+ 'random_bool': <function random_bool at 0x701ef7cf40>,
1227
+ 'set_timeout': <function set_timeout at 0x701ef7f2e0>,
1228
+ 'sets_ordered': <function sets_ordered at 0x701ef7f420>,
1229
+ 'str_cmp': <function str_cmp at 0x701ef7f4c0>,
1230
+ 'to_str': <function to_str at 0x701ef7dbc0>,
1231
+ 'choices': <function choices at 0x701ef7f560>,
1232
+ 'console_run': <function console_run at 0x701ef7f7e0>,
1233
+ 'input_char': <function input_char at 0x701ef7f920>,
1234
+ 'log': <function log at 0x701ef7fb00>,
1235
+ 'print_colorize': <function print_colorize at 0x701ef7fba0>,
1236
+ 'print_dir': <function print_dir at 0x701ef7fce0>,
1237
+ 'print_log': <function print_log at 0x701ef7f9c0>,
1238
+ 'print_to_last_line': <function print_to_last_line at 0x701ef7f740>,
1239
+ 'text_colorize': <function text_colorize at 0x701ef7f880>,
1240
+ 'batch_calculate': <function batch_calculate at 0x701817d080>,
1241
+ 'batchmaker': <function batchmaker at 0x701815e480>,
1242
+ 'calculate': <function calculate at 0x701817dda0>,
1243
+ 'auto_reload': <function auto_reload at 0x701817df80>,
1244
+ 'github_pull': <function github_pull at 0x701817db20>,
1245
+ 'github_push': <function github_push at 0x701817e200>,
1246
+ 'github_user': <function github_user at 0x701817e520>,
1247
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7017eb5b20>,
1248
+ 'poetry_publish': <function poetry_publish at 0x7017eb5c60>,
1249
+ 'poetry_update_version': <function poetry_update_version at 0x7017eda480>,
1250
+ 'iargv': <function iargv at 0x700e5abba0>,
1251
+ 'idumps': <function idumps at 0x700e5ac360>,
1252
+ 'idumps_html': <function idumps_html at 0x700e610720>,
1253
+ 'ienv': <function ienv at 0x700e5abe20>,
1254
+ 'iexec': <function iexec at 0x700e6109a0>,
1255
+ 'ijoin': <function ijoin at 0x7017eb59e0>,
1256
+ 'iloads': <function iloads at 0x700e610a40>,
1257
+ 'iloads_html': <function iloads_html at 0x700e610cc0>,
1258
+ 'iopen': <function iopen at 0x7017eb5d00>,
1259
+ 'iprint': <function iprint at 0x700e5abc40>,
1260
+ 'irange': <function irange at 0x701817dee0>,
1261
+ 'ireplace': <function ireplace at 0x700e610b80>,
1262
+ 'iscandir': <function iscandir at 0x700e612980>,
1263
+ 'isplit': <function isplit at 0x700e612a20>},
1264
1264
  'property': {},
1265
1265
  'variable': {'LINUX': True,
1266
1266
  'WINDOWS': False,
1267
- 'PintUreg': <pint.registry.UnitRegistry object at 0x7351ac0750>},
1267
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x701efa3290>},
1268
1268
  'method': {},
1269
1269
  '__module__': {},
1270
1270
  '__class__': {},
1271
1271
  '__function__': {},
1272
1272
  '__property__': {},
1273
- '__variable__': {'__name__': 'pypipr',
1274
- '__doc__': None,
1275
- '__package__': 'pypipr',
1276
- '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x735b388950>,
1277
- '__spec__': ModuleSpec(name='pypipr', loader=<_frozen_importlib_external.SourceFileLoader object at 0x735b388950>, origin='/data/data/com.termux/files/home/pypipr/pypipr/__init__.py', submodule_search_locations=['/data/data/com.termux/files/home/pypipr/pypipr']),
1278
- '__path__': ['/data/data/com.termux/files/home/pypipr/pypipr'],
1279
- '__file__': '/data/data/com.termux/files/home/pypipr/pypipr/__init__.py',
1280
- '__cached__': '/data/data/com.termux/files/home/pypipr/pypipr/__pycache__/__init__.cpython-311.pyc',
1281
- '__builtins__': {'__name__': 'builtins',
1282
- '__doc__': 'Built-in functions, types, '
1283
- 'exceptions, and other objects.\n'
1284
- '\n'
1285
- 'This module provides direct '
1286
- "access to all 'built-in'\n"
1287
- 'identifiers of Python; for '
1288
- 'example, builtins.len is\n'
1289
- 'the full name for the built-in '
1290
- 'function len().\n'
1291
- '\n'
1292
- 'This module is not normally '
1293
- 'accessed explicitly by most\n'
1294
- 'applications, but can be useful '
1295
- 'in modules that provide\n'
1296
- 'objects with the same name as a '
1297
- 'built-in value, but in\n'
1298
- 'which the built-in of that name '
1299
- 'is also needed.',
1300
- '__package__': '',
1301
- '__loader__': <class '_frozen_importlib.BuiltinImporter'>,
1302
- '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'),
1303
- '__build_class__': <built-in function __build_class__>,
1304
- '__import__': <built-in function __import__>,
1305
- 'abs': <built-in function abs>,
1306
- 'all': <built-in function all>,
1307
- 'any': <built-in function any>,
1308
- 'ascii': <built-in function ascii>,
1309
- 'bin': <built-in function bin>,
1310
- 'breakpoint': <built-in function breakpoint>,
1311
- 'callable': <built-in function callable>,
1312
- 'chr': <built-in function chr>,
1313
- 'compile': <built-in function compile>,
1314
- 'delattr': <built-in function delattr>,
1315
- 'dir': <built-in function dir>,
1316
- 'divmod': <built-in function divmod>,
1317
- 'eval': <built-in function eval>,
1318
- 'exec': <built-in function exec>,
1319
- 'format': <built-in function format>,
1320
- 'getattr': <built-in function getattr>,
1321
- 'globals': <built-in function globals>,
1322
- 'hasattr': <built-in function hasattr>,
1323
- 'hash': <built-in function hash>,
1324
- 'hex': <built-in function hex>,
1325
- 'id': <built-in function id>,
1326
- 'input': <built-in function input>,
1327
- 'isinstance': <built-in function isinstance>,
1328
- 'issubclass': <built-in function issubclass>,
1329
- 'iter': <built-in function iter>,
1330
- 'aiter': <built-in function aiter>,
1331
- 'len': <built-in function len>,
1332
- 'locals': <built-in function locals>,
1333
- 'max': <built-in function max>,
1334
- 'min': <built-in function min>,
1335
- 'next': <built-in function next>,
1336
- 'anext': <built-in function anext>,
1337
- 'oct': <built-in function oct>,
1338
- 'ord': <built-in function ord>,
1339
- 'pow': <built-in function pow>,
1340
- 'print': <built-in function print>,
1341
- 'repr': <built-in function repr>,
1342
- 'round': <built-in function round>,
1343
- 'setattr': <built-in function setattr>,
1344
- 'sorted': <built-in function sorted>,
1345
- 'sum': <built-in function sum>,
1346
- 'vars': <built-in function vars>,
1347
- 'None': None,
1348
- 'Ellipsis': Ellipsis,
1349
- 'NotImplemented': NotImplemented,
1350
- 'False': False,
1351
- 'True': True,
1352
- 'bool': <class 'bool'>,
1353
- 'memoryview': <class 'memoryview'>,
1354
- 'bytearray': <class 'bytearray'>,
1355
- 'bytes': <class 'bytes'>,
1356
- 'classmethod': <class 'classmethod'>,
1357
- 'complex': <class 'complex'>,
1358
- 'dict': <class 'dict'>,
1359
- 'enumerate': <class 'enumerate'>,
1360
- 'filter': <class 'filter'>,
1361
- 'float': <class 'float'>,
1362
- 'frozenset': <class 'frozenset'>,
1363
- 'property': <class 'property'>,
1364
- 'int': <class 'int'>,
1365
- 'list': <class 'list'>,
1366
- 'map': <class 'map'>,
1367
- 'object': <class 'object'>,
1368
- 'range': <class 'range'>,
1369
- 'reversed': <class 'reversed'>,
1370
- 'set': <class 'set'>,
1371
- 'slice': <class 'slice'>,
1372
- 'staticmethod': <class 'staticmethod'>,
1373
- 'str': <class 'str'>,
1374
- 'super': <class 'super'>,
1375
- 'tuple': <class 'tuple'>,
1376
- 'type': <class 'type'>,
1377
- 'zip': <class 'zip'>,
1378
- '__debug__': True,
1379
- 'BaseException': <class 'BaseException'>,
1380
- 'BaseExceptionGroup': <class 'BaseExceptionGroup'>,
1381
- 'Exception': <class 'Exception'>,
1382
- 'GeneratorExit': <class 'GeneratorExit'>,
1383
- 'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
1384
- 'SystemExit': <class 'SystemExit'>,
1385
- 'ArithmeticError': <class 'ArithmeticError'>,
1386
- 'AssertionError': <class 'AssertionError'>,
1387
- 'AttributeError': <class 'AttributeError'>,
1388
- 'BufferError': <class 'BufferError'>,
1389
- 'EOFError': <class 'EOFError'>,
1390
- 'ImportError': <class 'ImportError'>,
1391
- 'LookupError': <class 'LookupError'>,
1392
- 'MemoryError': <class 'MemoryError'>,
1393
- 'NameError': <class 'NameError'>,
1394
- 'OSError': <class 'OSError'>,
1395
- 'ReferenceError': <class 'ReferenceError'>,
1396
- 'RuntimeError': <class 'RuntimeError'>,
1397
- 'StopAsyncIteration': <class 'StopAsyncIteration'>,
1398
- 'StopIteration': <class 'StopIteration'>,
1399
- 'SyntaxError': <class 'SyntaxError'>,
1400
- 'SystemError': <class 'SystemError'>,
1401
- 'TypeError': <class 'TypeError'>,
1402
- 'ValueError': <class 'ValueError'>,
1403
- 'Warning': <class 'Warning'>,
1404
- 'FloatingPointError': <class 'FloatingPointError'>,
1405
- 'OverflowError': <class 'OverflowError'>,
1406
- 'ZeroDivisionError': <class 'ZeroDivisionError'>,
1407
- 'BytesWarning': <class 'BytesWarning'>,
1408
- 'DeprecationWarning': <class 'DeprecationWarning'>,
1409
- 'EncodingWarning': <class 'EncodingWarning'>,
1410
- 'FutureWarning': <class 'FutureWarning'>,
1411
- 'ImportWarning': <class 'ImportWarning'>,
1412
- 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
1413
- 'ResourceWarning': <class 'ResourceWarning'>,
1414
- 'RuntimeWarning': <class 'RuntimeWarning'>,
1415
- 'SyntaxWarning': <class 'SyntaxWarning'>,
1416
- 'UnicodeWarning': <class 'UnicodeWarning'>,
1417
- 'UserWarning': <class 'UserWarning'>,
1418
- 'BlockingIOError': <class 'BlockingIOError'>,
1419
- 'ChildProcessError': <class 'ChildProcessError'>,
1420
- 'ConnectionError': <class 'ConnectionError'>,
1421
- 'FileExistsError': <class 'FileExistsError'>,
1422
- 'FileNotFoundError': <class 'FileNotFoundError'>,
1423
- 'InterruptedError': <class 'InterruptedError'>,
1424
- 'IsADirectoryError': <class 'IsADirectoryError'>,
1425
- 'NotADirectoryError': <class 'NotADirectoryError'>,
1426
- 'PermissionError': <class 'PermissionError'>,
1427
- 'ProcessLookupError': <class 'ProcessLookupError'>,
1428
- 'TimeoutError': <class 'TimeoutError'>,
1429
- 'IndentationError': <class 'IndentationError'>,
1430
- 'IndexError': <class 'IndexError'>,
1431
- 'KeyError': <class 'KeyError'>,
1432
- 'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
1433
- 'NotImplementedError': <class 'NotImplementedError'>,
1434
- 'RecursionError': <class 'RecursionError'>,
1435
- 'UnboundLocalError': <class 'UnboundLocalError'>,
1436
- 'UnicodeError': <class 'UnicodeError'>,
1437
- 'BrokenPipeError': <class 'BrokenPipeError'>,
1438
- 'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
1439
- 'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
1440
- 'ConnectionResetError': <class 'ConnectionResetError'>,
1441
- 'TabError': <class 'TabError'>,
1442
- 'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
1443
- 'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
1444
- 'UnicodeTranslateError': <class 'UnicodeTranslateError'>,
1445
- 'ExceptionGroup': <class 'ExceptionGroup'>,
1446
- 'EnvironmentError': <class 'OSError'>,
1447
- 'IOError': <class 'OSError'>,
1448
- 'open': <built-in function open>,
1449
- 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
1450
- 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
1451
- 'copyright': Copyright (c) 2001-2023 Python Software Foundation.
1452
- All Rights Reserved.
1453
-
1454
- Copyright (c) 2000 BeOpen.com.
1455
- All Rights Reserved.
1456
-
1457
- Copyright (c) 1995-2001 Corporation for National Research Initiatives.
1458
- All Rights Reserved.
1459
-
1460
- Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
1461
- All Rights Reserved.,
1462
- 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
1463
- for supporting Python development. See www.python.org for more information.,
1464
- 'license': Type license() to see the full license text,
1465
- 'help': Type help() for interactive help, or help(object) for help about object.}},
1273
+ '__variable__': {},
1466
1274
  '__method__': {}}
1467
1275
  ```
1468
1276
 
@@ -1505,7 +1313,7 @@ print(password_generator())
1505
1313
 
1506
1314
  Output:
1507
1315
  ```py
1508
- Stkt|aol
1316
+ AJc4[N|"
1509
1317
  ```
1510
1318
 
1511
1319
  ## pip_freeze_without_version
@@ -1574,7 +1382,7 @@ Output:
1574
1382
  __enter__ : https:/www.google.com
1575
1383
  __fspath__ : https:/www.google.com
1576
1384
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1577
- __hash__ : -8453991955770773482
1385
+ __hash__ : 2559351135473141218
1578
1386
  __init__ : None
1579
1387
  __init_subclass__ : None
1580
1388
  __module__ : pathlib
@@ -1587,8 +1395,8 @@ Output:
1587
1395
  _cached_cparts : ['https:', 'www.google.com']
1588
1396
  _cparts : ['https:', 'www.google.com']
1589
1397
  _drv :
1590
- _flavour : <pathlib._PosixFlavour object at 0x735bd08d10>
1591
- _hash : -8453991955770773482
1398
+ _flavour : <pathlib._PosixFlavour object at 0x701ef47ed0>
1399
+ _hash : 2559351135473141218
1592
1400
  _parts : ['https:', 'www.google.com']
1593
1401
  _root :
1594
1402
  _str : https:/www.google.com
@@ -1610,7 +1418,7 @@ Output:
1610
1418
  is_reserved : False
1611
1419
  is_socket : False
1612
1420
  is_symlink : False
1613
- iterdir : <generator object Path.iterdir at 0x734ca1a6c0>
1421
+ iterdir : <generator object Path.iterdir at 0x700e3ce6c0>
1614
1422
  joinpath : https:/www.google.com
1615
1423
  name : www.google.com
1616
1424
  parent : https:
@@ -1671,7 +1479,7 @@ print(random_bool())
1671
1479
 
1672
1480
  Output:
1673
1481
  ```py
1674
- False
1482
+ True
1675
1483
  ```
1676
1484
 
1677
1485
  ## set_timeout
@@ -1693,7 +1501,7 @@ x.cancel()
1693
1501
 
1694
1502
  Output:
1695
1503
  ```py
1696
- <Timer(Thread-2, started 495177415920)>
1504
+ <Timer(Thread-2, started 481246035184)>
1697
1505
  menghentikan timeout 7
1698
1506
  ```
1699
1507
 
@@ -1711,7 +1519,7 @@ print(list(sets_ordered(array)))
1711
1519
 
1712
1520
  Output:
1713
1521
  ```py
1714
- <generator object sets_ordered at 0x734ca34790>
1522
+ <generator object sets_ordered at 0x700e3f4790>
1715
1523
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1716
1524
  ```
1717
1525
 
@@ -1820,7 +1628,7 @@ print(ExampleComparePerformance().compare_performance())
1820
1628
 
1821
1629
  Output:
1822
1630
  ```py
1823
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x734ca34380>,
1631
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x700e3f4380>,
1824
1632
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
1825
1633
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
1826
1634
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
@@ -21,7 +21,7 @@ pypipr/ibuiltins/get_from_index.py,sha256=Mylo_-BX637qXzcuXiJlmodGFQG1bWyphfIwaF
21
21
  pypipr/ibuiltins/is_empty.py,sha256=eqsH6ATuuOLVVSpIsV_8zTBBibPrWjESu9LCMAv8YyY,683
22
22
  pypipr/ibuiltins/is_iterable.py,sha256=VCzLfFZyQO5qF2wFTVbuZIxyf4BVkflWiRQaOjd9kFs,922
23
23
  pypipr/ibuiltins/is_valid_url.py,sha256=g72vv4_9Zy8dtT0i1JvToRX-mgCzojQCBVHdO1KDwqo,1008
24
- pypipr/ibuiltins/ivars.py,sha256=MZ648PB6bA4tM9TMxcHY8pWURtWNq2dr1SAIFlRRW4M,1135
24
+ pypipr/ibuiltins/ivars.py,sha256=OpyA4qUEqsjDv3qNCAekGo2e5i9nhSPol_vhKdoPWmk,1212
25
25
  pypipr/ibuiltins/password_generator.py,sha256=NnFAYkAr6kZiED4JZIJ15_VeGWSpBCCy9rSA5Re_CW4,496
26
26
  pypipr/ibuiltins/random_bool.py,sha256=99kM1fy7figeG5mZhbPzQ3FFzV47Jxg1aPImF78298E,405
27
27
  pypipr/ibuiltins/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
@@ -70,7 +70,7 @@ pypipr/ifunctions/iscandir.py,sha256=Ev6jus16vOXdNTN9Ia-_35ESplx7N_ZWA0kYoeimXbk
70
70
  pypipr/ifunctions/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
71
71
  pypipr/pypipr.py.bak,sha256=HF-ehQd6BY8hm9fRkQHravLNrJRlI5g_AzbCc3dbikQ,1061
72
72
  pypipr/terminal.py,sha256=XhZz9lntVfRHEs6P7rOjJ688ukw_Xnrht8mbqcAR8QY,1745
73
- pypipr-1.0.82.dist-info/METADATA,sha256=SVldVuv_YhyMwQa-lCV2TBrga2-RfUGHID3QasVwlKI,63913
74
- pypipr-1.0.82.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
75
- pypipr-1.0.82.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
76
- pypipr-1.0.82.dist-info/RECORD,,
73
+ pypipr-1.0.83.dist-info/METADATA,sha256=5-T7lpAlfpVNo2uu1VDMyr6FQ5Rl_2QkwONOM2ES5ls,49897
74
+ pypipr-1.0.83.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
75
+ pypipr-1.0.83.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
76
+ pypipr-1.0.83.dist-info/RECORD,,