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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| com2ann-0.3.0.tar.gz | 14.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|