Skip to main content

Python Type Checker

Project description

Typpy - Python Type Checker

example workflow

Typpy is an experimental type checker for Python. It's similar to mypy, but instead of statically checking the code, it dynamically imports the modules and is therefore able to perform type check that mypy is unable to perform. This particularly includes decorated classes and functions.

Requirements

Typpy support Python 3.7 and newer.

Quick Start

typpy path/to/file.py

Status

Currently, typpy is still in a very early stage and only support a limited number of type checks:

  • Variable assignments
  • Function calls

Typpy right now even crashes on certain source code inputs. I'm adding support for different python constructs such as comparison expressions, classes, import statements and so on. I expect typpy to be able to check most real world code in the next few weeks.

Python version support

Python's typing module and the specs are rapidly evolving with each python minor version. Therefore, it costs a lot of time to maintain and implement support for many python versions.

Since python 3.6 has end-of-life in December 2021, typpy does not support it. We encourage developers to upgrade python to a supported version.

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

typpy-0.4.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

typpy-0.4.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file typpy-0.4.0.tar.gz.

File metadata

  • Download URL: typpy-0.4.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for typpy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8820b3cfd2cf7db7cdab5606994ddb549a74040594fcc5c14b85a387b787b046
MD5 9d15848b31615b1fa89924b93a507d6f
BLAKE2b-256 94939bb39c944edbe3b2f387d782dbc9c23e249d23b5906fe9a20374e23afe76

See more details on using hashes here.

File details

Details for the file typpy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: typpy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for typpy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 507ff9cd6b6faa76453c5c4395b316bf62d82468485efc60f566403c074a1040
MD5 26a73d886fdb13f7dfd313b62ade5f5b
BLAKE2b-256 ba17228e2f9e65684ad95dfe42e9febefa7f839a0b42ac8787e1793e2bda6cbe

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