Skip to main content

referencer-py

Travis Coveralls PyPi Github

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

Features

  • Uses pydoc-markdown under the hood

Getting Started

The package uses semantic versioning. It means that major versions could include breaking changes.

$ pip install referencer

Documentation

referencer package README.md --in-place

API Reference

cli

cli(package, document, **options)

Command-line interface

Usage: referencer [OPTIONS] PACKAGE DOCUMENT

Options:
  --in-place               [default: False]
  --package-pattern TEXT   [default: from \.(\w+) import (\w+)]
  --document-section TEXT  [default: ## Reference]
  --version                Show the version and exit.
  --help                   Show this message and exit.

generate_document

generate_document(package, document, package_pattern='from \\.(\\w+) import (\\w+)', document_section='## API 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.x

  • Initial version

Metadata

Release files for referencer 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for referencer 0.2.3
File Size Uploaded Provenance Actions
referencer-0.2.3.tar.gz 6.1 kB Without provenance Details for referencer-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for referencer 0.2.3
File Interpreter ABI Platform Actions
referencer-0.2.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for referencer-0.2.3-py2.py3-none-any.whl

Total release size: 12.2 kB

Release files / referencer-0.2.3.tar.gz

Download URL referencer-0.2.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a38e3d87fda84d40c42c136713727c9dacb4cdf2218fa02fca8df3518e3bb3b4
BLAKE2b-256 checksum
How to use checksums
961667d11d65150dcfde956c21aca4a987fe1b329189a55dcb550ceae36bd93f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / referencer-0.2.3-py2.py3-none-any.whl

Download URL referencer-0.2.3-py2.py3-none-any.whl
Size 6.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f16657bb6aef5a9d3a84f018a1509fc73e579919d86ef60eca3512f8692b37ca
BLAKE2b-256 checksum
How to use checksums
2c9aea9b93af8bce7690d886fd9dfb0a43e7949061e5286586e6e7af28e02e33
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for referencer 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page