Project description
Python package for autogenerating python docstrings, built on top of Parso.
This project can be wrapped by an editor extension to provide docstrings as autocompletion or in response to a shortcut command.
Status
Ready for basic use - Supports Google, Numpy, and reST docstring formats, and it’s pretty simple to create your own formatter.
Types are able to be inferred for some things, but if they can’t be worked out ‘TYPE’ is just inserted instead.
Doesn’t support more complicated things like converting between styles or updating docstrings.
Future
Check the issues for any more, but the nice-to-haves are:
Docstring insertion for a whole file
Updating docstrings for methods with changed paramenters/exeptions/Types
Conversion between docstring styles
API
For integration with editors, there’s a really simple api avaialble (just a single call), check out the docs for more on that.
Download
pydocstring is on PyPI and can be installed with pip:
pip install pydocstring
Development
Testing/Coverage is automanted with tox. Pull requests are welcome.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pydocstring-0.2.1.tar.gz
.
File metadata
-
Download URL:
pydocstring-0.2.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Hashes for pydocstring-0.2.1.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
af28e075d525cd8e806292c7dfff71f04c233ed182881afbf267de4297bd9cc3 |
|
MD5 |
5c8f57b6a5e1eda31516a1e6543e87ce |
|
BLAKE2b-256 |
1d792a2229692bb64dc16565f5769da7e094d28c0e27b8b935d6787bfb0fe89c |
|
See more details on using hashes here.
File details
Details for the file pydocstring-0.2.1-py2.py3-none-any.whl
.
File metadata
-
Download URL:
pydocstring-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 2, Python 3
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Hashes for pydocstring-0.2.1-py2.py3-none-any.whl
Algorithm |
Hash digest |
|
SHA256 |
1c23416f67598232bb1ea6d01b95288a6b3fbc17ad001fc4af5050c96cc177eb |
|
MD5 |
da8c2f6d4b6fb36f1b27d2eb8366819a |
|
BLAKE2b-256 |
ac6b3e3e86a1e7028d57e14778ff9a3fe223f7891509e914a3893dc7c50a11b8 |
|
See more details on using hashes here.