Skip to main content

CLI tool to propagate py.typed into third-party libraries.

Project description

typeforce

PEP-561 says the following:

Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing.

In practice, many maintainers don't know about this marker. So there are tons of packages that do have type annotations but don't have py.typed.

Typeforce is a CLI tool that checks all installed third-party packages and adds py.typed into packages that have type annotations.

Installation

python3 -m pip install --user typeforce

Usage

python3 -m typeforce --exe python3.9

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

typeforce-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

typeforce-0.1.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page