Skip to main content

slingshot-types

Typed shims for popular Python package functions that often show up as Unknown in strict type checking.

The package uses Protocol and cast to provide stable, importable typed callables for:

  • sklearn.metrics.classification_report
  • sklearn.model_selection.train_test_split
  • tqdm.tqdm

Install

pip install -e .

Usage

from slingshot_types import classification_report, train_test_split, tqdm

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)

for row in tqdm(rows):
    ...

report = classification_report(y_test, y_pred)

Why this exists

Some downstream codebases run strict checks (Unknown/Any bans in pyright or mypy configurations). These shims give typed import points while preserving runtime behavior.

Metadata

Release files for slingshot-types 0.1.5

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

Source distribution (sdist)

Source distribution for slingshot-types 0.1.5
File Size Uploaded Provenance Actions
slingshot_types-0.1.5.tar.gz 3.6 kB Without provenance Details for slingshot_types-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slingshot-types 0.1.5
File Interpreter ABI Platform Actions
slingshot_types-0.1.5-py3-none-any.whl Python 3 none any Details for slingshot_types-0.1.5-py3-none-any.whl

Total release size: 8.5 kB

Release files / slingshot_types-0.1.5.tar.gz

Download URL slingshot_types-0.1.5.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bc31239aaad4afa4b954e29ac31355a0fb7d044797c7282d64197b5ecb3b4989
BLAKE2b-256 checksum
How to use checksums
9b6f8a5bf79b613ca0391c778d9baf2e129c9df16420ee2bc8cf9e117bee1a0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / slingshot_types-0.1.5-py3-none-any.whl

Download URL slingshot_types-0.1.5-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf7874465698301a3844e5ceb512111bfc54fe795e32f808e137738266c9a4c2
BLAKE2b-256 checksum
How to use checksums
c304d09e2fd0c57094c11962d64808143d6adb19e346cff5252d4eb122aecbd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for slingshot-types 0.1.5

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.

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