typedparser 0.9.2__tar.gz → 0.10.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.
- {typedparser-0.9.2 → typedparser-0.10.2}/LICENSE +1 -1
- {typedparser-0.9.2 → typedparser-0.10.2}/PKG-INFO +6 -3
- {typedparser-0.9.2 → typedparser-0.10.2}/pyproject.toml +5 -2
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser/__init__.py +16 -3
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser.egg-info/PKG-INFO +6 -3
- {typedparser-0.9.2 → typedparser-0.10.2}/README.md +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/requirements.txt +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/setup.cfg +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser/_typedattr.py +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser/_typedparser.py +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser/custom_format.py +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser/funcs.py +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser/objects.py +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser.egg-info/SOURCES.txt +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser.egg-info/dependency_links.txt +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser.egg-info/requires.txt +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser.egg-info/top_level.txt +0 -0
- {typedparser-0.9.2 → typedparser-0.10.2}/src/typedparser.egg-info/zip-safe +0 -0
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2023
|
|
189
|
+
Copyright 2023 simon-ging
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: typedparser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10.2
|
|
4
4
|
Summary: Extension for python argparse with typehints and typechecks.
|
|
5
|
-
Author:
|
|
5
|
+
Author: simon-ging
|
|
6
6
|
License: Apache-2.0
|
|
7
|
-
Project-URL: Project-URL, https://github.com/
|
|
7
|
+
Project-URL: Project-URL, https://github.com/simon-ging/typedparser
|
|
8
8
|
Keywords: attrs,typing,dict,attr
|
|
9
9
|
Platform: any
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -14,6 +14,9 @@ Classifier: Natural Language :: English
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.7
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.8
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
20
|
Classifier: Operating System :: OS Independent
|
|
18
21
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
19
22
|
Requires-Python: >=3.7
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
name = "typedparser"
|
|
7
7
|
description = "Extension for python argparse with typehints and typechecks."
|
|
8
8
|
readme = "README.md"
|
|
9
|
-
authors = [{ "name" = "
|
|
9
|
+
authors = [{ "name" = "simon-ging" }]
|
|
10
10
|
requires-python = ">=3.7"
|
|
11
11
|
license = { text = "Apache-2.0" }
|
|
12
12
|
keywords = ["attrs", "typing", "dict", "attr"]
|
|
@@ -18,13 +18,16 @@ classifiers = [
|
|
|
18
18
|
"Programming Language :: Python :: 3.7",
|
|
19
19
|
"Programming Language :: Python :: 3.8",
|
|
20
20
|
"Programming Language :: Python :: 3.9",
|
|
21
|
+
"Programming Language :: Python :: 3.10",
|
|
22
|
+
"Programming Language :: Python :: 3.11",
|
|
23
|
+
"Programming Language :: Python :: 3.12",
|
|
21
24
|
"Operating System :: OS Independent",
|
|
22
25
|
"Topic :: Software Development :: Version Control :: Git"
|
|
23
26
|
]
|
|
24
27
|
dynamic = ["version", "dependencies"]
|
|
25
28
|
|
|
26
29
|
[project.urls]
|
|
27
|
-
Project-URL = "https://github.com/
|
|
30
|
+
Project-URL = "https://github.com/simon-ging/typedparser"
|
|
28
31
|
|
|
29
32
|
[tool.setuptools]
|
|
30
33
|
zip-safe = true
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
from attrs import define as attrs_define
|
|
2
|
+
|
|
1
3
|
from ._typedattr import definenumpy, attrs_from_dict, NamedTupleMixin
|
|
2
4
|
from ._typedparser import add_argument, TypedParser, VerboseQuietArgs
|
|
3
5
|
from .custom_format import CustomArgparseFmt
|
|
4
6
|
from .objects import get_attr_names
|
|
5
|
-
from attrs import define
|
|
6
7
|
|
|
7
8
|
__all__ = [
|
|
8
9
|
"definenumpy",
|
|
@@ -13,6 +14,18 @@ __all__ = [
|
|
|
13
14
|
"VerboseQuietArgs",
|
|
14
15
|
"CustomArgparseFmt",
|
|
15
16
|
"get_attr_names",
|
|
16
|
-
"define", # deprecated, use `from attr import define` directly instead
|
|
17
17
|
]
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def define(*args, **kwargs):
|
|
21
|
+
print(
|
|
22
|
+
f"Importing define from typedparser is deprecated, please import from attrs directly. "
|
|
23
|
+
f"This import will stop working in the future."
|
|
24
|
+
)
|
|
25
|
+
return attrs_define(
|
|
26
|
+
*args,
|
|
27
|
+
**kwargs,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
__version__ = "0.10.2"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: typedparser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10.2
|
|
4
4
|
Summary: Extension for python argparse with typehints and typechecks.
|
|
5
|
-
Author:
|
|
5
|
+
Author: simon-ging
|
|
6
6
|
License: Apache-2.0
|
|
7
|
-
Project-URL: Project-URL, https://github.com/
|
|
7
|
+
Project-URL: Project-URL, https://github.com/simon-ging/typedparser
|
|
8
8
|
Keywords: attrs,typing,dict,attr
|
|
9
9
|
Platform: any
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -14,6 +14,9 @@ Classifier: Natural Language :: English
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.7
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.8
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
20
|
Classifier: Operating System :: OS Independent
|
|
18
21
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
19
22
|
Requires-Python: >=3.7
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|