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.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for bearparse-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 943a91675cc899262f210c445c6f2cc529c8197d488efd765e271dd50f3a2ec2 |
|
MD5 | 0c23e92a20c79f6b4b5efba8d4c4dc0b |
|
BLAKE2b-256 | c42ba22b5cfb2e03d2e7c3d0942bec1b23aaa912e8e534097821829301a03cd1 |