Skip to main content

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.

Release files for typpy 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typpy 0.4.0
File Size Uploaded
typpy-0.4.0.tar.gz 20.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typpy 0.4.0
File Interpreter ABI Platform
typpy-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / typpy-0.4.0.tar.gz

Download URL typpy-0.4.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8820b3cfd2cf7db7cdab5606994ddb549a74040594fcc5c14b85a387b787b046
BLAKE2b-256 checksum
How to use checksums
94939bb39c944edbe3b2f387d782dbc9c23e249d23b5906fe9a20374e23afe76
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / typpy-0.4.0-py3-none-any.whl

Download URL typpy-0.4.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
507ff9cd6b6faa76453c5c4395b316bf62d82468485efc60f566403c074a1040
BLAKE2b-256 checksum
How to use checksums
ba17228e2f9e65684ad95dfe42e9febefa7f839a0b42ac8787e1793e2bda6cbe
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page