Skip to main content

partscaster — Python SDK + CLI for PartsCaster

External-editing SDK for PartsCaster's spare-parts forecasting platform. Lets data scientists run analyses against tenant data from any local Python environment (VS Code, Jupyter, plain .py).

Install

pip install partscaster

For hosted (in-notebook-executor) usage, install with the hosted extra:

pip install partscaster[hosted]

Quickstart

partscaster auth login --tenant-id <YOUR_TENANT_ID>
python -c "from partscaster import load_demand; print(load_demand(part_id='P-001').head())"

See docs/ for full quickstarts.

Development

git clone https://github.com/New-Era-Technology/spare-parts-forecasting.git
cd spare-parts-forecasting/ml/sdk/partscaster
uv pip install -e .[dev]
pytest

License

MIT

Metadata

Release files for partscaster 0.2.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 partscaster 0.2.0
File Size Uploaded Provenance Actions
partscaster-0.2.0.tar.gz 28.9 kB With provenance Details for partscaster-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 70.8 kB

Release files / partscaster-0.2.0.tar.gz

Download URL partscaster-0.2.0.tar.gz
Size 28.9 kB
Tags Source
SHA-256 checksum
How to use checksums
31bd14831e901c6cf5110b68bd0315ba5450fccd67f1181fa0eed10971b6b17d
BLAKE2b-256 checksum
How to use checksums
3fff290af035ac28e4bf0f7cca9882fdeb6c20fb4f628adf0811b9d4fb6bb529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Release files / partscaster-0.2.0-py3-none-any.whl

Download URL partscaster-0.2.0-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48c3bb772def7bb645e17a75d2794054e2fb7c472f7f95fb05932b6a521cdbf7
BLAKE2b-256 checksum
How to use checksums
f14859025083c9d9dda2bb46d5c5f3a7dd8f0bdc4ea27d9437951da0efc214b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Security for partscaster 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for partscaster-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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