Skip to main content

ArxPy

ArxPy is the developing Python-facing API for the Arx compiler.

Status: API foundation only. The package currently provides structured diagnostics and public exception types; it does not yet expose parse, compile, run, or artifact APIs.

Install

pip install arxpy

Current API

from arxpy import (
    ArxError,
    CompileError,
    Diagnostic,
    DiagnosticSeverity,
    ExecutionError,
    ParseError,
)

Diagnostic is an immutable external record with severity, message, filename, line, column, and optional code. ArxPy adapters translate IRx structured diagnostics and Arx parser exceptions without exposing raw compiler nodes.

All public failures inherit from ArxError and carry a diagnostics list.

Until the compiler facade lands, use the arx CLI for end-to-end compilation or the lower-level Arx/IRx APIs for internal integrations.

Documentation: https://arxlang.org/arxpy/

License: Apache-2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arxpy-1.24.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arxpy-1.24.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file arxpy-1.24.1.tar.gz.

File metadata

  • Download URL: arxpy-1.24.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for arxpy-1.24.1.tar.gz
Algorithm Hash digest
SHA256 8805ba32768bb37e54f3fd3021c93c102a729ce6d71596f42e9f2c8f15a7cc2b
MD5 4eb22c27dd60188c85a8445cbe634168
BLAKE2b-256 29a8a416cbee33dd8ae6d5173b6d3f34421bb923bd64e611ce6eac306314b4b5

See more details on using hashes here.

File details

Details for the file arxpy-1.24.1-py3-none-any.whl.

File metadata

  • Download URL: arxpy-1.24.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for arxpy-1.24.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebcca1dd7d2600020dd447c3be95f0d64df8add07ccef97015c307f73c881833
MD5 4f2269c7befe1ffab51312051cce596a
BLAKE2b-256 ebf252e23996f7aefac049ab71aa4084b46a8b5b63a3f21b69fe432efd699eae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page