Garden Linux CICD Utils
raw JSON → 1.1735.0 verified Sat May 09 auth: no python
CI/CD utility library for Garden Linux development, providing automation helpers and tooling. Version 1.1735.0 supports Python >=3.9 and is released frequently (multiple daily versions).
pip install gardenlinux Common errors
error AttributeError: module 'gardenlinux' has no attribute 'GardenLinuxBase' ↓
cause Incorrect import or library not installed properly.
fix
Install the library: pip install gardenlinux; then import using from gardenlinux import GardenLinuxBase
error ValueError: Invalid API key ↓
cause GARDENLINUX_API_KEY environment variable not set or invalid.
fix
Set the GARDENLINUX_API_KEY environment variable with a valid key before running the script.
Warnings
breaking Requires Python >=3.9; incompatible with older Python versions. ↓
fix Upgrade Python to 3.9 or later.
gotcha The API key must be set via environment variable GARDENLINUX_API_KEY, not passed as argument to constructor. ↓
fix Set GARDENLINUX_API_KEY in environment instead of passing API key directly.
Imports
- GardenLinuxBase
from gardenlinux import GardenLinuxBase
Quickstart
import os
from gardenlinux import GardenLinuxBase
glb = GardenLinuxBase(api_key=os.environ.get('GARDENLINUX_API_KEY', ''))
print(glb.version())