Skip to main content

A library that allows converts JSON into an argparse ArgumentParser

Project description

argparsejson

Easily parse arguments, simply by writing JSON!

Build Status

Generate JSON Schema docs

Getting Started

  1. Copy example_commands.json to commands.json
  2. Modify as necessary.
  3. To get an argparse ArgumentParser, call argparsejson.parse_arguments(<commands_file>) (adding optional parameters if necessary). Then, call parse_args() on the returned ArgumentParser.

Documentation

All documentation can be found here

The fully up-to-date JSON schema can be found here

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

argparsejson-0.0.6.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argparsejson-0.0.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file argparsejson-0.0.6.tar.gz.

File metadata

  • Download URL: argparsejson-0.0.6.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.0

File hashes

Hashes for argparsejson-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5035444fdb64135705bbe14c764122fffad2f96b2a64d9d89d2a1f4608888b52
MD5 0ed169705c8da364118eca5e3b55be56
BLAKE2b-256 8743f519308922266d6dc198b0bc578b3aa08230e7f9a4347bd6239a967b0c35

See more details on using hashes here.

File details

Details for the file argparsejson-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: argparsejson-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.0

File hashes

Hashes for argparsejson-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 116d91cb0f3c1dcd87025fe2f3b7d03b8f77c279cbc4470d6b9d1d8e38e96f26
MD5 02be4c658f554a6ae4b70a1ce7c37886
BLAKE2b-256 4f581175b352f61718714702550406c4d7250e149b6c8cb5523e53c877f423f3

See more details on using hashes here.

Supported by

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