{"id":15558670,"url":"https://github.com/espenalbert/py-libs","last_synced_at":"2025-08-09T10:34:36.928Z","repository":{"id":151636509,"uuid":"624589754","full_name":"EspenAlbert/py-libs","owner":"EspenAlbert","description":"Various python packages I want to share","archived":false,"fork":false,"pushed_at":"2025-08-06T07:02:39.000Z","size":1876,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T09:07:54.628Z","etag":null,"topics":["json","pants-plugins","pantsbuild","pydantic","python","yaml"],"latest_commit_sha":null,"homepage":"https://espenalbert.github.io/py-libs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EspenAlbert.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-04-06T20:11:06.000Z","updated_at":"2025-07-19T08:13:47.000Z","dependencies_parsed_at":"2023-04-10T21:17:56.376Z","dependency_job_id":"2b064d5a-87f1-4c5f-bc68-58f94feb2cad","html_url":"https://github.com/EspenAlbert/py-libs","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"purl":"pkg:github/EspenAlbert/py-libs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspenAlbert%2Fpy-libs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspenAlbert%2Fpy-libs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspenAlbert%2Fpy-libs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspenAlbert%2Fpy-libs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EspenAlbert","download_url":"https://codeload.github.com/EspenAlbert/py-libs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EspenAlbert%2Fpy-libs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269565565,"owners_count":24439199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"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":["json","pants-plugins","pantsbuild","pydantic","python","yaml"],"created_at":"2024-10-02T15:40:25.308Z","updated_at":"2025-08-09T10:34:36.881Z","avatar_url":"https://github.com/EspenAlbert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/EspenAlbert/py-libs/actions/workflows/ci.yaml\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/EspenAlbert/py-libs/actions/workflows/ci.yaml/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/model-lib/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/model-lib.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/model-lib/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/pyversions/model-lib.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/EspenAlbert/py-libs\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/codecov/c/github/EspenAlbert/py-libs?color=%2334D058\" alt=\"Coverage\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/psf/black\" target=\"_blank\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" alt=\"Code style: black\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/EspenAlbert/py-libs/blob/main/LICENSE\" target=\"_blank\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/pre-commit/pre-commit\"\u003e\u003cimg src=\"https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\" alt=\"pre-commit\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n# py-libs (drastic changes coming for v1.0.0)\n\n- An experiment for sharing python packages\n- ~~[compose_chart_export](./compose_chart_export/readme.md)~~\n\t- `pip install compose-chart-export`\n- ~~[docker_compose_parser](./docker_compose_parser/readme.md)~~\n\t- `pip install docker-compose-parser`\n- [model_lib-pydantic base models with convenient dump methods](./model-lib/readme.md)\n\t- `pip install model-lib`\n- [zero_lib-handy standalone scripts without 3rdparty dependencies](./zero-3rdparty/readme.md)\n\t- `pip install zero-3rdparty`\n\n## Hierarchy\n\n```mermaid\nflowchart TD\n    model_lib --\u003e zero_3rdparty\n    compose_chart_export --\u003e model_lib\n    docker_compose_parser --\u003e model_lib\n    compose_chart_export --\u003e docker_compose_parser\n    pants_py_deploy --\u003e compose_chart_export\n    pants_py_deploy --\u003e docker_compose_parser\n\n    click zero_3rdparty href \"/py-libs/zero-3rdparty\" \"zero_3rdparty docs\"\n    click model_lib href \"/py-libs/model-lib\" \"model_lib docs\"\n    click docker_compose_parser href \"/py-libs/docker_compose_parser\" \"docker_compose_parser docs\"\n    click compose_chart_export href \"/py-libs/compose_chart_export\" \"compose_chart_export docs\"\n    click pants_py_deploy href \"/py-libs/_pants/pants_py_deploy\" \"pants_py_deploy docs\"\n```\n\n- (Click) on a library to see the documentation\n- The higher up in the hierarchy the more dependencies needs to be installed\n\t- e.g., `zero_3rdparty` has no dependencies and `pants_py_deploy` depends on all the others\n\n## Local Installation\n\n- [Install `just`](https://just.systems/man/en/introduction.html)\n- [Install `uv`](https://docs.astral.sh/uv/getting-started/installation/)\n\n```sh\npre-commit install --hook-type pre-push\nuv sync\ncode .\n```\n\n## Release process\n1. Do changes on your branch\n2. Bump the versions you want to deploy\n```sh\njust pkg-version z beta # alpha/patch,etc.\njust pkg-version m beta\n```\n3. Merge and wait for release to complete\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespenalbert%2Fpy-libs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fespenalbert%2Fpy-libs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespenalbert%2Fpy-libs/lists"}