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.1

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

Built distribution (wheel)

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

Total release size: 14.5 kB

Release files / taktwerk-0.8.1.tar.gz

Download URL taktwerk-0.8.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cdb5e3b496a6130cac0ab2cfcc2dc8984d16af2cbd87448db0d00b81b19f0857
BLAKE2b-256 checksum
How to use checksums
403bef40af75610f46d761a505afcdb6648fd25aacea5afeb8025931699a9d33
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.1-py3-none-any.whl

Download URL taktwerk-0.8.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
182d5fee00de1b173c6b6764edb04f20f8a46815a00b106d52a8789462fbf1e3
BLAKE2b-256 checksum
How to use checksums
c9f389261c1382d8ac22f7a82d94969f244e0d43ce07f4846fd38376548f3ef7
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.1

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