Skip to main content

lab-env

Test Docs License Python Ruff

lab-env is a command-line toolkit for consistent research computing environments on macOS and Linux. It keeps personal host configuration outside the installed package and provides diagnostics without connecting to remote systems or changing shell startup files.

Status

The initial foundation implements:

  • lab init to create personal TOML configuration safely;
  • lab hosts to inspect configured SSH aliases;
  • lab doctor to validate configuration, shell support, and local clients;
  • lab connect to open SSH or run a remote command;
  • lab pull and lab push for resumable rsync transfers;
  • lab shell preview/install/status/uninstall for managed Bash or Zsh aliases and startup integration;
  • an explicit global --config option for isolated or alternate setups.

Navigation shortcuts, optional shell features, and study orchestration are planned but are not implemented yet.

Installation

Python 3.11 or newer is supported. For an isolated command-line installation, use pipx:

pipx install lab-env

For development from a checkout:

python -m pip install -e ".[dev]"

Quick Start

lab --help
lab init
lab hosts
lab doctor
lab connect HOST
lab pull HOST REMOTE_PATH [LOCAL_PATH]
lab push HOST LOCAL_PATH REMOTE_PATH
lab shell preview
lab shell install
lab shell status

By default, configuration is stored at ~/.config/lab-env/config.toml. XDG_CONFIG_HOME is honored when set. Use an explicit path for testing or multiple environments:

lab --config ./example.toml init
lab --config ./example.toml doctor

lab init refuses to overwrite an existing file. lab shell install is the only current command that modifies shell startup configuration. Preview the exact paths and managed block first with lab shell preview.

Documentation

The user guide is available at uahypersonics.github.io/lab-env. Development and contribution instructions are in CONTRIBUTING.md.

License

lab-env is distributed under the GNU General Public License v3.0 or later.

Metadata

Release files for lab-env 0.0.4

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

Source distribution (sdist)

Source distribution for lab-env 0.0.4
File Size Uploaded Provenance
lab_env-0.0.4.tar.gz 48.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lab-env 0.0.4
File Interpreter ABI Platform
lab_env-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 86.8 kB

Release files / lab_env-0.0.4.tar.gz

Download URL lab_env-0.0.4.tar.gz
Size 48.2 kB
Tags Source
SHA-256 checksum
How to use checksums
013e875264e60538c9462f5e79fa2fd877efdb0d911f997f33ac926f9f711af3
BLAKE2b-256 checksum
How to use checksums
d4471a510c66a1ae727c64ac7c2442363d939f86f7ae460ad963e881e94f8909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / lab_env-0.0.4-py3-none-any.whl

Download URL lab_env-0.0.4-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11026f6d196dd7bf3e2a2924cddaf068d0efdbb89e9b9ba359c09920a1a16915
BLAKE2b-256 checksum
How to use checksums
aaba158df6c46b513e1010e87f9ddbdb7dad5e46a037e9f3722a7afc1f3ea9c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Security for lab-env 0.0.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lab_env-0.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

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.

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