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.6.0.tar.gz (2.6 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.6.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: magictypes-0.6.0.tar.gz
  • Upload date:
  • Size: 2.6 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.6.0.tar.gz
Algorithm Hash digest
SHA256 0d4e70bf1c0402668c31575ecc018939173d6aa89abdb8635eaf2fdd8f57ffd9
MD5 3bd81960e24686bf366ce9558f26940e
BLAKE2b-256 2a2be673131c5e097faa334f053a23e6e712d50aedaaaadba819dbfdc417cbb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magictypes-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0bb91bd531e56527f8cdb24e15ae405930d2dc8836afb44bc165790f72ff1b8
MD5 545b383f4ffb57f8852027af740e7694
BLAKE2b-256 bc6396ac5e50b1fd9ed1afae197217cfb741977b42c87c8f28d401d7a651b059

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