Skip to main content

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


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)

Uploaded Source

Built Distribution

argparse_types-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page