package-utils 0.4.0__tar.gz → 0.4.2__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 (25) hide show
  1. package-utils-0.4.2/PKG-INFO +53 -0
  2. package-utils-0.4.2/README.md +37 -0
  3. {package-utils-0.4.0 → package-utils-0.4.2}/pyproject.toml +5 -8
  4. package-utils-0.4.2/src/package_utils/py.typed +0 -0
  5. package-utils-0.4.2/src/package_utils.egg-info/PKG-INFO +53 -0
  6. package-utils-0.4.2/src/package_utils.egg-info/requires.txt +6 -0
  7. package-utils-0.4.0/PKG-INFO +0 -31
  8. package-utils-0.4.0/README.md +0 -12
  9. package-utils-0.4.0/src/package_utils/py.typed +0 -1
  10. package-utils-0.4.0/src/package_utils.egg-info/PKG-INFO +0 -31
  11. package-utils-0.4.0/src/package_utils.egg-info/requires.txt +0 -9
  12. {package-utils-0.4.0 → package-utils-0.4.2}/LICENSE +0 -0
  13. {package-utils-0.4.0 → package-utils-0.4.2}/setup.cfg +0 -0
  14. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/__init__.py +0 -0
  15. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/__init__.py +0 -0
  16. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/cli_runner.py +0 -0
  17. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/convertors/__init__.py +0 -0
  18. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/convertors/class_.py +0 -0
  19. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/convertors/dataclass.py +0 -0
  20. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/convertors/method.py +0 -0
  21. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/convertors/parameter.py +0 -0
  22. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils/cli/entry_point.py +0 -0
  23. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils.egg-info/SOURCES.txt +0 -0
  24. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils.egg-info/dependency_links.txt +0 -0
  25. {package-utils-0.4.0 → package-utils-0.4.2}/src/package_utils.egg-info/top_level.txt +0 -0
