Skip to main content

com2ann

Tool for translation of type comments to type annotations in Python.

This tool requires Python 3.8 to run. But the supported target code version is Python 3.4+ (can be specified with --python-minor-version).

Currently, the tool translates function and assignment type comments to type annotations.

The philosophy of of the tool is too minimally invasive, and preserve original formatting as much as possible. This is why the tool doesn’t use un-parse.

Metadata

Release files for com2ann 0.3.0

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

Source distribution (sdist)

Source distribution for com2ann 0.3.0
File Size Uploaded Provenance
com2ann-0.3.0.tar.gz 14.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 26.4 kB

Release files / com2ann-0.3.0.tar.gz

Download URL com2ann-0.3.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0da5e3900292057e5c4a5e33b21fe48817b4923437a095e6a677dff94b3d4e10
BLAKE2b-256 checksum
How to use checksums
0d139fda82ea58462b65a6afb84392e58d3f5c1adae5124b5cf86f31f8152ae9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.6

Release files / com2ann-0.3.0-py3-none-any.whl

Download URL com2ann-0.3.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb0994c7ea9e6f847c98b20d0cc056aa90c256937d3aede504026663d7f36bb6
BLAKE2b-256 checksum
How to use checksums
35ad71dee203144d0fb0decb034adafb189285994adee55f144054e2c76cc6ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.6

Security for com2ann 0.3.0

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.

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