Skip to main content

clarax-core

Rust-speed validation for Python -- no Rust required.

Your batch job processes 50,000 records. Each one needs validation: string scanning, pattern matching, decimal precision. Python does it in 3 seconds. Your users notice.

ClaraX does it in 340ms. Same code. Same data structures. Rust underneath.

pip install clarax-core
from clarax_core import validate_names_batch, validate_ids_batch, batch_stats

# Character scanning: 8x over Python
results = validate_names_batch(["Erik Andersson", "Bad123 Name"])

# Pattern matching: 15x over Python
valid = validate_ids_batch(["19900515-1234", "invalid"])

# Statistics: 20x over Python's statistics module
stats = batch_stats([1.0, 2.0, 3.0, 4.0, 5.0])

Schema-based validation:

from clarax_core import Schema, Field, serialize_many
from decimal import Decimal

schema = Schema({
    "name":  Field(str, max_length=100),
    "price": Field(Decimal, max_digits=10, decimal_places=2),
})

result = serialize_many([{"name": "Erik", "price": Decimal("9.99")}], schema)

Works with Flask, FastAPI, scripts, ETL pipelines. No Rust installation needed. Pre-built wheels for all platforms. Python 3.11+ and 3.14t (free-threading) supported.

For Django projects, use clarax-django instead.

MIT -- Abdulwahed Mansour

Metadata

Release files for clarax-core 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clarax-core 1.0.1
File Size Uploaded
clarax_core-1.0.1.tar.gz 1.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for clarax-core 1.0.1
File
clarax_core-1.0.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
clarax_core-1.0.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
clarax_core-1.0.1-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
clarax_core-1.0.1-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details
clarax_core-1.0.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
clarax_core-1.0.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
clarax_core-1.0.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
clarax_core-1.0.1-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
clarax_core-1.0.1-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details
clarax_core-1.0.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
clarax_core-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
clarax_core-1.0.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
clarax_core-1.0.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
clarax_core-1.0.1-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
clarax_core-1.0.1-cp311-cp311-macosx_11_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 11.0+ x86-64 Details
clarax_core-1.0.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 8.0 MB

Release files / clarax_core-1.0.1.tar.gz

Download URL clarax_core-1.0.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
f07e2482e4a1e592a8ca035e16e0cfb9dc35bd4416e015eed36bb411e1d7fd17
BLAKE2b-256 checksum
How to use checksums
55a2f2e15a9f89320d5929e405d817c0555d38544431de3d73e6fd9a2a5c44df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp313-cp313-win_amd64.whl

Download URL clarax_core-1.0.1-cp313-cp313-win_amd64.whl
Size 360.9 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
caeadddc2d4661b3eb7a731f55c11e095f33eb5c9d1ab8c0f03453c1a6515837
BLAKE2b-256 checksum
How to use checksums
8f49a49637db44237e4a6e7bbd12d594dced269c05e75db38cbcacbb4a6b7358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL clarax_core-1.0.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 473.3 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c27692a251b1b98f488308ca80bb78b4e92d275a137c1a61e928c8eec58d0772
BLAKE2b-256 checksum
How to use checksums
1a98419d69cb30e0e5f0997d0d0ad3e4dce6d53225751acd59ca298bbec2c80a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL clarax_core-1.0.1-cp313-cp313-manylinux_2_28_aarch64.whl
Size 443.2 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
2eb48899f67a537d41fd71e65fa780580556d491a2cfda045a2090fa6b46319e
BLAKE2b-256 checksum
How to use checksums
bfa9684bf13106f29432826bc229ce644124eb8d2db01e7d1e9a46b5e03942c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp313-cp313-macosx_11_0_x86_64.whl

Download URL clarax_core-1.0.1-cp313-cp313-macosx_11_0_x86_64.whl
Size 438.4 kB
Tags CPython 3.13 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
6ec4fc82529d9530ed73ba7570eeccdf2577f2170ba6108e7ec28720a303e8c3
BLAKE2b-256 checksum
How to use checksums
26f7a809782bc8c40f95ad7f80cbe429ad928a9842f2e072badc38b2b5828aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL clarax_core-1.0.1-cp313-cp313-macosx_11_0_arm64.whl
Size 417.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1aae311891b5fc4742b7719ff7c103c33c6e0624a424a49ae4ff994bd3457729
BLAKE2b-256 checksum
How to use checksums
0788eef7fda4081c4628c04fd95ebbc5f258d2d00ac35f4b808e5ace36663d88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp312-cp312-win_amd64.whl

