Skip to main content

Python documentation annotation metadata

Document symbols via annotation metadata, as described by PEP 727.

This will become an alias to the same functionality in typing_extensions if and when it is implemented.

Installation

pip install docannometa

Usage

from typing import Annotated

from docannometa import Doc

def repeat(
    text: Annotated[str, Doc("String to repeat")],
    n: Annotated[int, Doc("Number of times to repeat")],
) -> Annotated[str, Doc("Result string of length `n * len(text)`")]:
    """Repeat a string multiple times then concatenate."""
    return text * n

Metadata

Release files for docannometa 0.2

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

Source distribution (sdist)

Source distribution for docannometa 0.2
File Size Uploaded Provenance Actions
docannometa-0.2.tar.gz 1.3 kB Without provenance Details for docannometa-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docannometa 0.2
File Interpreter ABI Platform Actions
docannometa-0.2-py3-none-any.whl Python 3 none any Details for docannometa-0.2-py3-none-any.whl

Total release size: 3.0 kB

Release files / docannometa-0.2.tar.gz

Download URL docannometa-0.2.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5ad666be945955bf3d4c9924a0cf719c83d16bdc16a57f07f27396322b225300
BLAKE2b-256 checksum
How to use checksums
04043ed5b6698afe2cdedb53a7dbea0ba243315261793f323899cf5861e6d5e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / docannometa-0.2-py3-none-any.whl

Download URL docannometa-0.2-py3-none-any.whl
Size 1.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9794eea73d2f8637c4006f39beb24f6cd3684618ab4371215caa9d0fdef4d3f
BLAKE2b-256 checksum
How to use checksums
d74ff8256c436bab6fb3fb81a1ecac24554b04bae52632959e74a5b8b00b76f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for docannometa 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

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