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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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