Releases: abdulwahed-sweden/clarax
Releases · abdulwahed-sweden/clarax
ClaraX v1.0.1
ClaraX v1.0.1 — Production Release
Rust-accelerated serialization and validation for Django and Python.
Install
pip install clarax-django # Django projects
pip install clarax-core # Any Python projectPerformance
| Workload | Speedup over Python |
|---|---|
| DRF serialize 1,000 records | 33x |
| DRF validate 1,000 records | 50x |
| Name validation (150K strings) | 9x |
| Pattern matching (50K IDs) | 15x |
| Batch statistics (50K values) | 20x |
| Real Django project (Hyra, 500 records) | 2.2-2.7x |
Highlights
- Drop-in DRF mixin — add
RustSerializerMixinto anyModelSerializer - Batch operations —
validate_names_batch,validate_ids_batch,batch_stats - Python 3.14t free-threading — Rayon uses all CPU cores with zero GIL contention
- clarax_doctor —
python manage.py clarax_doctoraudits your project - Pre-built wheels for macOS, Linux, Windows. No Rust installation needed.
Packages
| Package | PyPI | crates.io |
|---|---|---|
| clarax-core | 1.0.1 | 1.0.1 |
| clarax-django | 1.0.1 | 1.0.1 |