Skip to main content

generate type hints using magic

Project description

magictype

Generating type hints easy

why

To use mypy we need perform such things like write type hints, but we can generate based on call of funcitons during code execution.

how

I use the module ast to parse, insert annotations and unparse

promess document perfectly and comment out everything

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

magictypes-0.7.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

magictypes-0.7.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file magictypes-0.7.0.tar.gz.

File metadata

  • Download URL: magictypes-0.7.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.2 Linux/6.1.0-13-amd64

File hashes

Hashes for magictypes-0.7.0.tar.gz
Algorithm Hash digest
SHA256 6b126f7c722f8346dc0cce8cece804307cab6076688595f2e29f2c4e304206eb
MD5 e991984090761425479d98a1cbc2d4ba
BLAKE2b-256 a4e8feaa33bf6c87fa134804e306694a8146b8e58b86b7394525edd6fae75afa

See more details on using hashes here.

File details

Details for the file magictypes-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: magictypes-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.2 Linux/6.1.0-13-amd64

File hashes

Hashes for magictypes-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1192f2c626cd8327f9c9fcd6db1c60db0d215a87f163d4f433076b6f7a2d6fb
MD5 810f7a41b6dd7bb76b661c9e7070f1db
BLAKE2b-256 9cadd802d79074a1270b1d707223aa08821eb4159f9589659937b86296f6e4f3

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