stdl 0.6.6__tar.gz → 0.6.8__tar.gz

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.
Files changed (45) hide show
  1. {stdl-0.6.6 → stdl-0.6.8}/PKG-INFO +9 -4
  2. {stdl-0.6.6 → stdl-0.6.8}/README.md +1 -1
  3. {stdl-0.6.6 → stdl-0.6.8}/docs/index.md +8 -1
  4. {stdl-0.6.6 → stdl-0.6.8}/mkdocs.yml +0 -1
  5. {stdl-0.6.6 → stdl-0.6.8}/pyproject.toml +14 -14
  6. {stdl-0.6.6 → stdl-0.6.8}/stdl/color.py +200 -126
  7. {stdl-0.6.6 → stdl-0.6.8}/stdl/decorators.py +8 -6
  8. {stdl-0.6.6 → stdl-0.6.8}/stdl/dt.py +38 -3
  9. {stdl-0.6.6 → stdl-0.6.8}/stdl/fs.py +331 -105
  10. {stdl-0.6.6 → stdl-0.6.8}/stdl/log.py +11 -2
  11. {stdl-0.6.6 → stdl-0.6.8}/stdl/lst.py +1 -1
  12. {stdl-0.6.6 → stdl-0.6.8}/stdl/net.py +28 -7
  13. {stdl-0.6.6 → stdl-0.6.8}/tests/test_color.py +42 -42
  14. stdl-0.6.8/tests/test_dt.py +231 -0
  15. stdl-0.6.8/tests/test_fs.py +1549 -0
  16. {stdl-0.6.6 → stdl-0.6.8}/uv.lock +6 -4
  17. stdl-0.6.6/tests/test_dt.py +0 -109
  18. stdl-0.6.6/tests/test_fs.py +0 -82
  19. {stdl-0.6.6 → stdl-0.6.8}/.editorconfig +0 -0
  20. {stdl-0.6.6 → stdl-0.6.8}/.github/workflows/lint.yml +0 -0
  21. {stdl-0.6.6 → stdl-0.6.8}/.github/workflows/publish.yml +0 -0
  22. {stdl-0.6.6 → stdl-0.6.8}/.github/workflows/test.yml +0 -0
  23. {stdl-0.6.6 → stdl-0.6.8}/.gitignore +0 -0
  24. {stdl-0.6.6 → stdl-0.6.8}/.pre-commit-config.yaml +0 -0
  25. {stdl-0.6.6 → stdl-0.6.8}/.python-version +0 -0
  26. {stdl-0.6.6 → stdl-0.6.8}/.readthedocs.yml +0 -0
  27. {stdl-0.6.6 → stdl-0.6.8}/CONTRIBUTING.md +0 -0
  28. {stdl-0.6.6 → stdl-0.6.8}/Justfile +0 -0
  29. {stdl-0.6.6 → stdl-0.6.8}/LICENSE +0 -0
  30. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/color.md +0 -0
  31. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/decorators.md +0 -0
  32. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/dt.md +0 -0
  33. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/fs.md +0 -0
  34. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/import_lazy.md +0 -0
  35. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/log.md +0 -0
  36. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/net.md +0 -0
  37. {stdl-0.6.6 → stdl-0.6.8}/docs/reference/st.md +0 -0
  38. {stdl-0.6.6 → stdl-0.6.8}/docs/requirements.txt +0 -0
  39. {stdl-0.6.6 → stdl-0.6.8}/stdl/__init__.py +0 -0
  40. {stdl-0.6.6 → stdl-0.6.8}/stdl/import_lazy.py +0 -0
  41. {stdl-0.6.6 → stdl-0.6.8}/stdl/st.py +0 -0
  42. {stdl-0.6.6 → stdl-0.6.8}/tests/test_decorators.py +0 -0
  43. {stdl-0.6.6 → stdl-0.6.8}/tests/test_lst.py +0 -0
  44. {stdl-0.6.6 → stdl-0.6.8}/tests/test_pydantic_integration.py +0 -0
  45. {stdl-0.6.6 → stdl-0.6.8}/tests/test_st.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stdl
