Skip to main content

openmedaxis-init

A command-line scaffolder that creates ready-to-run OpenMedAxis projects with a fully configured Python environment, PyTorch stack, and all standard dependencies pre-installed.


Requirements

  • uv 0.5 or later

Usage

uvx openmedaxis-init <project-name> [OPTIONS]

No installation needed. uvx runs the tool directly from PyPI in an isolated environment.

This single command will:

  1. Create a new project directory named <project-name>
  2. Generate a pyproject.toml with the correct uv/PyTorch index configuration
  3. Create a virtual environment via uv sync
  4. Install the full dependency stack
  5. Run a smoke test to verify the environment

Options

Option Choices Default Description
--template modern modern Project template to use
--torch-backend cu118, cpu cu118 PyTorch backend (CUDA 11.8 or CPU-only)
--oma any version string latest OpenMedAxis version to pin (e.g. 0.4.2)

Examples

GPU project (CUDA 11.8, latest OpenMedAxis):

uvx openmedaxis-init my-segmentation-project

CPU-only project:

uvx openmedaxis-init my-project --torch-backend cpu

Pin a specific OpenMedAxis version:

uvx openmedaxis-init my-project --oma 0.4.2

What Gets Installed

Every modern template project installs the following packages:

Package Version
torch 2.6.0
torchvision 0.21.0
torchaudio 2.6.0
openmedaxis latest or pinned
lightning 2.5.2
einops 0.8.1
matplotlib 3.10.0
nibabel 5.4.0
numpy 2.1.2
pip latest
scikit-image 0.25.2
scipy 1.16.0
torchmetrics 1.7.3
tqdm 4.67.1

Generated Project Structure

my-project/
├── pyproject.toml          # Project config with uv/PyTorch index settings
├── .python-version         # Pins Python 3.11
├── .gitignore
├── README.md
└── src/
    └── my_project/
        ├── __init__.py
        └── train.py        # Entry point: uv run python -m my_project.train

After Scaffolding

cd my-project
uv run python -m my_project.train

Development

To work on openmedaxis-init itself:

git clone <repo-url>
cd openmedaxis_init
uv sync
uv run openmedaxis-init --help

Metadata

Release files for openmedaxis-init 0.1.2

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

Source distribution (sdist)

Source distribution for openmedaxis-init 0.1.2
File Size Uploaded Provenance Actions
openmedaxis_init-0.1.2.tar.gz 3.9 kB Without provenance Details for openmedaxis_init-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openmedaxis-init 0.1.2
File Interpreter ABI Platform Actions
openmedaxis_init-0.1.2-py3-none-any.whl Python 3 none any Details for openmedaxis_init-0.1.2-py3-none-any.whl

Total release size: 10.7 kB

Release files / openmedaxis_init-0.1.2.tar.gz

Download URL openmedaxis_init-0.1.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2e9ca5bff97ae8a8497f670e2a77a3d58b532a4a4dcbdb8fcedd3319f59367b0
BLAKE2b-256 checksum
How to use checksums
b11cd08c8a8e965c7e8a2d52fb81c143c50616ea91ab1b130a2fb62c39afd589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"18.04","id":"bionic","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / openmedaxis_init-0.1.2-py3-none-any.whl

Download URL openmedaxis_init-0.1.2-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56eaa1c9bdfa53fb37e4b4070107bdc172e6ef9b3e5ba6becbc061a7e44230ad
BLAKE2b-256 checksum
How to use checksums
2df423d59c4d88ac36ebbf4a8514b8a54e11e124ed5072e76d928a77edfef573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"18.04","id":"bionic","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for openmedaxis-init 0.1.2

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.

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