xloft 0.6.8__py3-none-any.whl → 0.6.10__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.

Potentially problematic release.


This version of xloft might be problematic. Click here for more details.

xloft/__init__.py CHANGED
@@ -9,7 +9,13 @@ Modules exported by this package:
9
9
 
10
10
  from __future__ import annotations
11
11
 
12
- __all__ = ("NamedTuple",)
12
+ __all__ = (
13
+ "to_human_size",
14
+ "is_number",
15
+ "NamedTuple",
16
+ )
13
17
 
14
18
 
19
+ from xloft.converters import to_human_size
20
+ from xloft.itis import is_number
15
21
  from xloft.namedtuple import NamedTuple
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xloft
3
- Version: 0.6.8
3
+ Version: 0.6.10
4
4
  Summary: (XLOFT) X-Library of tools
5
5
  Project-URL: Homepage, https://github.com/kebasyaty/xloft
6
6
  Project-URL: Repository, https://github.com/kebasyaty/xloft
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
22
22
  Classifier: Programming Language :: Python :: 3.12
23
23
  Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
24
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
25
26
  Classifier: Topic :: Software Development :: Libraries
26
27
  Classifier: Topic :: Utilities
@@ -165,7 +166,8 @@ del nt._id # => raise: AttributeCannotBeDelete
165
166
  ```python
166
167
  """Convert the number of bytes into a human-readable format."""
167
168
 
168
- from xloft.converters import to_human_size
169
+ from xloft import to_human_size
170
+ # from xloft.converters import to_human_size
169
171
 
170
172
 
171
173
  to_human_size(200) # => 200 bytes
@@ -178,7 +180,8 @@ to_human_size(1048575) # => 1023.999 KB
178
180
  ```python
179
181
  """Check if a string is a number."""
180
182
 
181
- from xloft.itis import is_number
183
+ from xloft import is_number
184
+ # from xloft.itis import is_number
182
185
 
183
186
 
184
187
  is_number("") # => False
@@ -1,11 +1,11 @@
1
- xloft/__init__.py,sha256=DoAO9PDwoOfrE0RNKysMfHE2i7XarwVMjTPtwtDhJ_w,359
1
+ xloft/__init__.py,sha256=_bAXQ70tFM76SGAWcWij4UXINN7RwXN2e7nL8N64ohk,485
2
2
  xloft/errors.py,sha256=hZcmF0QVVdvE5oM1jsXymRk_pPGgDSnUDM9wx9zJAYQ,895
3
3
  xloft/itis.py,sha256=CRtnOhrw1IY8pPxXy4dCv7wVXUhXmo0OgLLlSSVnmxI,430
4
4
  xloft/namedtuple.py,sha256=egEULlfATXM8gMhAMjQSHocwTudqqzXDGTYGZVSUGZs,5725
5
5
  xloft/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  xloft/converters/__init__.py,sha256=17_p8AQ-_UcKKioJolP_738LHCNOwohJIkCqeyaVO_M,316
7
7
  xloft/converters/human_size.py,sha256=NcZRWF64LkQJ8-R00X7MCkNvXwlFDTcp5M3MylQzRTM,1149
8
- xloft-0.6.8.dist-info/METADATA,sha256=jhkM0YbbzA7hWT-rLrpMrh-lHuXKyFnl7DZfgg9Sdpo,7767
9
- xloft-0.6.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- xloft-0.6.8.dist-info/licenses/LICENSE,sha256=2zZINd6m_jNYlowdQImlEizyhSui5cBAJZRhWQURcEc,1095
11
- xloft-0.6.8.dist-info/RECORD,,
8
+ xloft-0.6.10.dist-info/METADATA,sha256=YmS8bruZCPznRloJZLsgh9_V-37qkkul1VZatnHTsAo,7883
9
+ xloft-0.6.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ xloft-0.6.10.dist-info/licenses/LICENSE,sha256=2zZINd6m_jNYlowdQImlEizyhSui5cBAJZRhWQURcEc,1095
11
+ xloft-0.6.10.dist-info/RECORD,,
File without changes