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.8.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.8.0
File Size Uploaded Provenance Actions
taktwerk-0.8.0.tar.gz 6.3 kB Without provenance Details for taktwerk-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.5 kB

Release files / taktwerk-0.8.0.tar.gz

Download URL taktwerk-0.8.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9b9c4fd6261fec1a54a02857cf14a487970a7eb5485b98064aa226584a881044
BLAKE2b-256 checksum
How to use checksums
7fdefe9c44f0e1ded2702edb0c2eff230bf7b71b52c21beaad95adeadba75769
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.8.0-py3-none-any.whl

Download URL taktwerk-0.8.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ff249c4f91ab14bb537bb32090d0450d75d5392959e7095aa6eb1e1e83c3f0a
BLAKE2b-256 checksum
How to use checksums
143693a693c3ba03d92344e3918b061d4c18a2256fc75964d5010d27592d8ad3
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.8.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