get args from command line, environment and configuration file.
Project description
get_args
get args from command line, environment and configuration file.
https://packaging.python.org/tutorials/packaging-projects/
args definition:
a public_ip_api:
action: store
nargs: +
const:
default:
- http://www.myipaddress.com/
- https://www.ipip.net/
- http://20019.ip138.com/
type: !!python/name:builtins.list
choices:
required:
help: public http[s] api to get public ip
metavar: API
dest:
options:
prog: ''
usage: '%(prog)s [options]'
description: 'ddns_client'
epilog: 'generated by get_args.'
add_help: ''
allow_abbrev: true
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
get_args-1.3.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
get_args-1.3-py3-none-any.whl
(20.2 kB
view details)
File details
Details for the file get_args-1.3.tar.gz.
File metadata
- Download URL: get_args-1.3.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff6bf8bfa517fc8bcbabe494fbf659712fdc61e7f18c4a60cee53a5c08c14ae2
|
|
| MD5 |
e9a3e34e462c5bc39cefef233244a5f8
|
|
| BLAKE2b-256 |
defad93271d089ca9ada30c92b371c54624e0f9fa61e635d9c3cf15154eb86e4
|
File details
Details for the file get_args-1.3-py3-none-any.whl.
File metadata
- Download URL: get_args-1.3-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4660c216beee4d7793dbc11c3f7be49b8aaca5e262ac04b29ea3b4d1ac3019d3
|
|
| MD5 |
bca95e7f3335ea43f0ba74c091247f06
|
|
| BLAKE2b-256 |
6651548d3199f0d1f46b437cbf455abc7db051cb9640f7d7721bf4e4db92db9f
|