Metadata-Version: 2.4
Name: partscaster
Version: 0.2.0
Summary: Python SDK + CLI for the PartsCaster spare-parts forecasting platform.
Project-URL: Homepage, https://github.com/New-Era-Technology/spare-parts-forecasting
Project-URL: Documentation, https://github.com/New-Era-Technology/spare-parts-forecasting/tree/main/docs
Project-URL: Issues, https://github.com/New-Era-Technology/spare-parts-forecasting/issues
Author: New Era Technology
License-Expression: MIT
License-File: LICENSE
Keywords: cli,forecasting,sdk,spare-parts
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: <3.14,>=3.12
Requires-Dist: httpx<1.0,>=0.28
Requires-Dist: pandas<3.0,>=2.2
Requires-Dist: pydantic<3.0,>=2.10
Requires-Dist: typer<1.0,>=0.15
Provides-Extra: dev
Requires-Dist: mypy>=1.13; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: respx>=0.22; extra == 'dev'
Requires-Dist: ruff>=0.7; extra == 'dev'
Requires-Dist: syrupy>=4.0; extra == 'dev'
Provides-Extra: extended
Requires-Dist: azure-storage-blob<13,>=12.19; extra == 'extended'
Requires-Dist: boto3<2,>=1.34; extra == 'extended'
Requires-Dist: snowflake-connector-python<4,>=3.7; extra == 'extended'
Requires-Dist: snowflake-snowpark-python<2,>=1.20; extra == 'extended'
Provides-Extra: hosted
Requires-Dist: celery<6,>=5.3; extra == 'hosted'
Requires-Dist: ipykernel<7,>=6.0; extra == 'hosted'
Requires-Dist: nbconvert<8,>=7.17.1; extra == 'hosted'
Requires-Dist: nbformat<6,>=5.9; extra == 'hosted'
Requires-Dist: papermill<3,>=2.4; extra == 'hosted'
Requires-Dist: psycopg2-binary<3,>=2.9; extra == 'hosted'
Requires-Dist: psycopg[binary]<4,>=3.2; extra == 'hosted'
Requires-Dist: redis<6,>=5.0; extra == 'hosted'
Requires-Dist: sqlalchemy<3,>=2.0; extra == 'hosted'
Description-Content-Type: text/markdown

# 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

```bash
pip install partscaster
```

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

```bash
pip install partscaster[hosted]
```

## Quickstart

```bash
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/](https://github.com/New-Era-Technology/spare-parts-forecasting/tree/main/docs) for full quickstarts.

## Development

```bash
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
