Skip to main content

taktwerk for Python

Read the records of taktwerk runs and campaigns into lists, numpy arrays or pandas data frames, and start runs and campaigns through the taktwerk command. Offline only: nothing here touches a running engine's cycle.

pip install 'taktwerk[pandas]'      # or: uv add 'taktwerk[pandas]'
import taktwerk

run = taktwerk.read_run("records/project/main")  # a run directory, or one run below it
run["plant.level"], run.t_engine, run.stop, run.overrides
run.to_pandas()  # indexed by engine time

c = taktwerk.read_campaign("out/gains")  # a campaign's output directory
c.to_pandas()  # one row per run: axes, values, status
c.read("nominal-g03").to_pandas()

taktwerk.run("project.toml", until_time=600, set={"ctrl.kp": 2.0}, seed=1)
taktwerk.campaign("gains.toml")  # taktwerk campaign --write, then loaded

The reader needs only the standard library; taktwerk[numpy] and taktwerk[pandas] add the conversions. Starting runs needs the taktwerk command on PATH or in $TAKTWERK. Guide: Python.

Metadata

Release files for taktwerk 0.6.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 taktwerk 0.6.0
File Size Uploaded Provenance Actions
taktwerk-0.6.0.tar.gz 6.3 kB Without provenance Details for taktwerk-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.5 kB

Release files / taktwerk-0.6.0.tar.gz

Download URL taktwerk-0.6.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
851892cb1e76dade8d9d860f3218060397fef5cbb236b4b38da75c95c0176cdd
BLAKE2b-256 checksum
How to use checksums
2781751936b61c3113499028e8b533096d45c59cfd5f76f5b4974e65bb18f583
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / taktwerk-0.6.0-py3-none-any.whl

Download URL taktwerk-0.6.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
535295d82c69e25fd0bf8bb66cba34a8a428fb25b55b9956e5784135f5f96556
BLAKE2b-256 checksum
How to use checksums
6a024ddcfc427a72c96e7d4edef6ead22c59e3b7378c815cb9740ce1cb6aab67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for taktwerk 0.6.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