A library that allows converts JSON into an argparse ArgumentParser
Project description
argparsejson
Easily parse arguments, simply by writing JSON!
Getting Started
- Copy
example_commands.json
tocommands.json
- Modify as necessary.
- To get an
argparse
ArgumentParser, callargparsejson.parse_arguments(<commands_file>)
(adding optional parameters if necessary). Then, callparse_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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5035444fdb64135705bbe14c764122fffad2f96b2a64d9d89d2a1f4608888b52 |
|
MD5 | 0ed169705c8da364118eca5e3b55be56 |
|
BLAKE2b-256 | 8743f519308922266d6dc198b0bc578b3aa08230e7f9a4347bd6239a967b0c35 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116d91cb0f3c1dcd87025fe2f3b7d03b8f77c279cbc4470d6b9d1d8e38e96f26 |
|
MD5 | 02be4c658f554a6ae4b70a1ce7c37886 |
|
BLAKE2b-256 | 4f581175b352f61718714702550406c4d7250e149b6c8cb5523e53c877f423f3 |