Skip to main content

A custom argument parser for non-standard arguments. Useful for Appworx

Project description

bearparse

Python Unittests codecov

pipeline status coverage report

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 details)

Uploaded Source

Built Distribution

bearparse-0.3.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file bearparse-0.3.3.tar.gz.

File metadata

  • Download URL: bearparse-0.3.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.7.5-arch1-1

File hashes

Hashes for bearparse-0.3.3.tar.gz
Algorithm Hash digest
SHA256 d626b7e636b58c58b52676f58fcf2a91f4aeb4a9ba1a9bf239931528b025cc3f
MD5 5fed25c6e7a0a651aa8e976c804efe3a
BLAKE2b-256 3c23dcbb79a5a1c93307c518575d304c325835c51ffdd70394990a0f2c9a1232

See more details on using hashes here.

File details

Details for the file bearparse-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: bearparse-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.7.5-arch1-1

File hashes

Hashes for bearparse-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c9f64f883e85a0ce2fd6e5f661e63b3ec74b81b07e2f183921261bab7ffabb83
MD5 6d8d1cee9a88b03a1b7613a9066d7269
BLAKE2b-256 0db7a77f1362bd2734c8167cc8012602dd1f1d1a83e47dbe1096ac5c6253dad4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page