Skip to main content

ArxJIT

ArxJIT is the planned Numba-style route from a restricted subset of pure Python to ASTx, IRx, LLVM, and native callable code.

Important: native JIT compilation is not implemented yet. A decorated function currently executes the original Python function.

Current API

from arxjit import i64, jit


@jit(signature=i64(i64, i64), cache=True)
def add(left, right):
    return left + right


assert add(20, 22) == 42  # Python fallback today

Implemented foundations:

  • @jit and the JitFunction wrapper
  • scalar signatures: i32, i64, f32, f64, and bool_
  • robust function-source extraction with real-file locations
  • validation for the proposed scalar Python subset
  • signature reconciliation from explicit signatures or scalar annotations
  • initial fail-closed ASTx lowering for function shells and straight-line scalar expressions
  • structured diagnostics and public error types

The validator accepts typed scalar arguments, arithmetic/comparison/Boolean expressions, single-target assignments, if/else, while, for over the builtin range, and return. It rejects unsupported constructs with one diagnostic per violation.

Not implemented:

  • ASTx lowering for assignments, short-circuit Boolean expressions, chained comparisons, and control flow
  • IRx compilation or native function calls
  • runtime argument/result marshalling
  • signature inference and artifact caching
  • array, Tensor, or Apache Arrow signatures

See the staged design for the Python-to-ASTx pipeline.

License: Apache-2.0.

Metadata

Release files for arxjit 1.32.0

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

Source distribution (sdist)

Source distribution for arxjit 1.32.0
File Size Uploaded Provenance Actions
arxjit-1.32.0.tar.gz 35.0 kB Without provenance Details for arxjit-1.32.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arxjit 1.32.0
File Interpreter ABI Platform Actions
arxjit-1.32.0-py3-none-any.whl Python 3 none any Details for arxjit-1.32.0-py3-none-any.whl

Total release size: 74.8 kB

Release files / arxjit-1.32.0.tar.gz

Download URL arxjit-1.32.0.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
416da749622c0db675bfaab7a336b9206c2ac5d7a5ba1834bd4ff482de9e2794
BLAKE2b-256 checksum
How to use checksums
935fe1c0f03bab1eddaa79a20af3f71f1c6a7e39977e20361dc3703187c74e1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.2 CPython/3.11.18 Linux/7.0.0-1020-azure

Release files / arxjit-1.32.0-py3-none-any.whl

Download URL arxjit-1.32.0-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c209cc7cd701a7a4a7602cae91e4d015459c6d0b1fd7b056b2fd16e24d609fd
BLAKE2b-256 checksum
How to use checksums
df447385da6dc6c81f7b4ca7bfee179b7298fe909b4706be0c283d7edb03fedd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.2 CPython/3.11.18 Linux/7.0.0-1020-azure

Security for arxjit 1.32.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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