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

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.5
File Size Uploaded Provenance
lab_env-0.0.5.tar.gz 48.9 kB With provenance Details

Built distribution (wheel)

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

Total release size: 87.7 kB

Release files / lab_env-0.0.5.tar.gz

Download URL lab_env-0.0.5.tar.gz
Size 48.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4fab397a54030e6a5ba264b4b991e7d0bb78299abdf62be0a23b1285db0e9c02
BLAKE2b-256 checksum
How to use checksums
92bd7ace71f5deff933b9529e8df3da5abc86d46db2fd8ff3466445119812e38
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.5-py3-none-any.whl

Download URL lab_env-0.0.5-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5569b1606f40d940358c5030bbac9884cd2430298c74c367569649ad5363ad57
BLAKE2b-256 checksum
How to use checksums
493dab1811381b92218b8ee39fde1e00aba094f8e9142774179ee79e425bf36c
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.5

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