@@ -0,0 +1,53 @@
1
+ Metadata-Version: 2.1
2
+ Name: package-utils
3
+ Version: 0.4.2
4
+ Summary: Common utilities for Python packages
5
+ Author-email: Quinten Roets <qdr2104@columbia.edu>
6
+ License: MIT
7
+ Project-URL: Source Code, https://github.com/quintenroets/package-utils
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: typer<1,>=0.9
12
+ Provides-Extra: dev
13
+ Requires-Dist: superpathlib<2,>=1.3.7; extra == "dev"
14
+ Requires-Dist: package-dev-tools<1,>=0.3.1; extra == "dev"
15
+ Requires-Dist: package-dev-utils<1,>=0.1.3; extra == "dev"
16
+
17
+ # Package Utils
18
+ [![PyPI version](https://badge.fury.io/py/package-utils.svg)](https://badge.fury.io/py/package-utils)
19
+ ![Python version](https://img.shields.io/badge/python-3.10+-brightgreen)
20
+ ![Operating system](https://img.shields.io/badge/os-linux%20%7c%20macOS%20%7c%20windows-brightgreen)
21
+ ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
22
+
23
+ ## Usage
24
+
25
+ ```python
26
+ from dataclasses import dataclass, field
27
+ from pathlib import Path
28
+
29
+ from package_utils.cli.entry_point import create_entry_point
30
+
31
+
32
+ @dataclass
33
+ class Options:
34
+ debug: bool = False
35
+ output_path: Path = field(default_factory=Path.cwd)
36
+
37
+
38
+ def main(options: Options):
39
+ ...
40
+
41
+
42
+ entry_point = create_entry_point(main)
43
+
44
+
45
+ if __name__ == "__main__":
46
+ entry_point()
47
+ ```
48
+ see examples in [tests](https://github.com/quintenroets/package-utils/tree/main/tests) and [python-package-template](https://github.com/quintenroets/python-package-template/blob/main/src/python_package_template/cli/entry_point.py)
49
+
50
+ ## Installation
51
+ ```shell
52
+ pip install package-utils
53
+ ```
@@ -0,0 +1,37 @@
1
+ # Package Utils
2
+ [![PyPI version](https://badge.fury.io/py/package-utils.svg)](https://badge.fury.io/py/package-utils)
3
+ ![Python version](https://img.shields.io/badge/python-3.10+-brightgreen)
4
+ ![Operating system](https://img.shields.io/badge/os-linux%20%7c%20macOS%20%7c%20windows-brightgreen)
5
+ ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
6
+
7
+ ## Usage
8
+
9
+ ```python
10
+ from dataclasses import dataclass, field
11
+ from pathlib import Path
12
+
13
+ from package_utils.cli.entry_point import create_entry_point
14
+
15
+
16
+ @dataclass
17
+ class Options:
18
+ debug: bool = False
19
+ output_path: Path = field(default_factory=Path.cwd)
20
+
21
+
22
+ def main(options: Options):
23
+ ...
24
+
25
+
26
+ entry_point = create_entry_point(main)
27
+
28
+
29
+ if __name__ == "__main__":
30
+ entry_point()
31
+ ```
32
+ see examples in [tests](https://github.com/quintenroets/package-utils/tree/main/tests) and [python-package-template](https://github.com/quintenroets/python-package-template/blob/main/src/python_package_template/cli/entry_point.py)
33
+
34
+ ## Installation
35
+ ```shell
36
+ pip install package-utils
37
+ ```
@@ -1,23 +1,20 @@
1
1
  [project]
2
2
  name = "package-utils"
3
- version = "0.4.0"
3
+ version = "0.4.2"
4
4
  description = "Common utilities for Python packages"
5
5
  authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
6
6
  license = {text = "MIT"}
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.10"
9
9
  dependencies = [
10
- "typer>=0.9",
10
+ "typer>=0.9, <1",
11
11
  ]
12
12
 
13
13
  [project.optional-dependencies]
14
14
  dev = [
15
- "coverage",
16
- "hypothesis",
17
- "package-dev-utils>=0.1",
18
- "pre-commit",
19
- "pytest",
20
- "superpathlib",
15
+ "superpathlib >=1.3.7, <2",
16
+ "package-dev-tools >=0.3.1, <1",
17
+ "package-dev-utils >= 0.1.3, <1",
21
18
  ]
22
19
 
23
20
  [project.urls]
File without changes
@@ -0,0 +1,53 @@
1
+ Metadata-Version: 2.1
2
+ Name: package-utils
3
+ Version: 0.4.2
4
+ Summary: Common utilities for Python packages
5
+ Author-email: Quinten Roets <qdr2104@columbia.edu>
6
+ License: MIT
7
+ Project-URL: Source Code, https://github.com/quintenroets/package-utils
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: typer<1,>=0.9
12
+ Provides-Extra: dev
13
+ Requires-Dist: superpathlib<2,>=1.3.7; extra == "dev"
14
+ Requires-Dist: package-dev-tools<1,>=0.3.1; extra == "dev"
15
+ Requires-Dist: package-dev-utils<1,>=0.1.3; extra == "dev"
16
+
17
+ # Package Utils
18
+ [![PyPI version](https://badge.fury.io/py/package-utils.svg)](https://badge.fury.io/py/package-utils)
19
+ ![Python version](https://img.shields.io/badge/python-3.10+-brightgreen)
20
+ ![Operating system](https://img.shields.io/badge/os-linux%20%7c%20macOS%20%7c%20windows-brightgreen)
21
+ ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
22
+
23
+ ## Usage
24
+
25
+ ```python
26
+ from dataclasses import dataclass, field
27
+ from pathlib import Path
28
+
29
+ from package_utils.cli.entry_point import create_entry_point
30
+
31
+
32
+ @dataclass
33
+ class Options:
34
+ debug: bool = False
35
+ output_path: Path = field(default_factory=Path.cwd)
36
+
37
+
38
+ def main(options: Options):
39
+ ...
40
+
41
+
42
+ entry_point = create_entry_point(main)
43
+
44
+
45
+ if __name__ == "__main__":
46
+ entry_point()
47
+ ```
48
+ see examples in [tests](https://github.com/quintenroets/package-utils/tree/main/tests) and [python-package-template](https://github.com/quintenroets/python-package-template/blob/main/src/python_package_template/cli/entry_point.py)
49
+
50
+ ## Installation
51
+ ```shell
52
+ pip install package-utils
53
+ ```
@@ -0,0 +1,6 @@
1
+ typer<1,>=0.9
2
+
3
+ [dev]
4
+ superpathlib<2,>=1.3.7
5
+ package-dev-tools<1,>=0.3.1
6
+ package-dev-utils<1,>=0.1.3
@@ -1,31 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: package-utils
3
- Version: 0.4.0
4
- Summary: Common utilities for Python packages
5
- Author-email: Quinten Roets <qdr2104@columbia.edu>
6
- License: MIT
7
- Project-URL: Source Code, https://github.com/quintenroets/package-utils
8
- Requires-Python: >=3.10
9
- Description-Content-Type: text/markdown
10
- License-File: LICENSE
11
- Requires-Dist: typer>=0.9
12
- Provides-Extra: dev
13
- Requires-Dist: coverage; extra == "dev"
14
- Requires-Dist: hypothesis; extra == "dev"
15
- Requires-Dist: package-dev-utils>=0.1; extra == "dev"
16
- Requires-Dist: pre-commit; extra == "dev"
17
- Requires-Dist: pytest; extra == "dev"
18
- Requires-Dist: superpathlib; extra == "dev"
19
-
20
- # Package Utils
21
- [![PyPI version](https://badge.fury.io/py/package-utils.svg)](https://badge.fury.io/py/package-utils)
22
- ![Python version](https://img.shields.io/badge/python-3.10+-brighgreen.svg)
23
- ![Coverage](https://img.shields.io/badge/Coverage-100%25-brightgreen)
24
-
25
- ## Usage
26
- see examples in [tests](https://github.com/quintenroets/package-utils/tree/main/tests) and [pyhton-package-template](https://github.com/quintenroets/python-package-template/blob/main/src/python_package_template/cli/entry_point.py)
27
-
28
- ## Installation
29
- ```shell
30
- pip install package-utils
31
- ```
@@ -1,12 +0,0 @@
1
- # Package Utils
2
- [![PyPI version](https://badge.fury.io/py/package-utils.svg)](https://badge.fury.io/py/package-utils)
3
- ![Python version](https://img.shields.io/badge/python-3.10+-brighgreen.svg)
4
- ![Coverage](https://img.shields.io/badge/Coverage-100%25-brightgreen)
5
-
6
- ## Usage
7
- see examples in [tests](https://github.com/quintenroets/package-utils/tree/main/tests) and [pyhton-package-template](https://github.com/quintenroets/python-package-template/blob/main/src/python_package_template/cli/entry_point.py)
8
-
9
- ## Installation
10
- ```shell
11
- pip install package-utils
12
- ```
@@ -1,31 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: package-utils
3
- Version: 0.4.0
4
- Summary: Common utilities for Python packages
5
- Author-email: Quinten Roets <qdr2104@columbia.edu>
6
- License: MIT
7
- Project-URL: Source Code, https://github.com/quintenroets/package-utils
8
- Requires-Python: >=3.10
9
- Description-Content-Type: text/markdown
10
- License-File: LICENSE
11
- Requires-Dist: typer>=0.9
12
- Provides-Extra: dev
13
- Requires-Dist: coverage; extra == "dev"
14
- Requires-Dist: hypothesis; extra == "dev"
15
- Requires-Dist: package-dev-utils>=0.1; extra == "dev"
16
- Requires-Dist: pre-commit; extra == "dev"
17
- Requires-Dist: pytest; extra == "dev"
18
- Requires-Dist: superpathlib; extra == "dev"
19
-
20
- # Package Utils
21
- [![PyPI version](https://badge.fury.io/py/package-utils.svg)](https://badge.fury.io/py/package-utils)
22
- ![Python version](https://img.shields.io/badge/python-3.10+-brighgreen.svg)
23
- ![Coverage](https://img.shields.io/badge/Coverage-100%25-brightgreen)
24
-
25
- ## Usage
26
- see examples in [tests](https://github.com/quintenroets/package-utils/tree/main/tests) and [pyhton-package-template](https://github.com/quintenroets/python-package-template/blob/main/src/python_package_template/cli/entry_point.py)
27
-
28
- ## Installation
29
- ```shell
30
- pip install package-utils
31
- ```
@@ -1,9 +0,0 @@
1
- typer>=0.9
2
-
3
- [dev]
4
- coverage
5
- hypothesis
6
- package-dev-utils>=0.1
7
- pre-commit
8
- pytest
9
- superpathlib
File without changes
File without changes