Skip to main content

Project and package manager for Arx workspaces

Project description

arxpm

arxpm is the Arx project manager and workspace tool.

arx compiles .x files and resolves project-aware imports using build.src_dir. arxpm owns .arxproject.toml rendering, project layout inference and validation, default target selection, Python environment provisioning (via uv), and user-facing workflow commands.

Compatibility

  • Python 3.10+ is supported.
  • On Python 3.10, arxpm uses tomli as a compatibility fallback for tomllib.

Architecture

  • models.py: typed manifest models.
  • manifest.py: .arxproject.toml parsing and rendering.
  • layout.py: effective package/mode resolution and filesystem validation.
  • _toml.py: TOML parser compatibility shim (tomllib/tomli).
  • environment.py: backend-neutral environment protocol plus venv, conda, and system implementations that install packages via uv pip install --python <interp>.
  • credentials.py: keyring-backed publish credential storage.
  • project.py: project workflows (init, add, install, build, run, pack, publish).
  • healthcheck.py: manifest, layout, environment, and toolchain checks.
  • cli.py: Typer command layer.

Commands (v0)

  • arxpm init
  • arxpm config
  • arxpm install
  • arxpm add <name> [--path PATH|--git URL]
  • arxpm build
  • arxpm compile
  • arxpm run
  • arxpm pack
  • arxpm publish
  • arxpm healthcheck
  • arxpm doctor

Development

mamba env create --file conda/dev.yaml
conda activate arxpm
poetry install --with dev
pytest

The examples/ directory ships several sample projects:

  • examples/hello-arx/ — minimal app project at src/hello_arx/.
  • examples/multi-module/ — multi-file app project whose main.x imports and calls functions from sibling .x modules. See the Multi-file Projects guide.
  • examples/local_lib/ + examples/local-consumer/ — a library and a consumer that live side by side on disk so the consumer resolves imports against the library's installed .x files. See Local Packages for path dependencies and installed Arx package source links.

Integration tests that compile and execute the examples live in tests/test_examples_integration.py and are gated on arx and uv being on PATH. Run them with:

pytest -m integration

Project details


Download files

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

Source Distribution

arxpm-1.8.1.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

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

arxpm-1.8.1-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file arxpm-1.8.1.tar.gz.

File metadata

  • Download URL: arxpm-1.8.1.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.10.20 Linux/6.17.0-1011-azure

File hashes

Hashes for arxpm-1.8.1.tar.gz
Algorithm Hash digest
SHA256 5473c2608fc4bde7e7f3d20a0feb9db88416f3efadeb1fb5a4d14910726972ea
MD5 09d067fbb7405ddc1b1e869ddb84b266
BLAKE2b-256 030f0dfa7eccb9338ab97446d2408b1ad925782df7405647c74a79d3556064b5

See more details on using hashes here.

File details

Details for the file arxpm-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: arxpm-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.10.20 Linux/6.17.0-1011-azure

File hashes

Hashes for arxpm-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b494822d4c1718be34de8931e43066a98f418feb70d6ab05c848145bba98753
MD5 93c846af5853ce3fcbb36cba079242ba
BLAKE2b-256 c18ec629bff8ffce1f5efeda3e7b77529d09f1f659e7e37316946c725de7e759

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 Pingdom Monitoring Sentry Error logging StatusPage Status page