docs |
|
|---|---|
tests |
|
package |
Welcome! Additionally to the default behaviour of the argparse.ArgumentParser, the funcargparse.FuncArgParser in this package allows you to
automatically create a parser entirely from the docstring of a function, including the help, metavar, action, type and other parameters
Let’s you chain subparsers
There are a lot of argparse extensions out there, but through the use of the docrep package, this package can extract much more information to automate the creation of the command line utility.
See the documentation for more information.
Installation
Simply install it via pip:
$ pip install funcargparse
Or you install it via:
$ python setup.py install
from the source on GitHub.
Requirements
The package only requires the docrep package which we use under the hood to extract the necessary parts from the docstrings.
The package has been tested for python 2.7 and 3.5.
Disclaimer
Copyright 2016-2019, Philipp S. Sommer
Copyright 2020-2021, Helmholtz-Zentrum Hereon
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for funcargparse 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| funcargparse-0.2.5.tar.gz | 33.2 kB | Details |
Release files / funcargparse-0.2.5.tar.gz
| Download URL | funcargparse-0.2.5.tar.gz |
|---|---|
| Size | 33.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f33d0d2ad4b865e7726c4de3bf8c3e4d36313acf6cf0cff945cead396ec80fea
|
|
BLAKE2b-256 checksum How to use checksums |
44fe73be35c853435686237e0120c4ffb3aecd27a6061b0d304873ad84b7f2de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|