Metadata-Version: 2.5
Name: ionworks
Version: 0.1.0
Summary: The Ionworks Python package: API client, pipeline schemas, data processing and utilities.
Project-URL: Homepage, https://ionworks.com
Project-URL: Documentation, https://packages.docs.ionworks.com/ionworks/
Project-URL: Repository, https://github.com/ionworks/ionworks
Author-email: Ionworks Technologies Inc <info@ionworks.com>
License: MIT License
        
        Copyright (c) 2026 Ionworks Technologies Inc
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: battery,ionworks,pipeline,pybamm,pydantic,schema
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.12
Requires-Dist: boto3>=1.43.114
Requires-Dist: fastexcel>=0.20.2
Requires-Dist: matplotlib>=3.11.2
Requires-Dist: numpy>=2.0.0
Requires-Dist: pandas>=3.1.0
Requires-Dist: pandas[feather,parquet]
Requires-Dist: polars>=2.1.0
Requires-Dist: pyarrow>=16.0.0
Requires-Dist: pybamm>=26.9.0.0
Requires-Dist: pydantic<3,>=2.14.1
Requires-Dist: pytz>=2026.5
Requires-Dist: requests>=2.34.2
Requires-Dist: scipy>=1.14.0
Provides-Extra: dev
Requires-Dist: openpyxl; extra == 'dev'
Requires-Dist: pytest-cov>=7.0; extra == 'dev'
Requires-Dist: pytest>=9.1.1; extra == 'dev'
Requires-Dist: types-requests>=2.31.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: myst-nb>=1.0.0; extra == 'docs'
Requires-Dist: pydata-sphinx-theme; extra == 'docs'
Requires-Dist: sphinx-design; extra == 'docs'
Requires-Dist: sphinx>=7.0.0; extra == 'docs'
Description-Content-Type: text/markdown

# ionworks

> **This is a read-only mirror.** The source of truth is a private repo.

The Python package for the [Ionworks](https://ionworks.com) platform.

```bash
pip install ionworks
```

```python
import ionworks as iw

client = iw.api.Client()  # reads IONWORKS_API_KEY from the environment
```

| Subpackage | Contents |
|---|---|
| `ionworks.api` | Client for the Ionworks API |
| `ionworks.pipeline` | Pydantic schemas for building pipeline configurations |
| `ionworks.data` | Reading, transforming and loading battery cycling data |
| `ionworks.util` | Shared utilities |

Each subpackage loads on first use, so `import ionworks` on its own is light.

## Configuration

| Variable | Required | Default | Description |
|---|---|---|---|
| `IONWORKS_API_KEY` | Yes | — | API key from [account settings](https://app.ionworks.com/account) |
| `IONWORKS_API_URL` | No | `https://api.ionworks.com` | API base URL |
| `IONWORKS_PROJECT_ID` | For project-scoped calls | — | Default `project_id` for the client, from your project settings page |

The client does not load `.env` files itself. Call `dotenv.load_dotenv()` before
creating the client if your variables live in one.

## Documentation

- API reference: [packages.docs.ionworks.com/ionworks](https://packages.docs.ionworks.com/ionworks/)
- Guides and tutorials: [docs.ionworks.com](https://docs.ionworks.com)
- [Changelog](./CHANGELOG.md)

## Upgrading

`ionworks` replaces `ionworks-api`, `ionworksdata`, `ionworks-schema` and `iwutil`,
and cannot be installed in the same environment as `ionworks-api`. See the
[migration guide](https://packages.docs.ionworks.com/ionworks/migration.html).
