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

23
python/.gitignore vendored Normal file
View File

@@ -0,0 +1,23 @@
# Rust and maturin build products
/target/
**/dist/
/models-standard/build/
/radixor/models/
*.so
*.egg-info/
# Standard-model payload is generated deterministically below the repository
# build directory and belongs only in the published wheel/sdist.
/models-standard/radixor_models_standard/manifest.json
/models-standard/radixor_models_standard/models/*.rxc
/models-standard/radixor_models_standard/notices/*/NOTICE-model-data.txt
# Local Python environments and caches
.venv/
__pycache__/
*.py[cod]
.pytest_cache/
# Reports produced by direct benchmark-script runs
/benchmarks/results*.csv
/benchmarks/results*.json