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>.
  • 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 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 .x files. See Local Packages for the supported layout and the current boundary around installed libraries.

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.7.0.tar.gz (23.1 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.7.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for arxpm-1.7.0.tar.gz
Algorithm Hash digest
SHA256 8cd9f717146406ed4b9a247e036c60166d869a45a00ce0339b0c9a8133d860f1
MD5 8d4856fcaf897c47c7b7de4f79d23dc4
BLAKE2b-256 a355972b11446885220b95f27c6af2dbcce4c765f51cafa860c9f7c4ca0a6524

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for arxpm-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74d6272723047155c22006ce472775d0e6bf9f83c079b465e7a756264cef011e
MD5 0512af9245580629978b379e130482a1
BLAKE2b-256 df8b2e5a3fbbb7d6da5580c51a03a85b08b16297dcb586fd5e81d46e930ebb89

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