Rust-accelerated Django serialization, validation, and field mapping
Project description
clarax-django
Rust-accelerated serialization for Django REST Framework.
One mixin. Same serializer. 33x faster.
pip install clarax-django
# settings.py
INSTALLED_APPS = [..., "django_clarax"]
# your serializer
from django_clarax.serializers import RustSerializerMixin
class MySerializer(RustSerializerMixin, serializers.ModelSerializer):
class Meta:
model = MyModel
fields = "__all__"
Not sure which serializers benefit? Run the audit:
python manage.py clarax_doctor
Serialize 1,000 records: 475ms with DRF, 14ms with ClaraX. Validate 1,000 records: 506ms with DRF, 10ms with ClaraX.
Requires Python 3.11+ and Django 4.2+. Supports Python 3.14t (free-threading).
Read the full story for benchmarks, architecture, and the decision guide.
MIT -- Abdulwahed Mansour
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clarax_django-1.0.1.tar.gz.
File metadata
- Download URL: clarax_django-1.0.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce15398fee2b6436e2927dd94b0f725a17e1532fe2a1efda676f941549ba6b77
|
|
| MD5 |
6f086cc1ab565b7543efdc53c90bb4af
|
|
| BLAKE2b-256 |
9fe119169826c7fb0445ba616288d9bfb9759dd65ace9f1d4f6b9e1ebb95570a
|
File details
Details for the file clarax_django-1.0.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 424.1 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5823d3c0389fe3474d77076a63922fb6c5cbe76f59dccccdb6bec4d934da4982
|
|
| MD5 |
bc694705f9bb3592955672972eba4fb9
|
|
| BLAKE2b-256 |
82c3c4279d3497b944ee4214cab02804e8d356b2c498454b0586f778e2e8da49
|
File details
Details for the file clarax_django-1.0.1-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 536.3 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60d098cf7ed160e49828c47722981a3fec3c4462b6b4b5cd6e38f95cba89ce75
|
|
| MD5 |
0b99c9c44d207d2f0d9d55d1b2fe9a46
|
|
| BLAKE2b-256 |
6ac9033e8858fc966b98225792369159cb64fe48c7e1f0b02154b298b7773edb
|
File details
Details for the file clarax_django-1.0.1-cp313-cp313-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp313-cp313-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 500.6 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbc9fefa95e32556bbfa6a9a660fbc744f8e3096a25c67b1e9f131bd43622c15
|
|
| MD5 |
8ee69a29170fce0229330241c2812c83
|
|
| BLAKE2b-256 |
e2e0cfec29dd2b5a5e67f202331c921d88415155289815a65fa0ec0eaa56d11a
|
File details
Details for the file clarax_django-1.0.1-cp313-cp313-macosx_11_0_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp313-cp313-macosx_11_0_x86_64.whl
- Upload date:
- Size: 504.5 kB
- Tags: CPython 3.13, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a955c4badeafe73ed6c5d348fca90f607c790da54cbf9d135f8f345b4d95c4b9
|
|
| MD5 |
ae14754922c4160fafbeab97d9c3b190
|
|
| BLAKE2b-256 |
a8f4100b7a684d96c65a925142e328365a4dfd4c7757b68d3111be03a4a22ce6
|
File details
Details for the file clarax_django-1.0.1-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 481.3 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f62875b1ad4f9fddf2db5478b4b7e4071bb40e3a0ab7419c3aac55c27a93a9e8
|
|
| MD5 |
4c2513442a4df9ce35c6a452321ef2d1
|
|
| BLAKE2b-256 |
1f17af97d96ea083fda1e8b782d4b99098eaf5bdf7ddbfa55a6a92bcba297acb
|
File details
Details for the file clarax_django-1.0.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 424.3 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a5b5028cc43b4ff7796089d67c292040037abe1a0684a14fdc2905edcef7274
|
|
| MD5 |
d0cc5a17a8e0f642b2b03e0d77cc2a97
|
|
| BLAKE2b-256 |
9c23fc507bb48518e4527eaacd9f4d8d39823923bc9c796c62810f3d104450e7
|
File details
Details for the file clarax_django-1.0.1-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 536.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eb287d7b2b3287e64bb75a7dc80f99646ff20c3e7d124a3c51f07cea831836e
|
|
| MD5 |
b6047a9dbb6491cd9f02865b38648564
|
|
| BLAKE2b-256 |
b6cc040f50b96655d27ab445240218702aa9a89f1f4de0de0d036ba28a136d5e
|
File details
Details for the file clarax_django-1.0.1-cp312-cp312-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp312-cp312-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 500.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f7217b2cfa2f14dff23122f55bc9997ad05dd0eed4dd34edceaa84215e658e
|
|
| MD5 |
ea42ddcf555222d2739eb295ab52634b
|
|
| BLAKE2b-256 |
362281fdeaa0549a3c6bf8fe5ec6f2301b910cf882a75e196f6a2a2d65f1aeac
|
File details
Details for the file clarax_django-1.0.1-cp312-cp312-macosx_11_0_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp312-cp312-macosx_11_0_x86_64.whl
- Upload date:
- Size: 504.1 kB
- Tags: CPython 3.12, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0ec127c5f4cb2914620da426804237c2e7f2f735361836ae6d91709a4fba508
|
|
| MD5 |
0534c999c979779094c3988377ce04cb
|
|
| BLAKE2b-256 |
7ad7ba43536240e6b03779fb107415e0cd09dc4fc7911c9f00da0dd372cf3815
|
File details
Details for the file clarax_django-1.0.1-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 481.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e83235417a9b7ec4c8c3993140c6157f2d0500cb2f2f87b66d57805a0c23eb5
|
|
| MD5 |
68991206d6c8d17c340a8d7cb2875c6b
|
|
| BLAKE2b-256 |
dc7c4c8059e43d133d2b2da9a518f8ba8990b1a1fd738546f15b0f70dbedd7ac
|
File details
Details for the file clarax_django-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 586.5 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
343a20dab88821414df225473ebac3cbd27b52468ea2b0f4b6cbcc07255babbb
|
|
| MD5 |
33889accdb900a76842eb70a9e251967
|
|
| BLAKE2b-256 |
8b552cac851118e6210f6e372ab5c4d55fef0c52a59be9cd739aab79fc533499
|
File details
Details for the file clarax_django-1.0.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 429.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93bb1fed8061f874282712d5bdc823b228680c9b1d90d28ce87061cefc7ad1b3
|
|
| MD5 |
ccb3f1bebde33f7b13ec5246a097b106
|
|
| BLAKE2b-256 |
957c5a97f5793a6982a16739976314c075d4fd1c1c236dd93818d099718bb31d
|
File details
Details for the file clarax_django-1.0.1-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 540.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7e08c8a55c32af7fbf930b1b421b7c08096d96e8b72de1d1eda3ca34202ebe2
|
|
| MD5 |
fcd05aa23eaf69c5df5e688dec55f294
|
|
| BLAKE2b-256 |
64cd13192edb909712f7eee183838303995623080231ae8e4b2419642fcdfe32
|
File details
Details for the file clarax_django-1.0.1-cp311-cp311-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp311-cp311-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 508.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ff8fc51208b0d086fa9e29e07fa5324f846dc76dd57f59d7ad1d0a47a4e2aba
|
|
| MD5 |
eadb9bac34dfcdcd5f4e917dc82faf78
|
|
| BLAKE2b-256 |
b69c6b2938ceaf1f91a9e2b41f7eecc6b6ab1945f213d289f31d37b4cc7eb5e2
|
File details
Details for the file clarax_django-1.0.1-cp311-cp311-macosx_11_0_x86_64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp311-cp311-macosx_11_0_x86_64.whl
- Upload date:
- Size: 501.5 kB
- Tags: CPython 3.11, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d5fb10378aa27a6df65de5fcc1e110244f3e0ec25f4093da385e10c037024f6
|
|
| MD5 |
12c715d5b09d6f28032ccd6a114a4846
|
|
| BLAKE2b-256 |
252915f0afe3282c6f7245d2414499f7aa2e84fb8c41a202509dec231b04bdbd
|
File details
Details for the file clarax_django-1.0.1-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: clarax_django-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 489.1 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fec1875c8fb7a2fac42a5de544fe3c9d1b3bf4ae8d8fa727886805ec3dfe5d0a
|
|
| MD5 |
c0433e5103a67abbf8c5ade03bf6550e
|
|
| BLAKE2b-256 |
d1b8b9a8f79c5267469176e5e9b2353e81225735506a58265045e746d18446eb
|