addition types to use with argparse
Project description
argparse_types
Special argparse types
How to install
to add
description
Adds addition types to the argparse library.
how to use
# to add
types
- pos_int - Positive int value not including 0
- neg_int - Negative int value not including 0
- zero_int - Zero int value
- pos_float - Positive float value not including 0
- neg_float - Negative float value not including 0
- zero_float - Zero float value
- bool_none - True, False, None value
- ip4 - ip address 0.0.0.0 to 255.255.255.255 not including port
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
argparse_types-0.1.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for argparse_types-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0048112af9e9e6c4eda75089a7387609c9c7b4cd2f2b77a49d7f63dfd3e98f10 |
|
MD5 | b131808f09219b3b0e002825cb17c6d6 |
|
BLAKE2b-256 | f6f39e98b81fdb85b1783e7549cda07d807dd5735c46c9df4a158269f28b50ab |