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.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file referencer-0.1.0.tar.gz
.
File metadata
- Download URL: referencer-0.1.0.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 | 32e9c90ccdc00bc7a4e27a1cb48b3f330348f5fb050c22d5d09b2e4abb465340 |
|
MD5 | 0b872af1296902154c0a35afeeb2fa8d |
|
BLAKE2b-256 | b3720bef09553d9f6880feb9d4aa9885a96867921791d9c8fb3e36b745e39716 |
File details
Details for the file referencer-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: referencer-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 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 | 42b3639a158b9e7b629b64fc2d2868a866c28f59c033a05f1beb2d4e74a93577 |
|
MD5 | 518174fec1d51428d96d6dee6b8d7381 |
|
BLAKE2b-256 | 2d67a8b11f1e61ea3c1a092cf7fbe280524c307cd1ce01c4117f3b3c6dd41272 |