Pydantic 2 argparse.
Project description
pydantic-argparse-next
Argument parser based on pydantic v2.
Install:
pip install pydantic-argparse-next
Supports:
-
Positional arguments
-
Required positional arguments
-
Optional positional arguments
-
-
Keyword arguments
-
Required keyword arguments
-
Optional keyword arguments
-
-
Subcommands
-
Required subcommands
-
Optional subcommands
-
Subcommands within subcommands
-
-
Actions
-
Choice (And simple text and Enum object)
-
Store True
-
Store False
-
Variadic arguments
-
-
Extra
-
Easy saving config to file
-
Easy load config from file
-
Docs and examples:
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
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
File details
Details for the file pydantic_argparse_next-1.0.2.tar.gz.
File metadata
- Download URL: pydantic_argparse_next-1.0.2.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a38867f0cdeac153dc850723a45de418290b19876f0ce5a9cd42f41dea69cc5a
|
|
| MD5 |
3e321e06e0d1a6acac6381b00db2d8c4
|
|
| BLAKE2b-256 |
6d1c7b92838c527f12edd27371e1632f677d1a80c647630038000ce2b0224ccf
|
File details
Details for the file pydantic_argparse_next-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pydantic_argparse_next-1.0.2-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19268e95762bf84d2b9006fe69b4cd4e460396fe3a9eccbaaa1887547bfad461
|
|
| MD5 |
1d0bd5b4588396bcebbc4ba83d3b93a6
|
|
| BLAKE2b-256 |
262d88edd1c104064e547a731501f41e8fba1fa02798cae2906929a87725374c
|