Installation¶
easeo ships as two packages backed by the same Rust core.
Python¶
Requires Python 3.10 or newer. The wheel bundles the compiled Rust extension, so there is no build step and no separate Rust toolchain to install.
Optional extras add the framework adapters:
pip install "easeo[fastapi]"
pip install "easeo[django]"
pip install "easeo[flask]"
pip install "easeo[zensical]"
pip install "easeo[all]" # every adapter
JavaScript / TypeScript¶
The published package bundles a prebuilt native module for Linux (glibc and musl), macOS, and Windows on x64 and arm64. Node 18 or newer is required.
Framework integrations are separate packages:
npm install @easeo/next
npm install @easeo/astro
npm install @easeo/vite
npm install @easeo/nuxt
npm install @easeo/sveltekit
npm install @easeo/react
Verify the install¶
Building from source¶
You need a Rust toolchain (stable) plus maturin for Python or @napi-rs/cli
for Node.
# Rust core
cargo build --release
# Python bindings
maturin develop -m crates/easeo-python/Cargo.toml
# Node bindings
cd packages/core
napi build --platform --release --manifest-path ../../crates/easeo-node/Cargo.toml
cp ../../crates/easeo-node/*.node .
Recap¶
pip install easeoornpm install @easeo/core.- Extras add the framework adapters, not the core.
- Prebuilt wheels and native modules mean no compiler is needed.
Next: First Payload.