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

View File

@@ -0,0 +1,29 @@
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "radixor-models-standard"
version = "0.0.0"
requires-python = ">=3.9"
description = "Precompiled standard language models for Radixor"
readme = "README.md"
license = "CC-BY-SA-3.0"
license-files = ["LICENSE-MODEL-DATA.txt"]
keywords = ["stemming", "nlp", "linguistics", "model-data"]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Linguistic",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["radixor_models_standard*"]
[tool.setuptools.package-data]
radixor_models_standard = ["manifest.json"]
"radixor_models_standard.models" = ["*.rxc"]
"radixor_models_standard.notices" = ["*/*.txt"]