Installation¶
Grafeo can be used from both Python and Rust. Choose the installation method for your preferred language.
Python¶
Using uv (Recommended)¶
uv is a fast Python package installer:
Using pip (alternative)¶
Verify Installation¶
import grafeo
# Print version
print(grafeo.__version__)
# Create a test database
db = grafeo.Database()
print("Grafeo installed successfully!")
Platform Support¶
| Platform | Architecture | Support |
|---|---|---|
| Linux | x86_64 | Full |
| Linux | aarch64 | Full |
| macOS | x86_64 | Full |
| macOS | arm64 (M1/M2) | Full |
| Windows | x86_64 | Full |
Rust¶
Using Cargo¶
Add Grafeo to your project:
Or add it manually to your Cargo.toml:
Feature Flags¶
Grafeo supports optional features:
| Feature | Description |
|---|---|
default | Core functionality |
full | All features enabled |
Verify Installation¶
use grafeo::Database;
fn main() -> Result<(), grafeo::Error> {
let db = Database::open_in_memory()?;
println!("Grafeo installed successfully!");
Ok(())
}
Building from Source¶
Clone the Repository¶
Build Rust Crates¶
Build Python Package¶
Next Steps¶
Now that you have Grafeo installed, continue to the Quick Start guide.