Skip to main content

No project description provided

Project description

numpydoc_decorator

This package allows you to build numpy-style docstrings programmatically and apply them using a decorator. This can be useful because:

  • Parts of your documentation, such as parameter descriptions, can be shared between functions, avoiding the need to repeat yourself.

  • Type information for parameters and return values is automatically picked up from type annotations and added to the docstring, avoiding the need to maintain type information in two places.

Work in progress.

Installation

pip install numpydoc_decorator

Examples

@@TODO

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

numpydoc_decorator-0.6.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

numpydoc_decorator-0.6.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file numpydoc_decorator-0.6.0.tar.gz.

File metadata

  • Download URL: numpydoc_decorator-0.6.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.8 Linux/5.15.0-1033-azure

File hashes

Hashes for numpydoc_decorator-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8b8bbbfc7769c5e642b545e41090c914e5684c4629c503458e5a6987f9e9c5be
MD5 4f6c62e01b9ae8c5ab272f83dc5123cf
BLAKE2b-256 bdd20fff5e0413c5e7f3e1e30768858e79c4f9569ec0def21d9282c8602f08f5

See more details on using hashes here.

Provenance

File details

Details for the file numpydoc_decorator-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for numpydoc_decorator-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3044969157eb0a68b4314791c16111c50861c49bc5833d747b85dbd8136e5fd4
MD5 db31442faac4a3664a72120d0cf95b5f
BLAKE2b-256 1aa2719b83d760f6be79a1a805ecb787a57ed0ee67f4369aa5c179b4c02dd822

See more details on using hashes here.

Provenance

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