Skip to main content

Installation Instructions

Conda Environment

  1. Create a conda environment with python 3.13
conda create -n pyxalign python=3.13

then activate the environment

conda activate pyxalign

Install astra-toolbox and CuPy from conda-forge:

conda install -c conda-forge astra-toolbox
conda install -c conda-forge cupy

Installing these libraries from conda-forge instead of pip ensures that required CUDA toolkit is installed.

Create an editable, developer installation of pyxalign:

git clone https://github.com/AdvancedPhotonSource/pyxalign.git
cd pyxalign
pip install -e ".[dev]"

Install the latest version of pyxalign from PyPI:

pip install pyxalign

Podman Container

  1. Clone the pyxalign git repo
git clone https://github.com/AdvancedPhotonSource/pyxalign.git
cd pyxalign
  1. Build the container image
podman build -t pyxalign:latest .
  1. Run the container
podman run \
    -it --rm --env DISPLAY --security-opt label=type:container_runtime_t \
    --network host -v="$HOME/.Xauthority:/root/.Xauthority:rw" \
    --device nvidia.com/gpu=all \
    pyxalign:latest bash

Any directories you need access to inside the container must be explicitly mounted using the -v flag:

-v /path/on/host:/path/in/container

For example, to mount your data directory:

podman run \
    -it --rm --env DISPLAY --security-opt label=type:container_runtime_t \
    --network host -v="$HOME/.Xauthority:/root/.Xauthority:rw" \
    -v /data/my_experiment:/data/my_experiment \
    --device nvidia.com/gpu=all \
    pyxalign:latest bash

Metadata

Release files for pyxalign 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyxalign 1.1.0
File Size Uploaded Provenance Actions
pyxalign-1.1.0.tar.gz 279.4 kB Without provenance Details for pyxalign-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyxalign 1.1.0
File Interpreter ABI Platform Actions
pyxalign-1.1.0-py3-none-any.whl Python 3 none any Details for pyxalign-1.1.0-py3-none-any.whl

Total release size: 614.5 kB

Release files / pyxalign-1.1.0.tar.gz

Download URL pyxalign-1.1.0.tar.gz
Size 279.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f9d5ba9bf2561911c73566e8099a0fdbaaa55474eaefce2baf9a9a488b8c2fa
BLAKE2b-256 checksum
How to use checksums
f46cf35d8f0683a95de8213bbe32384095a7deba6d19e6ce9c68cd7818b07ca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / pyxalign-1.1.0-py3-none-any.whl

Download URL pyxalign-1.1.0-py3-none-any.whl
Size 335.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a6e4a7451f7f8cf0f1e475f120332dff6850343dccdacf47cd43097ee98bd5b
BLAKE2b-256 checksum
How to use checksums
f212866c306dff64f9f6cccc38a4699f20b1a6cc275392ddc3f97d440c0c458d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for pyxalign 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page