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.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for bearparse-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d74244495f09a42f1e0f3bf8b8885a53d9eb060f80231c4abc3b94682c6093c9 |
|
MD5 | a86d6e783b0f42688ef633765462e279 |
|
BLAKE2b-256 | 48921c26119dcbc8e980dabef2d77c41494477624e4f48f148780da19dadfe35 |