Installation¶
From PyPI (Recommended)¶
Install the latest stable version from PyPI:
pip install ofire
From Source¶
Prerequisites¶
Python 3.8 or higher
Rust toolchain (for development)
Development Installation¶
Clone the repository:
git clone https://github.com/emberon-tech/openfire.git
cd openfire
Create a virtual environment and install maturin:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install maturin
Build and install the Python package from source:
maturin develop --manifest-path crates/python_api/Cargo.toml
Verify Installation¶
Test that the installation works:
import ofire
print("OpenFire installed successfully!")
Requirements¶
Python 3.8+
Operating Systems: Linux, macOS, Windows