3
- Version: 0.6.6
3
+ Version: 0.6.8
4
4
  Summary: Extended Python Standard Library
5
5
  Project-URL: Repository, https://github.com/zigai/stdl
6
6
  Project-URL: Issues, https://github.com/zigai/stdl/issues
@@ -28,7 +28,7 @@ License: MIT License
28
28
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29
29
  SOFTWARE.
30
30
  License-File: LICENSE
31
- Keywords: ANSI colors,color formats,filesystem,lazy import,list utils,logging configuration,python lazy import,python utilities,standard library,stdl,string utils,terminal links,terminal output
31
+ Keywords: ansi-colors,color-formats,filesystem,lazy-import,list-utils,python-utilities,standard-library,stdl,terminal-links,text-processing
32
32
  Classifier: Intended Audience :: Developers
33
33
  Classifier: License :: OSI Approved :: MIT License
34
34
  Classifier: Operating System :: OS Independent
@@ -41,12 +41,15 @@ Classifier: Programming Language :: Python :: 3.12
41
41
  Classifier: Programming Language :: Python :: 3.13
42
42
  Classifier: Programming Language :: Python :: 3.14
43
43
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
44
+ Classifier: Topic :: System :: Filesystems
45
+ Classifier: Topic :: Text Processing :: General
46
+ Classifier: Topic :: Utilities
44
47
  Classifier: Typing :: Typed
45
48
  Requires-Python: >=3.10
46
49
  Requires-Dist: python-dateutil>=2.8.2
47
50
  Requires-Dist: pyyaml>=6.0.2
48
51
  Requires-Dist: toml>=0.10.2
49
- Requires-Dist: tqdm>=4.67.1
52
+ Requires-Dist: typing-extensions>=4.0; python_version < '3.11'
50
53
  Provides-Extra: dev
51
54
  Requires-Dist: codespell; extra == 'dev'
52
55
  Requires-Dist: coverage; extra == 'dev'
@@ -55,6 +58,8 @@ Requires-Dist: pre-commit; extra == 'dev'
55
58
  Requires-Dist: pydantic>=2; extra == 'dev'
56
59
  Requires-Dist: pytest; extra == 'dev'
57
60
  Requires-Dist: ruff; extra == 'dev'
61
+ Provides-Extra: full
62
+ Requires-Dist: tqdm>=4.67.1; extra == 'full'
58
63
  Provides-Extra: test
59
64
  Requires-Dist: coverage; extra == 'test'
60
65
  Requires-Dist: pydantic>=2; extra == 'test'
@@ -63,7 +68,7 @@ Description-Content-Type: text/markdown
63
68
 
64
69
  # stdl
65
70
 
