feat(python): add native distribution and release infrastructure

- add the Rust-backed Python API with PyStemmer compatibility
- distribute standard compiled models as a separate Python package
- generate model artifacts during builds instead of storing them in Git
- add GitHub release and Pages-backed package index workflows
- add Python tests, benchmarks, documentation, and Gradle integration
- refresh the documentation site, branding, and language benchmarks
This commit is contained in:
2026-08-10 22:34:32 +02:00
parent b45e143c84
commit 5e3d3c7c7d
139 changed files with 11420 additions and 747 deletions

20
python/Cargo.toml Normal file
View File

@@ -0,0 +1,20 @@
[package]
name = "radixor"
version = "0.0.0"
edition = "2021"
[lib]
name = "_radixor"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.22", features = ["extension-module", "abi3-py39"] }
flate2 = "1.0"
unicode-normalization = "0.1"
unicode-general-category = "0.6"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
strip = true