Generate a markfown reference from your public API docstrings and add it to your readme
Project description
referencer-py
Generate a markdown reference from your public API docstrings and adds it to your readme.
Features
- Uses
pydoc-markdown
under the hood
Installation
The package uses semantic versioning. It means that major versions could include breaking changes.
$ pip install referencer
Documentation
referencer package README.md --in-place
Reference
cli
cli(package, document, **options)
Command-line interface
generate_document
generate_document(package, document, package_pattern='from \\.(\\w+) import (\\w+)', document_section='## Reference')
Generate document
generate_reference
generate_reference(package, package_pattern='from \\.(\\w+) import (\\w+)')
Generate reference
Contributing
virtualenv .python -ppython3.7
source .python/bin/activate
make install
make test
Changelog
v0.1
- Initial version
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
referencer-0.1.2.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file referencer-0.1.2.tar.gz
.
File metadata
- Download URL: referencer-0.1.2.tar.gz
- Upload date:
- Size: 5.2 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.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44683427393164360d6f5d044856aea865b026cdeeded5e15c2c3dd66b7b4629 |
|
MD5 | 4544e7757ac0d7e07f4f22c18efb2e2b |
|
BLAKE2b-256 | 4ea01df2efc4fd179ee3950c8e4704db543c4c4e197cd83695424282e58b5e61 |
File details
Details for the file referencer-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: referencer-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 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.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d115ab8133883581762df5e99f237c146b2ac861fb252707f57d0f81733fb5 |
|
MD5 | e5e6954ff546a8fd0bffd1d14f713fd5 |
|
BLAKE2b-256 | 5f0f8ccd12d7e5b1083c1c14aaa096d164ffb5244e6781beee4829e2351dd39e |