python

package
v0.0.0-...-afe9b76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package python provisions the Python toolchain on demand via astral-sh/uv — a single self-contained binary that itself downloads + manages CPython. So `bashy python`/`pip`/`uv` all work on a bare node with no system Python: binmgr fetches uv (download → sha256-verify → cache), then uv provisions CPython on first `python`/`pip` use. No embedding. uv is Apache-2.0/MIT.

Index

Constants

View Source
const DefaultVersion = "0.5.11"

DefaultVersion pins the uv release fetched when none is requested. uv is backward-compatible; bump periodically or override with $BASHY_UV_VERSION.

Variables

This section is empty.

Functions

func EnsureUv

func EnsureUv(ctx context.Context, version string) (string, error)

EnsureUv fetches (if needed) the uv binary and returns its cached path.

func NewPipCmd

func NewPipCmd() *cobra.Command

func NewPythonCmd

func NewPythonCmd() *cobra.Command

func NewUvCmd

func NewUvCmd() *cobra.Command

NewUvCmd / NewPythonCmd / NewPipCmd are the `bashy uv|python|pip` front-doors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL