Briefcase Python Bindings
Python FFI bindings for Briefcase AI core library. This crate provides the underlying Rust implementation for the briefcase-ai Python package.
Overview
This crate uses PyO3 to create Python bindings for the Briefcase AI core library. It exposes the high-performance Rust implementation to Python developers.
Features
- High Performance - Rust core with minimal Python overhead
- Memory Efficient - Zero-copy operations where possible
- Type Safe - Full Python type hints and error handling
- Async Support - Async/await compatible operations
For Python Users
If you're a Python developer, you should install the Python package instead:
See the Python documentation for usage examples.
For Rust Developers
This crate is primarily used for building the Python extension. To use Briefcase AI in Rust, use the core library directly:
[]
= "2.0.4"
Building
This crate requires:
- Rust 1.70+
- Python 3.10+
- PyO3 dependencies
Build the Python extension:
Development
For development with maturin:
Then test in Python:
Dependencies
briefcase-core- Core Rust librarypyo3- Python FFI bindingstokio- Async runtime
License
MIT License - see LICENSE file for details.
Related Packages
briefcase-ai- Python package (end users)briefcase-core- Core Rust librarybriefcase-wasm- WebAssembly bindings