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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file typeforce-0.1.0.tar.gz
.
File metadata
- Download URL: typeforce-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687d8fbc7b7a59efbeaa588809a638013b53448bfec7bc5d533ced9a858ea410 |
|
MD5 | 2103735b8ab8837440cc7f0e150cb0d7 |
|
BLAKE2b-256 | b83f443c2e602a6c3e5023949b1449a862275c884ca853825a71d0a454e447c9 |
File details
Details for the file typeforce-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: typeforce-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3088aeaace95fcf93d31d6497809b302910f7d80984cce718c0dbf8b70b7e95b |
|
MD5 | b6d969c555b60e899909ba6448cfd5d0 |
|
BLAKE2b-256 | 96f5c7233a785c0c37bd6b8afd9e42e3c7bfe6ca905deb396963fa2723725834 |