Skip to main content

fastclaude

fastclaude is a small, completions-style Python interface backed by the installed Claude Code executable. It inherits Claude CLI authentication, including OAuth and subscriptions, without requiring direct Anthropic API integration.

Each request starts from complete history:

  • accepts complete, editable histories as aidialog.msg_parts.Msg objects
  • compiles them into real Claude Code sessions rather than flattening them into a prompt
  • advertises tools as schemas and ends the turn at a tool_use, so the caller owns the tool loop
  • continues a history ending in ToolResults by deferral: the pending call is marked in the transcript and its known result served on resume
  • streams Claude output and supports native interruption
  • starts a fresh process for each request; an optional prompt_cache_key retains account-context reminders for prompt caching

See DEV.md for the design record and protocol findings.

Installation

pip install fastclaude

Development

pip install -e .

License

Apache License 2.0.

Metadata

Release files for fastclaude 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastclaude 0.0.7
File Size Uploaded Provenance Actions
fastclaude-0.0.7.tar.gz 39.0 kB Without provenance Details for fastclaude-0.0.7.tar.gz

Built distribution (wheel)

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

Total release size: 80.2 kB

Release files / fastclaude-0.0.7.tar.gz

Download URL fastclaude-0.0.7.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
426779967ab7428e665ecb31ba67da734e5a0e07168bdfe98a53da99fd22d50f
BLAKE2b-256 checksum
How to use checksums
934b7aa303d1874eac7e8b0e3bd3d43630724459545e062cec31407ac055a6e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / fastclaude-0.0.7-py3-none-any.whl

Download URL fastclaude-0.0.7-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5113307153948fdab7401f442e00fd5a7c5e9d75d108c1f93c55814147cb8893
BLAKE2b-256 checksum
How to use checksums
fe8d4167f0d6d98bdc74b3dcf3a01f140e0d57efa5040505b7d4d78bcb73a705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for fastclaude 0.0.7

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