Tool to translate type comments to annotations.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
com2ann-0.1.1.tar.gz
(14.8 kB
view details)
Built Distribution
com2ann-0.1.1-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file com2ann-0.1.1.tar.gz
.
File metadata
- Download URL: com2ann-0.1.1.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.8.0b1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91823f458860e0e1a22e917886fa74e8acfaa7653f7406a1a9c87e0252cd6a74 |
|
MD5 | 845a122e4b05f16b49e6731db610a0f9 |
|
BLAKE2b-256 | e07daaf00f96bf8c350590c18472421ea70f904749c70456a7a4fb9deabcc8a0 |
File details
Details for the file com2ann-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: com2ann-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.8.0b1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 390f37cd5799fba1d4e4c0ed8dac8e6221f1bbce28bdac0c893e47e2de2d76ec |
|
MD5 | 25e311247f8c180eaea1d0f01318bf50 |
|
BLAKE2b-256 | 815eb736b49d82425f3c519a5783de47bc5cc61bffcfa32bdb0b46fefd552204 |