Skip to main content

ratchet-ops

Business process automation for the Ratchet framework.

Install

pip install ratchet-ops

What it does

  • Invoicing — Parse invoices from text with rule-based extraction, duplicate detection, and status tracking
  • Expenses — Track spending by category and vendor, with period summaries and recurring expense support
  • Cost routing — Route LLM tasks to the cheapest capable model (Haiku/Sonnet/Opus), log costs, project budgets
from ratchet.ops import OpsModule

agent.register(OpsModule())

# Or use components directly
from ratchet.ops import select_model, calculate_cost

model = select_model("extract facts from this transcript")  # → claude-haiku-4-5
cost = calculate_cost(model, input_tokens=5000, output_tokens=500)

License

MIT

Metadata

Release files for ratchet-ops 0.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 ratchet-ops 0.1.0
File Size Uploaded
ratchet_ops-0.1.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ratchet-ops 0.1.0
File Interpreter ABI Platform
ratchet_ops-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / ratchet_ops-0.1.0.tar.gz

Download URL ratchet_ops-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
03d0e47c99b412f84f9141c7ed552da19a9d07d520b0532ad79d021c9fa0160a
BLAKE2b-256 checksum
How to use checksums
522db6ce3d8921740f699785d32357ef129eaa42d46bcb2e185578f082370206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / ratchet_ops-0.1.0-py3-none-any.whl

Download URL ratchet_ops-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89c9becc45fa1b6bc3e1c145a9255a9735178ad88507d5401eba3b4b7d4493b4
BLAKE2b-256 checksum
How to use checksums
4908a09dd29ccd6e000ea53710f09283851a9bd184a2d67fe72739cf85004ba3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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