argmerge 0.0.2__py3-none-any.whl → 0.0.3__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.
argmerge/cli.py CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  ```py
5
- CLI_PATTERN: re.Pattern = re.compile(r"--([A-Za-z_-]+)=([0-9A-Za-z_-\.]+)")
5
+ CLI_PATTERN: re.Pattern = re.compile(r"--([A-Za-z_-]+)=([0-9A-Za-z._-]+)")
6
6
  ```
7
7
 
8
8
  - matches `'--arg=value'`
@@ -21,7 +21,7 @@ __all__ = ["CLI_PATTERN", "parse_cli"]
21
21
 
22
22
  # matches '--arg=value'
23
23
  # does not match '--arg value'
24
- CLI_PATTERN: re.Pattern = re.compile(r"--([A-Za-z_-]+)=([0-9A-Za-z_-\.]+)")
24
+ CLI_PATTERN: re.Pattern = re.compile(r"--([A-Za-z_-]+)=([0-9A-Za-z._-]+)")
25
25
 
26
26
 
27
27
  class CLIParser(SourceParser):
@@ -1,18 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: argmerge
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Add your description here
5
5
  Author-email: duck-bongos <billmannd@gmail.com>
6
6
  License-File: LICENSE
7
- Classifier: Development Status :: 3 - Alpha
8
- Classifier: Intended Audience :: Developers
9
- Classifier: Programming Language :: Python
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3 :: Only
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
7
  Requires-Python: >=3.10
17
8
  Requires-Dist: loguru>=0.7.3
18
9
  Requires-Dist: mkdocs-material>=9.6.21
@@ -34,11 +25,8 @@ _Customize how program defaults and overrides from config files, environment var
34
25
  |---|---|
35
26
  CI/CD |
36
27
  Package | [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/argmerge.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/hatch-vcs/) |
37
- Meta|![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)
38
-
39
-
40
- ![](https://raw.githubusercontent.com/duck-bongos/py-argmerge/ee26d70afb01489a43741ff9f88347b3ada3c25a/docs/img/argmerge.svg)
41
- ![](/img/argmerge.svg)
28
+ Meta|[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)]
29
+ ![](./img/argmerge.svg)
42
30
 
43
31
  We retrieve each possible source of program arguments as Python dictionaries and then perform dictionary updates between each source before passing the final dictionary to the wrapped function. Effectively:
44
32
  ```py
@@ -1,6 +1,6 @@
1
1
  argmerge/__init__.py,sha256=Qwzs4V0UrF0t5xKzlkyETZ-2wFK5q4NRd9QzCzseDa4,101
2
2
  argmerge/base.py,sha256=sH40cnHH1hL2A3hTkT8KclQe5UsqNSEkXwR4ZF3avXo,1389
3
- argmerge/cli.py,sha256=L75YUHjQjYgRjGH9Px3T4L_d2prUemfWWZjAAk7kVfw,2725
3
+ argmerge/cli.py,sha256=6yl3ECCq-ZrwExRYuuMfud647M9ZzGUzACqo7IqSdJI,2723
4
4
  argmerge/decorator.py,sha256=ygETPoncQ8To-9-KJSl-T6thczRLBnrJ8k8ANnjhLA4,4606
5
5
  argmerge/env.py,sha256=4pujGpQQpaeXKFoEAs0gAYsp7xt0Dzwafxn16-ZJBVc,3244
6
6
  argmerge/func.py,sha256=wEdtnGy032qD8Bs5mPcB2JHp9icqgTFNYkJ0YZF6L44,3830
@@ -9,7 +9,7 @@ argmerge/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  argmerge/trace.py,sha256=TEL15zq4kB167g5_kol8gn_bcbu_g6Xfoi56F_QZcAY,4905
10
10
  argmerge/utils.py,sha256=vm831wU84oLYMECd9fNNgAoG_h4NRc4V09xLCuCSOt4,229
11
11
  argmerge/yaml.py,sha256=F67BBo3qdF8i_KSAbhHWu1-rAinvqE4OM4rHsVt5bvw,2621
12
- argmerge-0.0.2.dist-info/METADATA,sha256=fLYRYHkzHnyJwsmYe2KPKy2US8SbDUc2NQWprf5tocg,5257
13
- argmerge-0.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- argmerge-0.0.2.dist-info/licenses/LICENSE,sha256=VCHxOgrvZCaQVMK2Si3ZzeN_EqtZGohk7zFmT6MSNeg,1069
15
- argmerge-0.0.2.dist-info/RECORD,,
12
+ argmerge-0.0.3.dist-info/METADATA,sha256=9FfthDZAg7biNpSyv9u3UPmBcu3ygGOLX9OAQc9nhzQ,4693
13
+ argmerge-0.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ argmerge-0.0.3.dist-info/licenses/LICENSE,sha256=VCHxOgrvZCaQVMK2Si3ZzeN_EqtZGohk7zFmT6MSNeg,1069
15
+ argmerge-0.0.3.dist-info/RECORD,,