Skip to main content

ionworks

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

The Python package for the Ionworks platform.

pip install ionworks
import ionworks as iw

client = iw.api.Client()  # the saved login, or IONWORKS_API_KEY
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 Unless logged in — API key from account settings
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

Logging in

ionworks login      # sign in through the browser; saves an API key and project
ionworks whoami     # show the account, organization, project and key in use
ionworks logout     # revoke the saved key and delete it

ionworks login opens the web app, where you choose an organization and project. The key is kept in the system keychain when one is available, otherwise in ~/.config/ionworks/credentials.json (mode 0600; %APPDATA%\ionworks on Windows). Over SSH, or with --no-browser, it prints a URL and asks you to paste the code shown. Use --profile NAME (or IONWORKS_PROFILE) to keep several logins. Machines you have signed in from are listed, and can be revoked, on your account page.

An explicit argument always wins, then the environment variables above, then the saved login.

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

Documentation

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.

Metadata

Release files for ionworks 0.3.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 ionworks 0.3.0
File Size Uploaded Provenance Actions
ionworks-0.3.0.tar.gz 510.5 kB Without provenance Details for ionworks-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / ionworks-0.3.0.tar.gz

Download URL ionworks-0.3.0.tar.gz
Size 510.5 kB
Tags Source
SHA-256 checksum
How to use checksums
19d27009ec8b893e2ea3edafa02052c1b60bd1a930bae0734757fa07589a600a
BLAKE2b-256 checksum
How to use checksums
327a1fe577d41e691b7b9cf87abdfcce805a7bdac5b9b8cb2e3199dbeaca29fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ionworks-0.3.0-py3-none-any.whl

Download URL ionworks-0.3.0-py3-none-any.whl
Size 593.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5a965225498d46aea453bcb560159574dcab028c565cdf45d1349929e846c45
BLAKE2b-256 checksum
How to use checksums
b838846039e30041f27d3a703a690435013ef03d1dae9afab012fc3d4121a314
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ionworks 0.3.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.

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