Skip to main content

cli_veripy

This is a robust CLI arguments verification and management module that I made for use in my own CLI projects.

Quickstart/Features

  • pargs are positional arguments and can be accessed via cli_args_instance[some integer index] or via a key string if a parg name is provided via pargs_names

  • The CLIArgument class (not to be confused with CLIArguments) can be used instead of types when defining your positional arguments, keyword arguments and flags for extra validation and documentation.

  • If help_menu is set to True when creating the CLIArguments, you can display documentation (if available) for the argument by doing python program_name.py help:argument_name.

  • To require a CLI argument to be an existing file system path, you can set the CLI argument type to ExistingPath. The CLIArguments class will then automatically handle any invalid paths.

  • If you wish to have CLI errors handled by CLIArguments just set exit_on_invalid to true when CLIArguments.__init__ is called.

Metadata

Release files for cli-veripy 1.2.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cli-veripy 1.2.12
File Size Uploaded
cli_veripy-1.2.12.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cli-veripy 1.2.12
File Interpreter ABI Platform
cli_veripy-1.2.12-py3-none-any.whl Python 3 none any Details

Total release size: 20.6 kB

Release files / cli_veripy-1.2.12.tar.gz

Download URL cli_veripy-1.2.12.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2ab96c05a4c3785fa79b384992adc429fc770b034449ce9a42827b44fb5fb7d9
BLAKE2b-256 checksum
How to use checksums
6360c26bed53bf0e00e3d9ed997216b689feab1b9345c765fc227e1f08b21e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / cli_veripy-1.2.12-py3-none-any.whl

Download URL cli_veripy-1.2.12-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bfdb59c40386a42f799e6d808804f6d0da3ee615ca0b0c60a4003bdce46066e
BLAKE2b-256 checksum
How to use checksums
fc04eb385f7628384b4012244597c074284f78b18481b476bd84359ee06eacb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.2.12 This release

2 release files

1.2.9

2 release files

1.1.9

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page