Skip to main content

Generate a markfown reference from your public API docstrings and add it to your readme

Project description

referencer-py

Travis Coveralls PyPi Github

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


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)

Uploaded Source

Built Distribution

referencer-0.1.2-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

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

Hashes for referencer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 44683427393164360d6f5d044856aea865b026cdeeded5e15c2c3dd66b7b4629
MD5 4544e7757ac0d7e07f4f22c18efb2e2b
BLAKE2b-256 4ea01df2efc4fd179ee3950c8e4704db543c4c4e197cd83695424282e58b5e61

See more details on using hashes here.

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

Hashes for referencer-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d7d115ab8133883581762df5e99f237c146b2ac861fb252707f57d0f81733fb5
MD5 e5e6954ff546a8fd0bffd1d14f713fd5
BLAKE2b-256 5f0f8ccd12d7e5b1083c1c14aaa096d164ffb5244e6781beee4829e2351dd39e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page