pypipr 1.0.154__py3-none-any.whl → 1.0.155__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.
@@ -40,6 +40,11 @@ class ComparePerformance:
40
40
  def get_all_instance_methods(self):
41
41
  c = set(dir(__class__))
42
42
  t = (x for x in dir(self) if x not in c)
43
+ a = []
44
+ for x in t:
45
+ if callable(getattr(self, x)) and not x.startswith("_"):
46
+ a.append(x)
47
+ return a
43
48
  return tuple(
44
49
  x for x in t if callable(getattr(self, x)) and not x.startswith("_")
45
50
  )
pypipr/RunParallel.py CHANGED
@@ -108,13 +108,20 @@ class RunParallel:
108
108
  def get_all_instance_methods(self, coroutine):
109
109
  c = set(dir(__class__))
110
110
  t = (x for x in dir(self) if x not in c)
111
- return tuple(
112
- a
113
- for x in t
114
- if callable(a := getattr(self, x))
115
- and not x.startswith("_")
116
- and asyncio.iscoroutinefunction(a) == coroutine
117
- )
111
+ r = []
112
+ for x in t:
113
+ if not x.startswith("_"):
114
+ a = getattr(self, x)
115
+ if callable(a) and asyncio.iscoroutinefunction(a) == coroutine:
116
+ r.append(a)
117
+ return r
118
+ # return tuple(
119
+ # a
120
+ # for x in t
121
+ # if callable(a := getattr(self, x))
122
+ # and not x.startswith("_")
123
+ # and asyncio.iscoroutinefunction(a) == coroutine
124
+ # )
118
125
 
119
126
  def run_asyncio(self):
120
127
  m = self.get_all_instance_methods(coroutine=True)
@@ -143,9 +150,13 @@ class RunParallel:
143
150
  def module_threading(self, *args):
144
151
  a = tuple(dict() for _ in args)
145
152
  q = queue.Queue()
146
- r = tuple(
147
- threading.Thread(target=v, args=(a[i], q)) for i, v in enumerate(args)
148
- )
153
+ r = []
154
+ for i, v in enumerate(args):
155
+ t = threading.Thread(target=v, args=(a[i], q))
156
+ r.append(t)
157
+ # r = tuple(
158
+ # threading.Thread(target=v, args=(a[i], q)) for i, v in enumerate(args)
159
+ # )
149
160
  for i in r:
150
161
  i.start()
151
162
  for i in r:
@@ -156,10 +167,14 @@ class RunParallel:
156
167
  m = multiprocessing.Manager()
157
168
  q = m.Queue()
158
169
  a = tuple(m.dict() for _ in args)
159
- r = tuple(
160
- multiprocessing.Process(target=v, args=(a[i], q))
161
- for i, v in enumerate(args)
162
- )
170
+ r = []
171
+ for i, v in enumerate(args):
172
+ t = multiprocessing.Process(target=v, args=(a[i], q))
173
+ r.append(t)
174
+ # r = tuple(
175
+ # multiprocessing.Process(target=v, args=(a[i], q))
176
+ # for i, v in enumerate(args)
177
+ # )
163
178
  for i in r:
164
179
  i.start()
165
180
  for i in r:
pypipr/__init__.py CHANGED
@@ -54,6 +54,7 @@ from .iprint import iprint
54
54
  from .irange import irange
55
55
  from .ireplace import ireplace
56
56
  from .is_empty import is_empty
57
+ from .is_html import is_html
57
58
  from .is_iterable import is_iterable
58
59
  from .is_raw_string import is_raw_string
59
60
  from .is_valid_url import is_valid_url
pypipr/batchmaker.py CHANGED
@@ -32,7 +32,7 @@ def batchmaker(pattern: str):
32
32
  find = s.group()
33
33
  start, finish, step = s.groups()
34
34
 
35
- for i in irange(start, finish, step):
35
+ for i in irange(start, finish, step, outer=True):
36
36
  r = pattern.replace(find, str(i), 1)
37
37
  yield from batchmaker(r)
38
38
 
pypipr/choices.py CHANGED
@@ -3,8 +3,8 @@ from .input_char import input_char
3
3
  from .print_colorize import print_colorize
4
4
 
5
5
 
6
- def print_choices(l):
7
- for i, v in enumerate(l):
6
+ def print_choices(lists):
7
+ for i, v in enumerate(lists):
8
8
  print(f"{i}. {v}")
9
9
 
10
10
 
@@ -22,10 +22,17 @@ def convert_to_str(daftar):
22
22
 
23
23
 
24
24
  def filter_choices(contains, daftar):
25
+ r = []
25
26
  if contains.isdigit():
26
- daftar = [v for i, v in enumerate(daftar) if contains in str(i)]
27
+ for i, v in enumerate(daftar):
28
+ if contains in str(i):
29
+ r.append(v)
30
+ # daftar = [v for i, v in enumerate(daftar) if contains in str(i)]
27
31
  else:
28
- daftar = [v for v in daftar if contains in v]
32
+ for v in daftar:
33
+ if contains in v:
34
+ r.append(v)
35
+ # daftar = [v for v in daftar if contains in v]
29
36
  return daftar
30
37
 
31
38
 
pypipr/irange.py CHANGED
@@ -2,42 +2,47 @@ from .chr_to_int import chr_to_int
2
2
  from .int_to_chr import int_to_chr
3
3
 
4
4
 
5
- def int_range(start, stop, step, index, number):
5
+ def int_range(start, stop, step, index, number, outer):
6
6
  start = int_int(start)
7
7
  stop = int_int(stop)
8
8
  step = fix_step(start, stop, step)
9
+ stop = fix_stop(stop, step, outer)
9
10
  for i in range(start, stop, step):
10
11
  yield i
11
12
 
12
13
 
13
- def oct_range(start, stop, step, index, number):
14
+ def oct_range(start, stop, step, index, number, outer):
14
15
  start = oct_oct(start)
15
16
  stop = oct_oct(stop)
16
17
  step = fix_step(start, stop, step)
18
+ stop = fix_stop(stop, step, outer)
17
19
  for i in range(start, stop, step):
18
20
  yield oct(i)
19
21
 
20
22
 
21
- def hex_range(start, stop, step, index, number):
23
+ def hex_range(start, stop, step, index, number, outer):
22
24
  start = hex_hex(start)
23
25
  stop = hex_hex(stop)
24
26
  step = fix_step(start, stop, step)
27
+ stop = fix_stop(stop, step, outer)
25
28
  for i in range(start, stop, step):
26
29
  yield hex(i)
27
30
 
28
31
 
29
- def bin_range(start, stop, step, index, number):
32
+ def bin_range(start, stop, step, index, number, outer):
30
33
  start = bin_bin(start)
31
34
  stop = bin_bin(stop)
32
35
  step = fix_step(start, stop, step)
36
+ stop = fix_stop(stop, step, outer)
33
37
  for i in range(start, stop, step):
34
38
  yield bin(i)
35
39
 
36
40
 
