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.8.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.8.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: magictypes-0.8.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.8.0.tar.gz
Algorithm Hash digest
SHA256 705b5965c8f04733cbf390e3fa771876eaa50cfc2d9445e47f5e195b29b28500
MD5 013ca97d9dbaf98a43557b48518aa420
BLAKE2b-256 088fc30984e664f7a46c87be35094e4c97584a04eab18732cbc9cb0f541a24d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magictypes-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 126162048fb6ea6c6ceacb0a609011dbf6916ed146063d033ee23adcd0860978
MD5 88ba8ba6573b7c7a964657eae9e51ce9
BLAKE2b-256 96bf12eac16600a2dfb038f1b204563cd8faabf751de38c6d6bd3a2f053669d5

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