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.
- Python 3.10+ is supported.
- On Python 3.10,
arxpmusestomlias a compatibility fallback fortomllib.
models.py: typed manifest models.manifest.py:.arxproject.tomlparsing 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 plusvenv,conda, andsystemimplementations that install packages viauv 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 compiler checks.cli.py: Typer command layer.
arxpm initarxpm configarxpm installarxpm add <requirement> [--path PATH|--git URL]arxpm buildarxpm compilearxpm runarxpm packarxpm publisharxpm healthcheck
mamba env create --file conda/dev.yaml
conda activate arxpm
poetry install --with dev
pytestThe examples/ directory ships several sample projects:
examples/hello-arx/— minimal app project atsrc/hello_arx/.examples/multi-module/— multi-file app project whosemain.ximports and calls functions from sibling.xmodules. 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.xfiles. See Local Packages for path dependencies and installed Arx package resolution.
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