Contents

jsonargparse 4.27.7

0

Implement minimal boilerplate CLIs derived from type hints and parse from command line, config files

Implement minimal boilerplate CLIs derived from type hints and parse from command line, config files and environment variables.

Stars: 260, Watchers: 260, Forks: 38, Open Issues: 38

The omni-us/jsonargparse repo was created 4 years ago and the last code push was 4 days ago.
The project is popular with 260 github stars!

How to Install jsonargparse

You can install jsonargparse using pip

pip install jsonargparse

or add it to a project with poetry

poetry add jsonargparse

Package Details

Author
None
License
The MIT License (MIT) Copyright (c) 2019-present, Mauricio Villegas <[email protected]> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Homepage
None
PyPi:
https://pypi.org/project/jsonargparse/
GitHub Repo:
https://github.com/omni-us/jsonargparse

Classifiers

No  jsonargparse  pypi packages just yet.

Errors

A list of common jsonargparse errors.

Code Examples

Here are some jsonargparse code examples and snippets.

GitHub Issues

The jsonargparse package has 38 open issues on GitHub

  • [Feature Request] Add include other config file ability to –config parse param
  • [Feature Request] Support for ** described parameters not part of the parent class
  • Is it possible to drop init_args?

See more issues on GitHub

Related Packages & Articles

anyjson 0.3.3

Wraps the best available JSON implementation available in a common interface

docopt 0.6.2

Pythonic argument parser, that will make you smile

httpie 3.2.2

The httpie Python package is a user-friendly command-line HTTP client for the API era. It aims to simplify the interaction with web services from the command line, making it an excellent tool for testing, debugging, and interacting with APIs and HTTP servers. httpie provides a range of features, including expressive syntax, colorized output, built-in JSON support, and the ability to handle forms and file uploads. This package is a key tool in the realm of Web Development and API Testing.