37
- def chr_range(start, stop, step, index, numbers):
41
+ def chr_range(start, stop, step, index, numbers, outer):
38
42
  start = chr_chr(start, index, numbers)
39
43
  stop = chr_chr(stop, index, numbers)
40
44
  step = fix_step(start, stop, step)
45
+ stop = fix_stop(stop, step, outer)
41
46
  for i in range(start, stop, step):
42
47
  yield int_to_chr(i, start=index, numbers=numbers)
43
48
 
@@ -53,7 +58,7 @@ irange_numbers = [
53
58
  ]
54
59
 
55
60
 
56
- def irange(start, stop=None, step=None, index=0, numbers=None):
61
+ def irange(start, stop=None, step=None, index=0, numbers=None, outer=False):
57
62
  """
58
63
  Meningkatkan fungsi range() dari python untuk pengulangan menggunakan huruf
59
64
 
@@ -73,7 +78,7 @@ def irange(start, stop=None, step=None, index=0, numbers=None):
73
78
  start, stop, step = fix_args_position(start, stop, step)
74
79
 
75
80
  if numbers is not None:
76
- return chr_range(start, stop, step, index, numbers)
81
+ return chr_range(start, stop, step, index, numbers, outer)
77
82
 
78
83
  start = str(start) if start is not None else ""
79
84
  stop = str(stop) if stop is not None else ""
@@ -83,7 +88,7 @@ def irange(start, stop=None, step=None, index=0, numbers=None):
83
88
  if s not in n:
84
89
  break
85
90
  else:
86
- return f(start, stop, step, index, n)
91
+ return f(start, stop, step, index, n, outer)
87
92
 
88
93
  raise Exception("start dan stop tidak diketahui")
89
94
 
@@ -123,3 +128,9 @@ def fix_step(start, stop, step):
123
128
  if stop < start:
124
129
  step = step * -1
125
130
  return step
131
+
132
+
133
+ def fix_stop(stop, step, outer):
134
+ if outer:
135
+ stop += step
136
+ return stop
pypipr/is_html.py ADDED
@@ -0,0 +1,7 @@
1
+ import re
2
+
3
+ html_pattern = re.compile(r"<([a-zA-Z]+)([^<]+)*(?:>(.*)<\/\1>|\s+\/>)")
4
+
5
+
6
+ def is_html(text):
7
+ return bool(html_pattern.search(text))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.154
3
+ Version: 1.0.155
4
4
  Summary: The Python Package Index Project
5
5
  Author: ufiapjj
6
6
  Author-email: ufiapjj@gmail.com
@@ -229,7 +229,7 @@ kmd
229
229
 
230
230
  ## irange
231
231
 
232
- `irange(start, stop=None, step=None, index=0, numbers=None)`
232
+ `irange(start, stop=None, step=None, index=0, numbers=None, outer=False)`
233
233
 
234
234
  Meningkatkan fungsi range() dari python untuk pengulangan menggunakan huruf
235
235
 
@@ -248,8 +248,8 @@ iprint(irange("z", "a", 4))
248
248
 
249
249
  Output:
250
250
  ```py
251
- <generator object int_range at 0x73f2e7ac40>
252
- <generator object int_range at 0x73f2e7ac40>
251
+ <generator object int_range at 0x7060e2e9b0>
252
+ <generator object int_range at 0x7060e2e9b0>
253
253
  [13, 12, 11, 10, 9, 8, 7, 6]
254
254
  [2, 5, 8]
255
255
  [2, 5, 8]
@@ -281,8 +281,8 @@ print(list(batchmaker(s)))
281
281
 
282
282
  Output:
283
283
  ```py
284
- <generator object batchmaker at 0x73f2ddad40>
285
- ['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.']
284
+ <generator object batchmaker at 0x7060d9ae60>
285
+ ['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan j dan saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 10 dan k dan saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan j dan saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 1 dan 9 dan k dan saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 10 dan k dan saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan j dan saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.', 'Urutan 4 dan 9 dan k dan saja.', 'Urutan 7 dan 10 dan j dan Z saja.', 'Urutan 7 dan 10 dan j dan K saja.', 'Urutan 7 dan 10 dan j dan saja.', 'Urutan 7 dan 10 dan k dan Z saja.', 'Urutan 7 dan 10 dan k dan K saja.', 'Urutan 7 dan 10 dan k dan saja.', 'Urutan 7 dan 9 dan j dan Z saja.', 'Urutan 7 dan 9 dan j dan K saja.', 'Urutan 7 dan 9 dan j dan saja.', 'Urutan 7 dan 9 dan k dan Z saja.', 'Urutan 7 dan 9 dan k dan K saja.', 'Urutan 7 dan 9 dan k dan saja.']
286
286
  ```
287
287
 
288
288
  ## calculate
@@ -335,8 +335,8 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
335
335
 
336
336
  Output:
337
337
  ```py
338
- <generator object batch_calculate at 0x73f2b707c0>
339
- [('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')>)]
338
+ <generator object batch_calculate at 0x7060b40a90>
339
+ [('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')>)]
340
340
  ```
341
341
 
342
342
  ## bin_to_int
@@ -441,7 +441,7 @@ print(list(chunk_array(arr, 5)))
441
441
 
442
442
  Output:
443
443
  ```py
444
- <generator object chunk_array at 0x73f2e7ad40>
444
+ <generator object chunk_array at 0x7060e42840>
445
445
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
446
446
  ```
447
447
 
@@ -492,9 +492,9 @@ print(datetime_now("Etc/GMT+7"))
492
492
 
493
493
  Output:
494
494
  ```py
495
- 2024-08-12 17:42:26.339190+07:00
496
- 2024-08-12 10:42:26.339998+00:00
497
- 2024-08-12 03:42:26.343401-07:00
495
+ 2024-09-29 19:12:39.925455+07:00
496
+ 2024-09-29 12:12:39.926459+00:00
497
+ 2024-09-29 05:12:39.930103-07:00
498
498
  ```
499
499
 
500
500
  ## dict_first
@@ -604,7 +604,7 @@ iprint(filter_empty(var))
604
604
 
605
605
  Output:
606
606
  ```py
607
- <generator object filter_empty at 0x73f2b704f0>
607
+ <generator object filter_empty at 0x7060b407c0>
608
608
  [1, '0', True, {}, ['eee']]
609
609
  ```
610
610
 
@@ -651,8 +651,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
651
651
 
652
652
  Output:
653
653
  ```py
654
- <generator object get_class_method at 0x73f2b70a90>
655
- [<function ExampleGetClassMethod.a at 0x73f2b8a840>, <function ExampleGetClassMethod.b at 0x73f2b8a8e0>, <function ExampleGetClassMethod.c at 0x73f2b8aa20>, <function ExampleGetClassMethod.d at 0x73f2b8aac0>]
654
+ <generator object get_class_method at 0x7060b40d60>
655
+ [<function ExampleGetClassMethod.a at 0x7060b5ee80>, <function ExampleGetClassMethod.b at 0x7060b5ede0>, <function ExampleGetClassMethod.c at 0x7060b5efc0>, <function ExampleGetClassMethod.d at 0x7060b5f060>]
656
656
  ```
657
657
 
658
658
  ## get_filesize
@@ -828,6 +828,7 @@ Output:
828
828
  'irange',
829
829
  'ireplace',
830
830
  'is_empty',
831
+ 'is_html',
831
832
  'is_iterable',
832
833
  'is_raw_string',
833
834
  'is_valid_url',
@@ -1073,7 +1074,7 @@ Output:
1073
1074
 
1074
1075
  ## ienumerate
1075
1076
 
1076
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x73f44feb60>)`
1077
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7066dd2e80>)`
1077
1078
 
1078
1079
  meningkatkan fungsi enumerate() pada python
1079
1080
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1086,7 +1087,7 @@ iprint(ienumerate(it, key=int_to_chr))
1086
1087
 
1087
1088
  Output:
1088
1089
  ```py
1089
- <generator object ienumerate at 0x73f2b70b80>
1090
+ <generator object ienumerate at 0x7060b40e50>
1090
1091
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1091
1092
  ```
1092
1093
 
@@ -1153,7 +1154,7 @@ print(ijoin(10, ' '))
1153
1154
 
1154
1155
  Output:
1155
1156
  ```py
1156
- weq, asd, qweqw, dfs
1157
+ asd, weq, qweqw, dfs
1157
1158
  ,ini,path,seperti,url,
1158
1159
  ini,path,seperti,url
1159
1160
  <li>satu</li>
@@ -1198,78 +1199,62 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
1198
1199
  Output:
1199
1200
  ```py
1200
1201
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1201
- [['Harga Emas Hari Ini - Senin, 12 Agustus 2024'],
1202
- ['Spot Emas USD↑2.444,18 (+13,08) / oz',
1203
- 'Kurs IDR↓15.914,00 (-38,00) / USD',
1204
- 'Emas IDR↑1.250.557 (+3.722) / gr'],
1205
- ['LM Antam (Jual)1.401.000 / gr', 'LM Antam (Beli)1.253.000 / gr']],
1202
+ [['Harga Emas Hari Ini - Minggu, 29 September 2024'],
1203
+ ['Spot Emas USD↑2.658,34 (+5,84) / oz',
1204
+ 'Kurs IDR15.171,00 / USD',
1205
+ 'Emas IDR↑1.296.629 (+2.849) / gr'],
1206
+ ['LM Antam (Jual)1.461.000 / gr', 'LM Antam (Beli)1.301.000 / gr']],
1206
1207
  [['Harga Emas Hari Ini'],
1207
1208
  ['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
1208
1209
  ['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
1209
1210
  ['1000',
1210
- '1.342',
1211
- '1.341.600',
1211
+ '1.402',
1212
+ '1.401.600',
1212
1213
  '1.043.040 (+8.200)',
1213
1214
  '1.043.040.000 (+8.200.000)'],
1214
1215
  ['500',
1215
- '2.683',
1216
- '1.341.640',
1216
+ '2.803',
1217
+ '1.401.640',
1217
1218
  '1.043.082 (+8.200)',
1218
1219
  '521.541.000 (+4.100.000)'],
1219
1220
  ['250',
1220
- '5.368',
1221
- '1.342.060',
1221
+ '5.608',
1222
+ '1.402.060',
1222
1223
  '1.043.512 (+8.200)',
1223
1224
  '260.878.000 (+2.050.000)'],
1224
1225
  ['100',
1225
- '13.431',
1226
- '1.343.120',
1226
+ '14.031',
1227
+ '1.403.120',
1227
1228
  '1.044.600 (+8.200)',
1228
1229
  '104.460.000 (+820.000)'],
1229
- ['50', '26.878', '1.343.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1230
- ['25', '53.819', '1.345.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1231
- ['10', '135.050', '1.350.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1232
- ['5', '271.200', '1.356.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1233
- ['3', '454.222', '1.362.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1234
- ['2', '685.500', '1.371.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1235
- ['1', '1.401.000', '1.401.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1236
- ['0.5', '3.002.000', '1.501.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1237
- ['Update harga LM Antam :12 Agustus 2024, pukul 07:56Harga pembelian kembali '
1238
- ':Rp. 1.253.000/gram',
1230
+ ['50', '28.078', '1.403.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1231
+ ['25', '56.219', '1.405.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1232
+ ['10', '141.050', '1.410.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1233
+ ['5', '283.200', '1.416.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1234
+ ['3', '474.222', '1.422.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1235
+ ['2', '715.500', '1.431.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1236
+ ['1', '1.461.000', '1.461.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1237
+ ['0.5', '3.122.000', '1.561.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1238
+ ['Update harga LM Antam :29 September 2024, pukul 07:14Harga pembelian '
1239
+ 'kembali :Rp. 1.301.000/gram',
1239
1240
  'Update harga LM Pegadaian :31 Agustus 2023']],
1240
- [['Spot Harga Emas Hari Ini (Market Open)'],
1241
+ [['Spot Harga Emas Hari Ini (Market Close)'],
1241
1242
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1242
- ['Ounce\xa0(oz)', '2.444,18 (+13,08)', '15.914,00 (-38,00)', '38.896.681'],
1243
- ['Gram\xa0(gr)', '78,58', '15.914,00', '1.250.557 (+3.722)'],
1244
- ['Kilogram\xa0(kg)', '78.582,21', '15.914,00', '1.250.557.319'],
1245
- ['Update harga emas :12 Agustus 2024, pukul 17:42Update kurs :12 Agustus '
1243
+ ['Ounce\xa0(oz)', '2.658,34 (+5,84)', '15.171,00', '40.329.676'],
1244
+ ['Gram\xa0(gr)', '85,47', '15.171,00', '1.296.629 (+2.849)'],
1245
+ ['Kilogram\xa0(kg)', '85.467,62', '15.171,00', '1.296.629.198'],
1246
+ ['Update harga emas :29 September 2024, pukul 19:12Update kurs :29 September '
1246
1247
  '2024, pukul 13:10']],
1247
1248
  [['Gram', 'UBS Gold 99.99%'],
1248
1249
  ['Jual', 'Beli'],
1249
1250
  ['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
1250
- ['100',
1251
- '135.800.000',
1252
- '1.358.000',
1253
- '128.998.000 (+400.000)',
1254
- '1.289.980 (+4.000)'],
1255
- ['50',
1256
- '68.150.000',
1257
- '1.363.000',
1258
- '64.549.000 (+200.000)',
1259
- '1.290.980 (+4.000)'],
1260
- ['25',
1261
- '34.100.000',
1262
- '1.364.000',
1263
- '32.373.500 (+100.000)',
1264
- '1.294.940 (+4.000)'],
1265
- ['10',
1266
- '13.720.000',
1267
- '1.372.000',
1268
- '13.008.000 (+40.000)',
1269
- '1.300.800 (+4.000)'],
1270
- ['5', '6.885.000', '1.377.000', '6.559.000 (+20.000)', '1.311.800 (+4.000)'],
1271
- ['1', '1.411.000', '1.411.000', '1.343.000 (+4.000)', '1.343.000 (+4.000)'],
1272
- ['', 'Update :12 Agustus 2024, pukul 13:38']],
1251
+ ['100', '139.900.000', '1.399.000', '132.707.000', '1.327.070'],
1252
+ ['50', '70.100.000', '1.402.000', '66.401.500', '1.328.030'],
1253
+ ['25', '35.100.000', '1.404.000', '33.300.800', '1.332.032'],
1254
+ ['10', '14.100.000', '1.410.000', '13.399.000', '1.339.900'],
1255
+ ['5', '7.070.000', '1.414.000', '6.754.500', '1.350.900'],
1256
+ ['1', '1.460.000', '1.460.000', '1.382.100', '1.382.100'],
1257
+ ['', 'Update :27 September 2024, pukul 11:45']],
1273
1258
  [['Konversi Satuan'],
1274
1259
  ['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
1275
1260
  ['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
@@ -1279,37 +1264,37 @@ Output:
1279
1264
  ['Waktu', 'Emas'],
1280
1265
  ['Unit', 'USD', 'IDR'],
1281
1266
  ['Angka', '+/-', 'Angka', '+/-'],
1282
- ['Hari Ini', 'Kurs', '', '', '15.952', '-38-0,24%'],
1283
- ['oz', '2.431,10', '+13,08+0,54%', '38.780.907', '+115.773+0,30%'],
1284
- ['gr', '78,16', '+0,42+0,54%', '1.246.835', '+3.722+0,30%'],
1285
- ['30 Hari', 'Kurs', '', '', '16.200', '-286-1,77%'],
1286
- ['oz', '2.411,67', '+32,51+1,35%', '39.069.054', '-172.373-0,44%'],
1287
- ['gr', '77,54', '+1,05+1,35%', '1.256.099', '-5.542-0,44%'],
1288
- ['2 Bulan', 'Kurs', '', '', '16.297', '-383-2,35%'],
1289
- ['oz', '2.299,22', '+144,96+6,30%', '37.470.388', '+1.426.292+3,81%'],
1290
- ['gr', '73,92', '+4,66+6,30', '1.204.701', '+45.856+3,81%'],
1291
- ['6 Bulan', 'Kurs', '', '', '15.612', '+302+1,93%'],
1292
- ['oz', '1.992,82', '+451,36+22,65%', '31.111.906', '+7.784.775+25,02%'],
1293
- ['gr', '64,07', '+14,51+22,65%', '1.000.271', '+250.286+25,02%'],
1294
- ['1 Tahun', 'Kurs', '', '', '15.731', '+183+1,16%'],
1295
- ['oz', '1.823,86', '+620,32+34,01%', '28.691.142', '+10.205.539+35,57%'],
1296
- ['gr', '58,64', '+19,94+34,01%', '922.442', '+328.116+35,57%'],
1297
- ['2 Tahun', 'Kurs', '', '', '14.799', '+1.115+7,53%'],
1298
- ['oz', '1.801,89', '+642,29+35,65%', '26.666.170', '+12.230.510+45,87%'],
1299
- ['gr', '57,93', '+20,65+35,65%', '857.337', '+393.220+45,87%'],
1300
- ['3 Tahun', 'Kurs', '', '', '14.389', '+1.525+10,60%'],
1301
- ['oz', '1.776,74', '+667,44+37,57%', '25.565.530', '+13.331.151+52,15%'],
1302
- ['gr', '57,12', '+21,46+37,57%', '821.951', '+428.606+52,15%'],
1303
- ['5 Tahun', 'Kurs', '', '', '14.234', '+1.680+11,80%'],
1304
- ['oz', '1.522,41', '+921,77+60,55%', '21.669.984', '+17.226.697+79,50%'],
1305
- ['gr', '48,95', '+29,64+60,55%', '696.706', '+553.851+79,50%']])
1267
+ ['Hari Ini', 'Kurs', '', '', '15.171', '%'],
1268
+ ['oz', '2.652,50', '+5,84+0,22%', '40.241.078', '+88.599+0,22%'],
1269
+ ['gr', '85,28', '+0,19+0,22%', '1.293.781', '+2.849+0,22%'],
1270
+ ['30 Hari', 'Kurs', '', '', '15.409', '-238-1,54%'],
1271
+ ['oz', '2.497,99', '+160,35+6,42%', '38.491.528', '+1.838.148+4,78%'],
1272
+ ['gr', '80,31', '+5,16+6,42%', '1.237.531', '+59.098+4,78%'],
1273
+ ['2 Bulan', 'Kurs', '', '', '16.320', '-1.149-7,04%'],
1274
+ ['oz', '2.426,29', '+232,05+9,56%', '39.597.053', '+732.623+1,85%'],
1275
+ ['gr', '78,01', '+7,46+9,56', '1.273.075', '+23.554+1,85%'],
1276
+ ['6 Bulan', 'Kurs', '', '', '15.909', '-738-4,64%'],
1277
+ ['oz', '2.260,33', '+398,01+17,61%', '35.959.590', '+4.370.086+12,15%'],
1278
+ ['gr', '72,67', '+12,80+17,61%', '1.156.128', '+140.502+12,15%'],
1279
+ ['1 Tahun', 'Kurs', '', '', '15.140', '+31+0,20%'],
1280
+ ['oz', '1.848,82', '+809,52+43,79%', '27.991.135', '+12.338.541+44,08%'],
1281
+ ['gr', '59,44', '+26,03+43,79%', '899.936', '+396.693+44,08%'],
1282
+ ['2 Tahun', 'Kurs', '', '', '15.247', '-76-0,50%'],
1283
+ ['oz', '1.664,93', '+993,41+59,67%', '25.385.188', '+14.944.488+58,87%'],
1284
+ ['gr', '53,53', '+31,94+59,67%', '816.153', '+480.476+58,87%'],
1285
+ ['3 Tahun', 'Kurs', '', '', '14.307', '+864+6,04%'],
1286
+ ['oz', '1.757,58', '+900,76+51,25%', '25.145.715', '+15.183.962+60,38%'],
1287
+ ['gr', '56,51', '+28,96+51,25%', '808.453', '+488.176+60,38%'],
1288
+ ['5 Tahun', 'Kurs', '', '', '14.196', '+975+6,87%'],
1289
+ ['oz', '1.483,09', '+1.175,25+79,24%', '21.053.946', '+19.275.731+91,55%'],
1290
+ ['gr', '47,68', '+37,79+79,24%', '676.900', '+619.729+91,55%']])
1306
1291
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1307
1292
  [[''],
1308
1293
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1309
- ['USD', '78,58↑', '+0,42+0,54%'],
1310
- ['KURS', '15.965,35↑', '+15,45+0,10%'],
1311
- ['IDR', '1.254.592,52↑', '+7.921,54+0,64%'],
1312
- ['Senin, 12 Agustus 2024 17:42']],
1294
+ ['USD', '85,47↓', '%'],
1295
+ ['KURS', '15.124,85↓', '%'],
1296
+ ['IDR', '1.292.684,87↓', '%'],
1297
+ ['Minggu, 29 September 2024 19:12']],
1313
1298
  [[''],
1314
1299
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1315
1300
  'Hari Ini',
@@ -1320,19 +1305,19 @@ Output:
1320
1305
  '']],
1321
1306
  [['Pergerakkan Harga Emas 1 Gram'],
1322
1307
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1323
- ['USD', '78,16', '78,16 - 78,58', '78,37'],
1324
- ['KURS', '15.949,90', '15.949,90 - 15.965,35', '15.957,63'],
1325
- ['IDR', '1.246.670,98', '1.246.670,98 - 1.254.592,52', '1.250.631,75'],
1308
+ ['USD', '85,47', '85,47 - 85,47', '85,47'],
1309
+ ['KURS', '15.124,85', '15.124,85 - 15.124,85', '15.124,85'],
1310
+ ['IDR', '1.292.684,87', '1.292.684,87 - 1.292.684,87', '1.292.684,87'],
1326
1311
  [''],
1327
1312
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1328
- ['USD', '66,32', '64,07 - 79,08', '+12,26 (18,49%)'],
1329
- ['KURS', '15.390,10', '15.390,00 - 16.509,65', '+575,25 (3,74%)'],
1330
- ['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+233.862,99 (22,91%)'],
1313
+ ['USD', '66,32', '64,07 - 85,83', '+19,15 (28,88%)'],
1314
+ ['KURS', '15.390,10', '15.100,00 - 16.509,65', '-265,25(-1,72%)'],
1315
+ ['IDR', '1.020.729,53', '997.660,12 - 1.296.071,15', '+271.955,34 (26,64%)'],
1331
1316
  [''],
1332
1317
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1333
- ['USD', '61,55', '58,43 - 79,08', '+17,03 (27,67%)'],
1334
- ['KURS', '15.312,55', '15.203,25 - 16.509,65', '+652,80 (4,26%)'],
1335
- ['IDR', '942.483,02', '912.925,68 - 1.279.266,69', '+312.109,50 (33,12%)']])
1318
+ ['USD', '59,91', '58,43 - 85,83', '+25,56 (42,66%)'],
1319
+ ['KURS', '15.508,40', '15.100,00 - 16.509,65', '-383,55(-2,47%)'],
1320
+ ['IDR', '929.163,44', '912.925,68 - 1.296.071,15', '+363.521,43 (39,12%)']])
1336
1321
  ```
1337
1322
 
1338
1323
  ## iloads
@@ -1462,7 +1447,7 @@ Output:
1462
1447
  ```py
1463
1448
  8
1464
1449
  ['mana', 'aja']
1465
- [<Element a at 0x73f2b93a70>, <Element a at 0x73f2be5d60>, <Element a at 0x73f2be5e00>, <Element a at 0x73f2be5e50>, <Element a at 0x73f2be5ea0>, <Element a at 0x73f2be5ef0>, <Element a at 0x73f2be5f40>, <Element a at 0x73f2be5f90>, <Element a at 0x73f2be5fe0>, <Element a at 0x73f2be6030>, <Element a at 0x73f2be6080>, <Element a at 0x73f2be60d0>, <Element a at 0x73f2be6120>, <Element a at 0x73f2be6170>, <Element a at 0x73f2be61c0>, <Element a at 0x73f2be6210>, <Element a at 0x73f2be6260>, <Element a at 0x73f2be62b0>]
1450
+ [<Element a at 0x7060b675c0>, <Element a at 0x7060bb28a0>, <Element a at 0x7060bb2940>, <Element a at 0x7060bb2990>, <Element a at 0x7060bb29e0>, <Element a at 0x7060bb2a30>, <Element a at 0x7060bb2a80>, <Element a at 0x7060bb2ad0>, <Element a at 0x7060bb2b20>, <Element a at 0x7060bb2b70>, <Element a at 0x7060bb2bc0>, <Element a at 0x7060bb2c10>, <Element a at 0x7060bb2c60>, <Element a at 0x7060bb2cb0>, <Element a at 0x7060bb2d00>, <Element a at 0x7060bb2d50>, <Element a at 0x7060bb2da0>, <Element a at 0x7060bb2df0>]
1466
1451
  False
1467
1452
  ```
1468
1453
 
@@ -1515,6 +1500,10 @@ Output:
1515
1500
  aku itu dan ini mau ke situ
1516
1501
  ```
1517
1502
 
1503
+ ## is_html
1504
+
1505
+ `is_html(text)`
1506
+
1518
1507
  ## iscandir
1519
1508
 
1520
1509
  `iscandir(folder_name='.', glob_pattern='*', recursive=True, scan_file=True, scan_folder=True)`
@@ -1528,7 +1517,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1528
1517
 
1529
1518
  Output:
1530
1519
  ```py
1531
- <generator object iscandir at 0x73f2e7b140>
1520
+ <generator object iscandir at 0x7060e42c40>
1532
1521
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1533
1522
  ```
1534
1523
 
@@ -1561,91 +1550,92 @@ iprint(ivars(__import__('pypipr')))
1561
1550
 
1562
1551
  Output:
1563
1552
  ```py
1564
- {'function': {'avg': <function avg at 0x73f99e0040>,
1565
- 'get_filemtime': <function get_filemtime at 0x73f4445d00>,
1566
- 'print_colorize': <function print_colorize at 0x73f4445ee0>,
1567
- 'print_log': <function print_log at 0x73f4445da0>,
1568
- 'console_run': <function console_run at 0x73f4445e40>,
1569
- 'auto_reload': <function auto_reload at 0x73f4445620>,
1570
- 'basename': <function basename at 0x73f4445c60>,
1571
- 'chr_to_int': <function chr_to_int at 0x73f4446480>,
1572
- 'int_to_chr': <function int_to_chr at 0x73f4446520>,
1573
- 'irange': <function irange at 0x73f44467a0>,
1574
- 'batchmaker': <function batchmaker at 0x73f4446160>,
1575
- 'calculate': <function calculate at 0x73f44462a0>,
1576
- 'batch_calculate': <function batch_calculate at 0x73f4446020>,
1577
- 'bin_to_int': <function bin_to_int at 0x73f44460c0>,
1578
- 'is_empty': <function is_empty at 0x73f4446f20>,
1579
- 'exit_if_empty': <function exit_if_empty at 0x73f4446de0>,
1580
- 'input_char': <function input_char at 0x73f44463e0>,
1581
- 'choices': <function choices at 0x73f44471a0>,
1582
- 'chunk_array': <function chunk_array at 0x73f4447240>,
1583
- 'create_folder': <function create_folder at 0x73f4447380>,
1584
- 'datetime_from_string': <function datetime_from_string at 0x73f4447420>,
1585
- 'datetime_now': <function datetime_now at 0x73f44474c0>,
1586
- 'dict_first': <function dict_first at 0x73f44696c0>,
1587
- 'dirname': <function dirname at 0x73f4469760>,
1588
- 'django_runserver': <function django_runserver at 0x73f4469a80>,
1589
- 'is_iterable': <function is_iterable at 0x73f4469e40>,
1590
- 'to_str': <function to_str at 0x73f4469ee0>,
1591
- 'filter_empty': <function filter_empty at 0x73f4469d00>,
1592
- 'get_by_index': <function get_by_index at 0x73f4469da0>,
1593
- 'get_class_method': <function get_class_method at 0x73f4469f80>,
1594
- 'get_filesize': <function get_filesize at 0x73f446a0c0>,
1595
- 'github_init': <function github_init at 0x73f446a160>,
1596
- 'github_pull': <function github_pull at 0x73f446a200>,
1597
- 'github_push': <function github_push at 0x73f446a340>,
1598
- 'github_user': <function github_user at 0x73f446a3e0>,
1599
- 'hex_to_int': <function hex_to_int at 0x73f446a480>,
1600
- 'iargv': <function iargv at 0x73f446a520>,
1601
- 'idir': <function idir at 0x73f446a5c0>,
1602
- 'idumps_html': <function idumps_html at 0x73f446aca0>,
1603
- 'idumps': <function idumps at 0x73f446a700>,
1604
- 'int_to_int': <function int_to_int at 0x73f44feb60>,
1605
- 'ienumerate': <function ienumerate at 0x73f446ac00>,
1606
- 'ienv': <function ienv at 0x73f44ed080>,
1607
- 'iexec': <function iexec at 0x73f44fec00>,
1608
- 'ijoin': <function ijoin at 0x73f44fed40>,
1609
- 'iloads_html': <function iloads_html at 0x73f44fef20>,
1610
- 'iloads': <function iloads at 0x73fa3e2020>,
1611
- 'int_to_bin': <function int_to_bin at 0x73f44feca0>,
1612
- 'int_to_hex': <function int_to_hex at 0x73f44fee80>,
1613
- 'int_to_oct': <function int_to_oct at 0x73f44fefc0>,
1614
- 'is_valid_url': <function is_valid_url at 0x73f42bed40>,
1615
- 'iopen': <function iopen at 0x73f44ff1a0>,
1616
- 'iprint': <function iprint at 0x73f42be840>,
1617
- 'is_raw_string': <function is_raw_string at 0x73f33cfc40>,
1618
- 'ireplace': <function ireplace at 0x73f4323420>,
1619
- 'iscandir': <function iscandir at 0x73f33cfb00>,
1620
- 'isplit': <function isplit at 0x73f33cfce0>,
1621
- 'ivars': <function ivars at 0x73f33cfd80>,
1622
- 'log': <function log at 0x73f33cfe20>,
1623
- 'oct_to_int': <function oct_to_int at 0x73f33cfec0>,
1624
- 'password_generator': <function password_generator at 0x73f33cff60>,
1625
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x73f33d40e0>,
1626
- 'pip_update_pypipr': <function pip_update_pypipr at 0x73f33d4180>,
1627
- 'poetry_publish': <function poetry_publish at 0x73f33d4220>,
1628
- 'poetry_update_version': <function poetry_update_version at 0x73f33d4360>,
1629
- 'print_dir': <function print_dir at 0x73f33d4540>,
1630
- 'print_to_last_line': <function print_to_last_line at 0x73f33d45e0>,
1631
- 'random_bool': <function random_bool at 0x73f33d4680>,
1632
- 'repath': <function repath at 0x73f33d47c0>,
1633
- 'restart': <function restart at 0x73f33d4860>,
1634
- 'set_timeout': <function set_timeout at 0x73f33d4900>,
1635
- 'sets_ordered': <function sets_ordered at 0x73f33d49a0>,
1636
- 'sqlite_delete_table': <function sqlite_delete_table at 0x73f33d4a40>,
1637
- 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x73f33d4720>,
1638
- 'sqlite_get_data_table': <function sqlite_get_data_table at 0x73f33d53a0>,
1639
- 'str_cmp': <function str_cmp at 0x73f33d5440>,
1640
- 'text_colorize': <function text_colorize at 0x73f33d54e0>,
1641
- 'traceback_filename': <function traceback_filename at 0x73f33d5580>,
1642
- 'traceback_framename': <function traceback_framename at 0x73f33d5620>},
1553
+ {'function': {'avg': <function avg at 0x706af13e20>,
1554
+ 'get_filemtime': <function get_filemtime at 0x7066d25f80>,
1555
+ 'print_colorize': <function print_colorize at 0x7066d26160>,
1556
+ 'print_log': <function print_log at 0x7066d26020>,
1557
+ 'console_run': <function console_run at 0x7066d260c0>,
1558
+ 'auto_reload': <function auto_reload at 0x7066d258a0>,
1559
+ 'basename': <function basename at 0x7066d25ee0>,
1560
+ 'chr_to_int': <function chr_to_int at 0x7066d26700>,
1561
+ 'int_to_chr': <function int_to_chr at 0x7066d267a0>,
1562
+ 'irange': <function irange at 0x7066d26a20>,
1563
+ 'batchmaker': <function batchmaker at 0x7066d263e0>,
1564
+ 'calculate': <function calculate at 0x7066d26520>,
1565
+ 'batch_calculate': <function batch_calculate at 0x7066d262a0>,
1566
+ 'bin_to_int': <function bin_to_int at 0x7066d26340>,
1567
+ 'is_empty': <function is_empty at 0x7066d27240>,
1568
+ 'exit_if_empty': <function exit_if_empty at 0x7066d27100>,
1569
+ 'input_char': <function input_char at 0x7066d26660>,
1570
+ 'choices': <function choices at 0x7066d274c0>,
1571
+ 'chunk_array': <function chunk_array at 0x7066d27560>,
1572
+ 'create_folder': <function create_folder at 0x7066d276a0>,
1573
+ 'datetime_from_string': <function datetime_from_string at 0x7066d27740>,
1574
+ 'datetime_now': <function datetime_now at 0x7066d277e0>,
1575
+ 'dict_first': <function dict_first at 0x7066d419e0>,
1576
+ 'dirname': <function dirname at 0x7066d41a80>,
1577
+ 'django_runserver': <function django_runserver at 0x7066d41da0>,
1578
+ 'is_iterable': <function is_iterable at 0x7066d42160>,
1579
+ 'to_str': <function to_str at 0x7066d42200>,
1580
+ 'filter_empty': <function filter_empty at 0x7066d42020>,
1581
+ 'get_by_index': <function get_by_index at 0x7066d420c0>,
1582
+ 'get_class_method': <function get_class_method at 0x7066d422a0>,
1583
+ 'get_filesize': <function get_filesize at 0x7066d423e0>,
1584
+ 'github_init': <function github_init at 0x7066d42480>,
1585
+ 'github_pull': <function github_pull at 0x7066d42520>,
1586
+ 'github_push': <function github_push at 0x7066d42660>,
1587
+ 'github_user': <function github_user at 0x7066d42700>,
1588
+ 'hex_to_int': <function hex_to_int at 0x7066d427a0>,
1589
+ 'iargv': <function iargv at 0x7066d42840>,
1590
+ 'idir': <function idir at 0x7066d428e0>,
1591
+ 'idumps_html': <function idumps_html at 0x7066d42fc0>,
1592
+ 'idumps': <function idumps at 0x7066d42a20>,
1593
+ 'int_to_int': <function int_to_int at 0x7066dd2e80>,
1594
+ 'ienumerate': <function ienumerate at 0x7066d42f20>,
1595
+ 'ienv': <function ienv at 0x7066dc13a0>,
1596
+ 'iexec': <function iexec at 0x7066dd2f20>,
1597
+ 'ijoin': <function ijoin at 0x7066dd3060>,
1598
+ 'iloads_html': <function iloads_html at 0x7066dd3240>,
1599
+ 'iloads': <function iloads at 0x706b299ee0>,
1600
+ 'int_to_bin': <function int_to_bin at 0x7066dd2fc0>,
1601
+ 'int_to_hex': <function int_to_hex at 0x7066dd31a0>,
1602
+ 'int_to_oct': <function int_to_oct at 0x7066dd32e0>,
1603
+ 'is_valid_url': <function is_valid_url at 0x7066b73100>,
1604
+ 'iopen': <function iopen at 0x7066dd34c0>,
1605
+ 'iprint': <function iprint at 0x7066b72c00>,
1606
+ 'is_raw_string': <function is_raw_string at 0x70613400e0>,
1607
+ 'ireplace': <function ireplace at 0x7061337f60>,
1608
+ 'is_html': <function is_html at 0x7066bdf880>,
1609
+ 'iscandir': <function iscandir at 0x7061340180>,
1610
+ 'isplit': <function isplit at 0x7061340220>,
1611
+ 'ivars': <function ivars at 0x70613402c0>,
1612
+ 'log': <function log at 0x7061340360>,
1613
+ 'oct_to_int': <function oct_to_int at 0x7061340400>,
1614
+ 'password_generator': <function password_generator at 0x70613404a0>,
1615
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x70613405e0>,
1616
+ 'pip_update_pypipr': <function pip_update_pypipr at 0x7061340680>,
1617
+ 'poetry_publish': <function poetry_publish at 0x7061340720>,
1618
+ 'poetry_update_version': <function poetry_update_version at 0x7061340860>,
1619
+ 'print_dir': <function print_dir at 0x7061340a40>,
1620
+ 'print_to_last_line': <function print_to_last_line at 0x7061340ae0>,
1621
+ 'random_bool': <function random_bool at 0x7061340b80>,
1622
+ 'repath': <function repath at 0x7061340cc0>,
1623
+ 'restart': <function restart at 0x7061340d60>,
1624
+ 'set_timeout': <function set_timeout at 0x7061340e00>,
1625
+ 'sets_ordered': <function sets_ordered at 0x7061340ea0>,
1626
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x7061340f40>,
1627
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7061341120>,
1628
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x70613418a0>,
1629
+ 'str_cmp': <function str_cmp at 0x7061341940>,
1630
+ 'text_colorize': <function text_colorize at 0x70613419e0>,
1631
+ 'traceback_filename': <function traceback_filename at 0x7061341a80>,
1632
+ 'traceback_framename': <function traceback_framename at 0x7061341b20>},
1643
1633
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1644
1634
  'PintUregQuantity': <class 'pint.Quantity'>,
1645
1635
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
1646
1636
  'TextCase': <class 'pypipr.TextCase.TextCase'>},
1647
1637
  'variable': {'LINUX': True,
1648
- 'PintUreg': <pint.registry.UnitRegistry object at 0x73f99ef3d0>,
1638
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x706af6b490>,
1649
1639
  'WINDOWS': False},
1650
1640
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1651
1641
  'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/colorama/__init__.py'>,
@@ -1736,7 +1726,7 @@ print(password_generator())
1736
1726
 
1737
1727
  Output:
1738
1728
  ```py
1739
- !XSnf@^B
1729
+ b}]GJvM?
1740
1730
  ```
1741
1731
 
1742
1732
  ## pip_freeze_without_version
@@ -1798,7 +1788,7 @@ Output:
1798
1788
  __enter__ : https:/www.google.com
1799
1789
  __fspath__ : https:/www.google.com
1800
1790
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1801
- __hash__ : 5374944819999717424
1791
+ __hash__ : -8291759452219622297
1802
1792
  __init__ : None
1803
1793
  __init_subclass__ : None
1804
1794
  __module__ : pathlib
@@ -1811,8 +1801,8 @@ Output:
1811
1801
  _cached_cparts : ['https:', 'www.google.com']
1812
1802
  _cparts : ['https:', 'www.google.com']
1813
1803
  _drv :
1814
- _flavour : <pathlib._PosixFlavour object at 0x73f9835750>
1815
- _hash : 5374944819999717424
1804
+ _flavour : <pathlib._PosixFlavour object at 0x706a6d5b50>
1805
+ _hash : -8291759452219622297
1816
1806
  _parts : ['https:', 'www.google.com']
1817
1807
  _root :
1818
1808
  _str : https:/www.google.com
@@ -1834,7 +1824,7 @@ Output:
1834
1824
  is_reserved : False
1835
1825
  is_socket : False
1836
1826
  is_symlink : False
1837
- iterdir : <generator object Path.iterdir at 0x73f2b8e5e0>
1827
+ iterdir : <generator object Path.iterdir at 0x7060b6a500>
1838
1828
  joinpath : https:/www.google.com
1839
1829
  name : www.google.com
1840
1830
  parent : https:
@@ -1923,7 +1913,7 @@ x.cancel()
1923
1913
 
1924
1914
  Output:
1925
1915
  ```py
1926
- <Timer(Thread-2, started 497970703600)>
1916
+ <Timer(Thread-2, started 482632252656)>
1927
1917
  menghentikan timeout 7
1928
1918
  ```
1929
1919
 
@@ -1941,7 +1931,7 @@ print(list(sets_ordered(array)))
1941
1931
 
1942
1932
  Output:
1943
1933
  ```py
1944
- <generator object sets_ordered at 0x73f2bb0e10>
1934
+ <generator object sets_ordered at 0x7060b80930>
1945
1935
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1946
1936
  ```
1947
1937
 
@@ -2055,15 +2045,15 @@ print(ExampleComparePerformance().compare_performance())
2055
2045
 
2056
2046
  Output:
2057
2047
  ```py
2058
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x73f2bb0a00>,
2048
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7060e57ac0>,
2059
2049
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2060
2050
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2061
2051
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2062
- {'a': 119, 'b': 157, 'c': 100, 'd': 203}
2063
- {'a': 116, 'b': 124, 'c': 100, 'd': 171}
2064
- {'a': 117, 'b': 125, 'c': 100, 'd': 159}
2065
- {'a': 110, 'b': 127, 'c': 99, 'd': 146}
2066
- {'a': 128, 'b': 130, 'c': 99, 'd': 152}
2052
+ {'a': 164, 'b': 133, 'c': 100, 'd': 150}
2053
+ {'a': 156, 'b': 143, 'c': 100, 'd': 132}
2054
+ {'a': 134, 'b': 132, 'c': 100, 'd': 125}
2055
+ {'a': 133, 'b': 133, 'c': 100, 'd': 137}
2056
+ {'a': 132, 'b': 133, 'c': 100, 'd': 128}
2067
2057
  ```
2068
2058
 
2069
2059
  ## PintUregQuantity
@@ -1,20 +1,20 @@
1
- pypipr/ComparePerformance.py,sha256=PeeBF1agcUN1P-4j8djrmtQWga8wr5QosJ6yaeoJOzI,2229
1
+ pypipr/ComparePerformance.py,sha256=S-91-xyiVIsUhLuq0SZFxH85Y0Augb73aRr0YySZI0I,2378
2
2
  pypipr/LINUX.py,sha256=XF5CR2imyRv8hGQpsDLDs_RU8xsD1aZLpFldEzP-mkU,77
3
3
  pypipr/PintUreg.py,sha256=_jmHZhUn8AcgFkXvZ6OTsWnjtp-CYcXUJ-dG_QdcARY,222
4
4
  pypipr/PintUregQuantity.py,sha256=ErSZKB-GHShi1zKac30XgFdBwAUrxMo80IQzIjQ2HVc,118
5
- pypipr/RunParallel.py,sha256=3H6sVSeUSATQQsWBcDGTtaXuc-12Yc0XmDyVtsg3PMA,5992
5
+ pypipr/RunParallel.py,sha256=a7Fa0YrnCeXakdgLTd2BYjB6Ck6vvZ1gIaTS7ZISmSg,6536
6
6
  pypipr/TextCase.py,sha256=v62BsRiJUSOqYZM9BHTKvQtF6rWgaug5F0XirXNlens,2896
7
7
  pypipr/WINDOWS.py,sha256=NMW-94lzdqwfEWv2lF_i2GcSHJFDwWjccFufpymg4-E,83
8
- pypipr/__init__.py,sha256=rSghdc7IlKugWbUD4mfKBfHUK9oRIbvaT7WxRtwSfBI,3611
8
+ pypipr/__init__.py,sha256=NMTH0U2tBHPR9yiUTxeA9kx-XZzcupi6Rb7zqN6LtTE,3640
9
9
  pypipr/__terminal__.py,sha256=N_NEXa0V5QLb-dkP1Vp_fYKNjE4jGTqkiYNwPPOXZtw,1412
10
10
  pypipr/auto_reload.py,sha256=FGchFBjQs_eT7CmOMLNYoch-17q7ySFOnPx5z1kbH3E,918
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=JoaciQk7j-nXSdqlwonRdZ3Qu6uqUYhuA7oxpTC548s,503
14
- pypipr/batchmaker.py,sha256=y0D-fU0oCJsdffwZZyJMC0iLPjjiv-_43a7hLrChJDM,1110
14
+ pypipr/batchmaker.py,sha256=oBzLOUOp-_4npJnlyM4SyvtGM22dpo6DHkqwGivqdAw,1122
15
15
  pypipr/bin_to_int.py,sha256=9s935sdD-CC1d7WCsNO3dd8nqTfC8lpkxHB1zQ--mZc,191
16
16
  pypipr/calculate.py,sha256=uSmDH43_x4ifdHN23PLdWKqjx023--1ZE6mf5A2hqg4,696
17
- pypipr/choices.py,sha256=qhRdquHqPWUKVdYwi7KDDf1_CYJi9i5E52hs2mMxCWs,1473
17
+ pypipr/choices.py,sha256=-4UF5vGJqadgJqW6qWoc2AyOqaMBDg5KlFRpy7for1k,1681
18
18
  pypipr/chr_to_int.py,sha256=5ETJZag1eM8wa2ceIGsmNP-jNufC5bCScghTLcwGEAI,459
19
19
  pypipr/chunk_array.py,sha256=aodjp-daihl-Xd8kPqcpHZICZub7Jx0QBqyoF0bd0dY,385
20
20
  pypipr/console_run.py,sha256=vCJqDa1rExisqaFLNeWM-hnuXHfUfiYcyNAOJjldOHs,525
@@ -53,9 +53,10 @@ pypipr/int_to_int.py,sha256=8qocfQtQowaVac4o4g1tpywMxm7OHDIbBqNl1RP6lGk,215
53
53
  pypipr/int_to_oct.py,sha256=GWu7VbHJXJxC6IvLEjQofUrbbXjQSEYPZvT2f6wh_Is,215
54
54
  pypipr/iopen.py,sha256=qEJfKgfrCj-qd17UUlSAw7O4LyV4n0ZKDBbfv288z20,2657
55
55
  pypipr/iprint.py,sha256=5ekT7RzcTd8Lsb8IQ9JeFJmFl2V6OYFbiHECt9W4iWg,838
56
- pypipr/irange.py,sha256=wOKFsN1BipHG4LcVVwOZQMn-820TDD4NckYyan2dj2g,3098
56
+ pypipr/irange.py,sha256=OAS6y8VZfP7aN6Tm1yGCs_3qKlcl_1fQen8X6UtJZNY,3441
57
57
  pypipr/ireplace.py,sha256=ce1vqq4kXs9yUPnNAi6p0o2O2zAoUetp4GhVvfv4B8s,873
58
58
  pypipr/is_empty.py,sha256=eqsH6ATuuOLVVSpIsV_8zTBBibPrWjESu9LCMAv8YyY,683
59
+ pypipr/is_html.py,sha256=-062n4zWkOPlOqYH6lwD8rcPHiP6a2HS-JO5kvSm0-s,148
59
60
  pypipr/is_iterable.py,sha256=WLLqD1Shuc_jvFci28xTdLVdoU-r3T93nZ9jB3nH3Jw,923
60
61
  pypipr/is_raw_string.py,sha256=I9RVf511rReVx1pay7iPl9rcaqe-VgD-ptmel6eV62E,77
61
62
  pypipr/is_valid_url.py,sha256=fH2SzoBvXWl3kRtCmixOVu5m1HfPJ-WazUJ0pVQuNoc,885
@@ -86,7 +87,7 @@ pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
86
87
  pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
87
88
  pypipr/traceback_filename.py,sha256=4o85J0N8clI0cM6NTGcKZ4zxR9yS7W2NS_bz3J2_PnY,288
88
89
  pypipr/traceback_framename.py,sha256=_mullrAZzMhBFEFVCgdsmkYQmYUkd58o-J-HuMntKyc,291
89
- pypipr-1.0.154.dist-info/METADATA,sha256=jort0TYpaP790h3IIjd7i2UyvNLlNod60JuebA-5qk4,56783
90
- pypipr-1.0.154.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
91
- pypipr-1.0.154.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
92
- pypipr-1.0.154.dist-info/RECORD,,
90
+ pypipr-1.0.155.dist-info/METADATA,sha256=6i0U9AORBswuCJo2Fz_X4ZTx5XEAGeGZ7A-qT3AMl8Q,58352
91
+ pypipr-1.0.155.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
92
+ pypipr-1.0.155.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
93
+ pypipr-1.0.155.dist-info/RECORD,,