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.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

referencer-0.1.0-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2 Python 3

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

Hashes for referencer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 32e9c90ccdc00bc7a4e27a1cb48b3f330348f5fb050c22d5d09b2e4abb465340
MD5 0b872af1296902154c0a35afeeb2fa8d
BLAKE2b-256 b3720bef09553d9f6880feb9d4aa9885a96867921791d9c8fb3e36b745e39716

See more details on using hashes here.

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

Hashes for referencer-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 42b3639a158b9e7b629b64fc2d2868a866c28f59c033a05f1beb2d4e74a93577
MD5 518174fec1d51428d96d6dee6b8d7381
BLAKE2b-256 2d67a8b11f1e61ea3c1a092cf7fbe280524c307cd1ce01c4117f3b3c6dd41272

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