Skip to main content

tuneio

tuneio is a terminal-first tool for observing HTTP APIs and applying reviewed adaptive caching. Discover FastAPI candidates or import OpenAPI, capture a baseline, approve a cache policy, and compare it with a matched run. tuneio 2.1.0 is distributed under the MIT license.

Install a local wheel

Use Python 3.11, 3.12 or 3.13 and a wheel from this project.

Installer Command
pip in an activated virtual environment python -m pip install PATH_TO_WHEEL
pipx pipx install PATH_TO_WHEEL
uv uv tool install PATH_TO_WHEEL

Run tuneio --version, then start tuneio from your project. For a source checkout, install with python -m pip install -e .. Use the wheel's path until a registry release is verified and announced.

After the release is published to PyPI, install tuneio with python -m pip install tuneio, pipx install tuneio, or uv tool install tuneio. All three install the tuneio command.

Work in the terminal

The workspace has a purple pixel-art title, highlighted selections, and arrow-key and number navigation. Use Enter to open a selection, b to go back, h for help and q to quit. If your terminal needs line prompts, use tuneio menu --plain. The CLI uses your terminal's font. Cascadia Mono and JetBrains Mono render the block characters clearly.

  1. In Setup and configuration, discover operations and save a reviewed observe configuration. Start your API with its usual command, or choose Start or stop demo API for the bundled fixture. Choose Start or restart workspace proxy to connect it.
  2. In Session and insights, inspect traffic, save a baseline, or open the live monitor. Switch monitor views with Tab or arrow keys and use / to filter, Space to pause, r to refresh, and i to change the refresh interval.
  3. In Cache and policies, review a public GET rule and its dependent writes. Saving an approval selects the new config revision. Use Start or restart workspace proxy to apply it. The policy menu also provides pause, disable and rollback.
  4. In Reports and history, compare matched reads or export JSON. Scriptable commands expose the same actions.

The terminal guide includes the complete disposable demo, matched capture walkthrough and command reference. For the original demo and optional browser interface, see the demo guide.

Supported deployment

  • A single-worker loopback HTTP/1.x proxy for finite requests. Point clients at the proxy to measure their traffic.
  • Adaptive response caching for reviewed public GETs. HTTP freshness, request variants, credential bypass, memory limits and declared write invalidation govern cache serving.
  • Static FastAPI discovery covers literal decorators on direct apps and simple factories. Use OpenAPI for assembled routers and dynamic routes, or configure operations manually.
  • Tuning uses measured origin latency and reuse to activate caching and adjust TTL. Admission and concurrency limits are configured. Concurrency findings are advisory.
  • Telemetry stays local in bounded SQLite storage. Keep the proxy on a trusted machine and avoid exposing its management interface to untrusted clients.

Develop and qualify

python -m pip install -e ".[test,benchmark,release]"
python -m pytest
python -m tuneio.quality coverage.json
python -m build
python -m twine check dist/*
python scripts/smoke_wheel.py dist

The optional browser UI checks use node --test tests/workflow.test.cjs tests/product_ui.test.cjs. The managed Windows sandbox can use python scripts/test_socketless.py for in-process tests. The installed-wheel journey and performance qualification require real loopback HTTP.

See the candidate checklist, contributing guide, security policy, and changelog.

Metadata

Release files for tuneio 2.1.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 tuneio 2.1.0
File Size Uploaded Provenance Actions
tuneio-2.1.0.tar.gz 328.4 kB With provenance Details for tuneio-2.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 475.3 kB

Release files / tuneio-2.1.0.tar.gz

Download URL tuneio-2.1.0.tar.gz
Size 328.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a511283beb3ce12bcc6a8583f399c65d271d4d79d829a47045b9e7f501f11efe
BLAKE2b-256 checksum
How to use checksums
d74fe88ffe5443bf58c0ff0cae27eeac6941113ddd4ec6a4787a3b5328881dd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / tuneio-2.1.0-py3-none-any.whl

Download URL tuneio-2.1.0-py3-none-any.whl
Size 147.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2b09a96a1c9b0bef480d66331e311e874ae327c8a00c56c7663e067ab0dd0c6
BLAKE2b-256 checksum
How to use checksums
413f6a4fcad77091eb220851dedd00637fc3e3436f2dd5f66938db6a76041d04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for tuneio 2.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tuneio-2.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files Full provenance

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