Skip to main content

Python SDK + CLI for the PartsCaster spare-parts forecasting platform.

Project description

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

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

partscaster-0.2.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

partscaster-0.2.0-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file partscaster-0.2.0.tar.gz.

File metadata

  • Download URL: partscaster-0.2.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for partscaster-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31bd14831e901c6cf5110b68bd0315ba5450fccd67f1181fa0eed10971b6b17d
MD5 e1d797467a6945a94b69fb669acd2a53
BLAKE2b-256 3fff290af035ac28e4bf0f7cca9882fdeb6c20fb4f628adf0811b9d4fb6bb529

See more details on using hashes here.

Provenance

The following attestation bundles were made for partscaster-0.2.0.tar.gz:

Publisher: sdk-publish.yml on New-Era-Technology/spare-parts-forecasting

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file partscaster-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: partscaster-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for partscaster-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48c3bb772def7bb645e17a75d2794054e2fb7c472f7f95fb05932b6a521cdbf7
MD5 04c936287f0f563105156ab992532ad6
BLAKE2b-256 f14859025083c9d9dda2bb46d5c5f3a7dd8f0bdc4ea27d9437951da0efc214b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for partscaster-0.2.0-py3-none-any.whl:

Publisher: sdk-publish.yml on New-Era-Technology/spare-parts-forecasting

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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