A custom argument parser for non-standard arguments. Useful for Appworx
Project description
bearparse
A custom argument parser for non-standard arguments. Useful for Appworx
Purpose
To simplify
Requirements
- Python 3.8+
Usage
from bearparse import Argument, ArgumentParser
# Create the parser
parser = ArgumentParser(description="Program Description")
parser.add_argument(Argument(name="arg", description="First Argument"))
parser.add_argument(Argument(name="arg2", description="Required Argument", required=True))
# Parse from argv
args = parser.parse_args()
print(args.parsed)
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
bearparse-0.3.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for bearparse-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f64f883e85a0ce2fd6e5f661e63b3ec74b81b07e2f183921261bab7ffabb83 |
|
MD5 | 6d8d1cee9a88b03a1b7613a9066d7269 |
|
BLAKE2b-256 | 0db7a77f1362bd2734c8167cc8012602dd1f1d1a83e47dbe1096ac5c6253dad4 |