arcon
Persistent runtime config
Child class of argparse.ArgumentParser
Includes version argument as a default
Default values are defined through pyproject.toml
Includes additional argument adding methods
>>> __version__ = "0.1.0"
>>> from arcon import ArgumentParser
Parsing comma separated list
>>> parser = ArgumentParser(__version__)
>>> parser.add_list_argument("-l", "--list")
>>> parser.parse_args(["--list", "comma,separated,list"])
Namespace(list=['comma', 'separated', 'list'])
Parsing dict of comma separated lists
>>> parser = ArgumentParser(__version__)
>>> parser.add_dict_argument("-d", "--dict")
>>> parser.parse_args(["--dict", "key=comma,separated,list"])
Namespace(dict={'key': ['comma', 'separated', 'list']})
Metadata
Release files for arcon 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arcon-0.4.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arcon-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / arcon-0.4.0.tar.gz
| Download URL | arcon-0.4.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b243f265d5f1eacf0025d072ef4d3385b0f33c20b247d017a25948b3b19805b1
|
|
BLAKE2b-256 checksum How to use checksums |
5be726fec91ce4ea7a91f7e21d786d060d6e9f515a9338623e4f2c0efcd86995
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.8.13 Darwin/23.4.0
|
Release files / arcon-0.4.0-py3-none-any.whl
| Download URL | arcon-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19488bca11b6facb59c2d3f587e8685aa6afc99764b0956fa2c2837fc0fff6a9
|
|
BLAKE2b-256 checksum How to use checksums |
7250f1afe9243c872454e9273b95616ab5d4ca795ca8c5675d21db473b2f6bef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.8.13 Darwin/23.4.0
|