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 compiler 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

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 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

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.9.0.tar.gz (27.0 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.9.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arxpm-1.9.0.tar.gz
  • Upload date:
  • Size: 27.0 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.9.0.tar.gz
Algorithm Hash digest
SHA256 0b6fdf518470ccc1a87fd4607815a9459ea893204ba1475f9fbcae33813376e7
MD5 89ce319f6e95c4010d3d6002d2a809b6
BLAKE2b-256 45292aa0797d219a01265728d0622da49658eeb0a0f1b5fdba545077fb98a3bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arxpm-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 31.8 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bed7ceb76df2c617255d4907c683c1eb627a41215b567a5945f6ced0d9de0e79
MD5 b04db64a682964b75c23694e0238be2b
BLAKE2b-256 037345354a066edd8e97e02c1fdbd381ab46a59bb60535b43b720bf8c8011d53

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