Download URL clarax_core-1.0.1-cp312-cp312-win_amd64.whl
Size 361.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0d1ca64176a7e0a53d6a690f54f684fb8598e4d664e16bde4146d69851b835d3
BLAKE2b-256 checksum
How to use checksums
15052771f577b2aa705a4c8397724714132f38a2a1fe4560a8306fb40828c61f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL clarax_core-1.0.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 473.6 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d05812c12aad2a399670794e9ac5cf55fd4327c0433654f47a15ae35b5f299be
BLAKE2b-256 checksum
How to use checksums
935544872a5b289815507a8f6c02b0073eb20bf88e86757c42dd1f7d0e6f7dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL clarax_core-1.0.1-cp312-cp312-manylinux_2_28_aarch64.whl
Size 443.3 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
cce47b7abf22a4f381566a0fcedfcbf147923222165e5b760a27c20c13726665
BLAKE2b-256 checksum
How to use checksums
c1f7bc8a67e86e2b02ce7ebca520ba0d0c85c476588ea32318b460c11ad8d2d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp312-cp312-macosx_11_0_x86_64.whl

Download URL clarax_core-1.0.1-cp312-cp312-macosx_11_0_x86_64.whl
Size 438.2 kB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
981034795b17699b1355ac8b333d01cfc56703402c9c01ff1312ac3a07df2306
BLAKE2b-256 checksum
How to use checksums
a3e1784fd9ab937653257b7e4acdfd748dab5ba4a0e774b2a953d28ed010def3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL clarax_core-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
Size 418.0 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a41ebe2dfeec64f3f6dc350176ee7546dd14e5500bf3f1b452c2d54ffc7fc6a
BLAKE2b-256 checksum
How to use checksums
14c69c4cfbcbc03743112661281e3f006adc4fa49ae6d46a5105447602bcd277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl

Download URL clarax_core-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl
Size 505.2 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
60f9c28f74fbfee64cf69e47861da3598c47f339b5dc5180d891d0e6065b99f4
BLAKE2b-256 checksum
How to use checksums
a90760b0dca581bd7b6860454a971f46ea59b0a46e412ab3a8042cd61e84c60f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / clarax_core-1.0.1-cp311-cp311-win_amd64.whl

Download URL clarax_core-1.0.1-cp311-cp311-win_amd64.whl
Size 365.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2d8f15a75fcdbd19bf5e1d13c091c68bbe7198181c63389fb514017c24daa2eb
BLAKE2b-256 checksum
How to use checksums
1e37f1c00c839bf93d057389bc75294c0edcc7588beabf840b3abb340ae2d882
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL clarax_core-1.0.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 477.4 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1c7abd55f960d8d089ab6e6827d2f505d36122fc32a35bc5c92d427d91e00608
BLAKE2b-256 checksum
How to use checksums
991c05ccf7cfecc3c51b73865c0c0e83f250e001e56fee8171a633e4f1a4b215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL clarax_core-1.0.1-cp311-cp311-manylinux_2_28_aarch64.whl
Size 447.8 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
1a53fc91d79dfd15548f7ba2fa9dbbb99e2798714523bac4d4914bca41bf4e51
BLAKE2b-256 checksum
How to use checksums
eb8a748fa8833210660caf220c89076641d5f935e9147ab7ebd2b9229a08a37f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp311-cp311-macosx_11_0_x86_64.whl

Download URL clarax_core-1.0.1-cp311-cp311-macosx_11_0_x86_64.whl
Size 437.4 kB
Tags CPython 3.11 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
68d2f4b2f0052152cd2d6a195482f56ac877083101e9d8afa4cf0809aff1a651
BLAKE2b-256 checksum
How to use checksums
98e4917884faf62ac41fcb2514edf444e40cab1e04e4aa0865085912d43f8fca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / clarax_core-1.0.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL clarax_core-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Size 423.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e7bcc09a7c1d057526944736ec9256199f2ce487c9508fc3397ac3b596ff3f35
BLAKE2b-256 checksum
How to use checksums
08c13e084a0aa1ea607fb4b92bd207cd7096889f2a63532dcd0efdad86ce95ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

17 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page