Skip to main content

Tool to translate docstring types to annotations.

Project description

doc2ann

Inspired by com2ann, I wanted to create a similar tool for converting docstring comments.

Usage:

Install the dependencies:

$ pip install doc2ann

Running

$ doc2ann -a your_file.py

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

doc2ann-0.2.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doc2ann-0.2.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file doc2ann-0.2.0.tar.gz.

File metadata

  • Download URL: doc2ann-0.2.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for doc2ann-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6eab9c0671f30e49dd248a2eee8ae87d523edd04939f250a1c5b633327667767
MD5 e481dfeabd8d22a392868ebaa53bdfb4
BLAKE2b-256 e625fa3f1414f24f237f0293341474100acc5d33e445274fa3a7ef2f64090052

See more details on using hashes here.

File details

Details for the file doc2ann-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: doc2ann-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for doc2ann-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb59281aace787ef2df554c2247952e7f53a419119337f7038b93ee2bf704e9f
MD5 8e7775863209a5ad140b67ce2c84f5ac
BLAKE2b-256 207a95206d6e28e02de1e3078de1f2ecc87f2ddace0f5e275d581e416740feb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page