{"id":43525923,"url":"https://github.com/gardenlinux/python-gardenlinux-lib","last_synced_at":"2026-05-27T14:01:06.531Z","repository":{"id":253090174,"uuid":"839677438","full_name":"gardenlinux/python-gardenlinux-lib","owner":"gardenlinux","description":"Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames","archived":false,"fork":false,"pushed_at":"2026-05-20T12:17:33.000Z","size":6891,"stargazers_count":1,"open_issues_count":21,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-20T16:53:05.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gardenlinux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-08T05:33:12.000Z","updated_at":"2026-05-19T07:11:30.000Z","dependencies_parsed_at":"2024-08-17T20:28:15.240Z","dependency_job_id":"7c369896-4486-493c-b14f-0a2c8ff3c399","html_url":"https://github.com/gardenlinux/python-gardenlinux-lib","commit_stats":null,"previous_names":["gardenlinux/parse_features_lib","gardenlinux/python-gardenlinux-lib"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/gardenlinux/python-gardenlinux-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardenlinux%2Fpython-gardenlinux-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardenlinux%2Fpython-gardenlinux-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardenlinux%2Fpython-gardenlinux-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardenlinux%2Fpython-gardenlinux-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gardenlinux","download_url":"https://codeload.github.com/gardenlinux/python-gardenlinux-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardenlinux%2Fpython-gardenlinux-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33568859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-03T15:09:57.440Z","updated_at":"2026-05-27T14:01:06.525Z","avatar_url":"https://github.com/gardenlinux.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![poetry build](https://github.com/gardenlinux/parse_features_lib/actions/workflows/build.yml/badge.svg)\n![Black Lint](https://github.com/gardenlinux/parse_features_lib/actions/workflows/black.yml/badge.svg)\n![Test](https://github.com/gardenlinux/parse_features_lib/actions/workflows/pytests.yml/badge.svg)\n![security check](https://github.com/gardenlinux/parse_features_lib/actions/workflows/bandit.yml/badge.svg)\n\n## Garden Linux Python Library\n\nPython tooling to work with [Garden Linux](https://github.com/gardenlinux/gardenlinux) features, flavors, OCI artifacts, repositories, and releases.\nIt is primarily targeted at Garden Linux developers and CI pipelines rather than end users.\n\nThe library follows the intent of [Semantic Versioning](https://semver.org) for its public APIs.\n\n### Features\n\n- **Feature management**: parse, filter, and work with Garden Linux feature sets\n- **Flavor processing**: parse `flavors.yaml` and generate flavor combinations\n- **Repository utilities**: compare APT repositories and query package versions\n- **OCI operations**: push OCI artifacts and manifests to container registries\n- **S3 integration**: upload/download artifacts from S3 buckets\n- **GitHub integration**: create and manage GitHub releases\n\n## Documentation\n\nFull documentation is available at the **Garden Linux Python Library Documentation** site:\n[https://gardenlinux.github.io/python-gardenlinux-lib/](https://gardenlinux.github.io/python-gardenlinux-lib/)\n\nThe docs include:\n\n- **Command-Line Interface**: `gl-features-*`, `gl-flavors-*`, `gl-oci`, `gl-s3`, `gl-gh-release`\n- **API Reference**: modules, classes, and functions (e.g. `Parser`, `CName`, `Container`, `Repository`)\n- **Release documentation**: versioning and release process\n\n## Installation\n\n### Using `poetry` (from Git)\n\nAdd the library as a dependency in your `pyproject.toml`:\n\n```toml\n[tool.poetry.dependencies]\ngardenlinux = { git = \"https://github.com/gardenlinux/python-gardenlinux-lib\", rev = \"0.10.5\" }\n```\n\nThen install:\n\n```bash\npoetry install\n```\n\n### Local development setup\n\n```bash\ngit clone https://github.com/gardenlinux/python-gardenlinux-lib.git\ncd python-gardenlinux-lib\npython -m venv venv\nsource venv/bin/activate\npoetry install\n```\n\n## Quickstart\n\n### Example: list features for a given `cname`\n\n```python\nfrom gardenlinux.features import Parser\n\ncname = \"aws-gardener_prod\"\nfeature_list = Parser().filter_as_list(cname)\n\nprint(f\"features of {cname}:\")\nfor feature in feature_list:\n    print(feature)\n```\n\nFor more examples and for all CLI tools, see the **Command-Line Interface** and **API Reference** sections in the docs:\n[https://gardenlinux.github.io/python-gardenlinux-lib/](https://gardenlinux.github.io/python-gardenlinux-lib/)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Bundesministerium für Wirtschaft und Energie (BMWE)-EU funding logo\" src=\"https://apeirora.eu/assets/img/BMWK-EU.png\" width=\"400\"/\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgardenlinux%2Fpython-gardenlinux-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgardenlinux%2Fpython-gardenlinux-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgardenlinux%2Fpython-gardenlinux-lib/lists"}