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.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 tuneio 2.1.1
File Size Uploaded Provenance Actions
tuneio-2.1.1.tar.gz 329.3 kB With provenance Details for tuneio-2.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 476.5 kB

Release files / tuneio-2.1.1.tar.gz

Download URL tuneio-2.1.1.tar.gz
Size 329.3 kB
Tags Source
SHA-256 checksum
How to use checksums
103ab7fadf2e4bce1ab78f697beee8e6dbb8d3f0b7ac167cda7d296f9a4927bf
BLAKE2b-256 checksum
How to use checksums
5a158c669b7c71deec54bdb1facd56f62e19fdd94ee3b22366c76db09d15faad
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 29, 2026.

Transparency log

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

Download URL tuneio-2.1.1-py3-none-any.whl
Size 147.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f65aff8ced2c618af8756ef49b1a1b0b45ac6f210642488ae858f7f69eaaaad1
BLAKE2b-256 checksum
How to use checksums
b14dff198b3cbc6fe04875096a3df7e6857cbce47a8dcb28623886c65badc42a
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 29, 2026.

Transparency log

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

Full provenance

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

Select from 2 files

Attestation for tuneio-2.1.1.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 29, 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.1 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