typescore
typescore generates typing completeness scores (and more) for a set of packages.
Usage:
typescore [--packages <packages>] [--scores <scorefile>] [--sep <sep>] [--verbose] [<package>...]
typescore --help
typescore --version
Options:
--packages <packages> File containing the list of packages.
--scores <scorefile> The output file (if not stdout).
--sep <sep> CSV column separator. [default: ,]
-v, --verbose Include package info in the output.
-h, --help Show this help.
-V, --version Show the version.
typescore uses pyright to score the typing completeness of a set of Python
packages. It reads this list from <packages> and writes the results to
<scorefile>. If errors prevent it from scoring a package it will set the
score to 0%.
The output has the form:
package,typed,module,score,extra_columns
or, if --verbose is specified:
package,version,typed,module,score,stub_package,package_description,extra_columns
typed is a Boolean and tells whether the package had a py.typed file.
Note: we only score top-level modules, not submodules. The assumption is that scores for top-level modules would be reasonably representative of the packages all-up.
<packages> should have one package name per line. It can be a CSV file with
the package name as the first column, in which case other columns will be
included in the score file output (the extra_columns). A typical extra column
might be the package rank on PyPI downloads.
While it would be useful to be able to measure the coverage scores on stub packages too, pyright does not support doing so. As a result, you should evaluate whether a stub package is better than the inline types for a package yourself beffore making use of it.
See latest-scores.md for results in markdown form.
Metadata
Release files for typescore 0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| typescore-0.11.tar.gz | 94.4 kB | Without provenance | Details for typescore-0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| typescore-0.11-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for typescore-0.11-py2.py3-none-any.whl |
Total release size: 102.4 kB
Release files / typescore-0.11.tar.gz
| Download URL | typescore-0.11.tar.gz |
|---|---|
| Size | 94.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cf62897aa962361d576f4479c2849d85e608cf34e220baa045fd2a4c130e1a5
|
|
BLAKE2b-256 checksum How to use checksums |
687c143e4ed5a29c19d23f6160e33d2fbb90687b7ef2c48e4821cbcdd45fbcde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / typescore-0.11-py2.py3-none-any.whl
| Download URL | typescore-0.11-py2.py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d30430666143329aa132227827cad2c97f7b6dffc9cdb91059a3703309e0e240
|
|
BLAKE2b-256 checksum How to use checksums |
988cab6d2500ea4714f78ef874a74ea7d58ca6ec190189894aa8c8df465114c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Security for typescore 0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.