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.5.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.5.0
File Size Uploaded Provenance Actions
ionworks-0.5.0.tar.gz 546.5 kB Without provenance Details for ionworks-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / ionworks-0.5.0.tar.gz

Download URL ionworks-0.5.0.tar.gz
Size 546.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cea1db774aee2ad95c39842408001a151a1cf0bf6aa9d5da640bb1260dcf7550
BLAKE2b-256 checksum
How to use checksums
2b87ead6eebd45a70043dd9c84b1541c7007ece17de92823d51e8fd892b4ea73
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.5.0-py3-none-any.whl

Download URL ionworks-0.5.0-py3-none-any.whl
Size 630.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdc0592c788498722c510997094c07c22ae136cb43481fae8f9728202bc58a3b
BLAKE2b-256 checksum
How to use checksums
56ad8fa414738ea75967051818f96e0aa34f8d0d982da42ca10d35d889be0d01
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.5.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