66
- [![Tests](https://github.com/zigai/stdl/actions/workflows/tests.yml/badge.svg)](https://github.com/zigai/stdl/actions/workflows/test.yml)
71
+ [![Tests](https://github.com/zigai/stdl/actions/workflows/test.yml/badge.svg)](https://github.com/zigai/stdl/actions/workflows/test.yml)
67
72
  [![Documentation Status](https://readthedocs.org/projects/stdl/badge/?version=latest)](https://stdl.readthedocs.io/en/latest/?badge=latest)
68
73
  [![PyPI version](https://badge.fury.io/py/stdl.svg)](https://badge.fury.io/py/stdl)
69
74
  ![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)
@@ -1,6 +1,6 @@
1
1
  # stdl
2
2
 
3
- [![Tests](https://github.com/zigai/stdl/actions/workflows/tests.yml/badge.svg)](https://github.com/zigai/stdl/actions/workflows/test.yml)
3
+ [![Tests](https://github.com/zigai/stdl/actions/workflows/test.yml/badge.svg)](https://github.com/zigai/stdl/actions/workflows/test.yml)
4
4
  [![Documentation Status](https://readthedocs.org/projects/stdl/badge/?version=latest)](https://stdl.readthedocs.io/en/latest/?badge=latest)
5
5
  [![PyPI version](https://badge.fury.io/py/stdl.svg)](https://badge.fury.io/py/stdl)
6
6
  ![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)
@@ -1,4 +1,5 @@
1
1
  # stdl
2
+
2
3
  [![Tests](https://github.com/zigai/stdl/actions/workflows/tests.yml/badge.svg)](https://github.com/zigai/stdl/actions/workflows/tests.yml)
3
4
  [![Documentation Status](https://readthedocs.org/projects/stdl/badge/?version=latest)](https://stdl.readthedocs.io/en/latest/?badge=latest)
4
5
  [![PyPI version](https://badge.fury.io/py/stdl.svg)](https://badge.fury.io/py/stdl)
@@ -9,6 +10,7 @@
9
10
  `stdl` is a collection of Python utilities that complement the standard library. It provides common functions and tools that developers frequently need, with minimal external dependencies.
10
11
 
11
12
  ## Features
13
+
12
14
  - File and directory operations
13
15
  - String manipulation
14
16
  - ANSI color support for terminal output
@@ -19,20 +21,25 @@
19
21
  - [See docs](https://stdl.readthedocs.io/en/latest/?badge=latest)
20
22
 
21
23
  ## Dependencies
24
+
22
25
  - PyYAML
23
26
  - python-dateutil
24
27
  - toml
25
- - tqdm
26
28
 
27
29
  ## Installation
28
30
 
29
31
  #### Using pip
32
+
30
33
  ```
31
34
  pip install stdl
32
35
  ```
36
+
33
37
  #### From source
38
+
34
39
  ```
35
40
  pip install git+https://github.com/zigai/stdl
36
41
  ```
42
+
37
43
  ## License
44
+
38
45
  [MIT License](https://github.com/zigai/stdl/blob/master/LICENSE)
@@ -24,7 +24,6 @@ theme:
24
24
  - navigation.instant.prefetch
25
25
  - navigation.instant.preview
26
26
  - navigation.instant.progress
27
- - search.highlight
28
27
  - search.share
29
28
  - search.highlight
30
29
  - search.suggest
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stdl"
3
- version = "0.6.6"
3
+ version = "0.6.8"
4
4
  description = "Extended Python Standard Library"
5
5
  authors = [{ name = "Žiga Ivanšek", email = "ziga.ivansek@gmail.com" }]
6
6
  license = { file = "LICENSE" }
@@ -10,7 +10,7 @@ dependencies = [
10
10
  "python-dateutil>=2.8.2",
11
11
  "pyyaml>=6.0.2",
12
12
  "toml>=0.10.2",
13
- "tqdm>=4.67.1",
13
+ "typing_extensions>=4.0; python_version < '3.11'",
14
14
  ]
15
15
 
16
16
  classifiers = [
@@ -19,6 +19,9 @@ classifiers = [
19
19
  "Operating System :: OS Independent",
20
20
  "Intended Audience :: Developers",
21
21
  "Topic :: Software Development :: Libraries :: Python Modules",
22
+ "Topic :: Utilities",
23
+ "Topic :: System :: Filesystems",
24
+ "Topic :: Text Processing :: General",
22
25
  "Programming Language :: Python",
23
26
  "Programming Language :: Python :: 3",
24
27
  "Programming Language :: Python :: 3 :: Only",
@@ -31,22 +34,19 @@ classifiers = [
31
34
 
32
35
  keywords = [
33
36
  "stdl",
34
- "standard library",
35
- "python utilities",
37
+ "standard-library",
38
+ "python-utilities",
36
39
  "filesystem",
37
- "list utils",
38
- "string utils",
39
- "logging configuration",
40
- "ANSI colors",
41
- "color formats",
42
- "terminal output",
43
- "terminal links",
44
- "lazy import",
45
- "python lazy import",
40
+ "list-utils",
41
+ "ansi-colors",
42
+ "color-formats",
43
+ "terminal-links",
44
+ "lazy-import",
45
+ "text-processing",
46
46
  ]
47
47
 
48
-
49
48
  [project.optional-dependencies]
49
+ full = ["tqdm>=4.67.1"]
50
50
  dev = [
51
51
  "pytest",
52
52
  "coverage",