briefcase-python 2.0.8

Python bindings for Briefcase AI
Documentation

Briefcase Python Bindings

Python FFI bindings for Briefcase AI core library. This crate provides the underlying Rust implementation for the briefcase-ai Python package.

Crates.io PyPI

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:

pip install briefcase-ai

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:

[dependencies]
briefcase-core = "2.0.4"

Building

This crate requires:

  • Rust 1.70+
  • Python 3.10+
  • PyO3 dependencies

Build the Python extension:

cd crates/python
maturin build --release

Development

For development with maturin:

cd crates/python
maturin develop

Then test in Python:

import briefcase_ai
print(briefcase_ai.__version__)

Dependencies

License

MIT License - see LICENSE file for details.

Related Packages