{"id":15590109,"url":"https://github.com/bkeepers/python-actions","last_synced_at":"2025-06-24T16:40:10.308Z","repository":{"id":66302943,"uuid":"153349584","full_name":"bkeepers/python-actions","owner":"bkeepers","description":"GitHub Actions for Python packaging and distribution","archived":false,"fork":false,"pushed_at":"2018-10-16T20:27:47.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T06:25:03.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"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/bkeepers.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}},"created_at":"2018-10-16T20:26:28.000Z","updated_at":"2023-02-02T14:02:14.000Z","dependencies_parsed_at":"2023-02-20T21:46:22.711Z","dependency_job_id":null,"html_url":"https://github.com/bkeepers/python-actions","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"b01151c680e98ff9a426c700720bde8891394557"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeepers%2Fpython-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeepers%2Fpython-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeepers%2Fpython-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeepers%2Fpython-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkeepers","download_url":"https://codeload.github.com/bkeepers/python-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243093995,"owners_count":20235471,"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","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":"2024-10-02T23:20:07.630Z","updated_at":"2025-03-11T18:48:52.687Z","avatar_url":"https://github.com/bkeepers.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for Python packaging and distribution\n\nThese Actions support building [Python](https://www.python.org/) packages with setup.py and uploading them to [PyPi](https://pypi.python.org) or alternate repositories using the [twine](https://pypi.org/project/twine/) utility.\n\n## setup.py (check \u0026 build)\n\nSee [setup-py README](setup-py/README.md) for usage details.\n\n## twine (package upload)\n\nSee [twine README](twine/README.md) for usage details.\n\n## Usage\n\nAn example workflow to check, build, and upload a Python package to PyPi follows. `\u003cpython-version\u003e` should be replaced with a [supported version](#supported-python-versions) and `\u003ccommit-ish\u003e` should generally be replaced with a release tag e.g. `rel-0.0.1` or a commit sha e.g.  `aa63e12e998c56713d9cbba3ddf211281db3178f` or `aa63e12` for short. Finally `\u003cyour-module-name\u003e` should be replaced with the name of your python module. It is possible to upload multiple files and to customize other options, see the [twine docs](https://pypi.org/project/twine/) for more information.\n\n```hcl\nworkflow \"check, sdist, and upload\" {\n  on = \"push\"\n  resolves = [\"upload\"]\n}\n\naction \"tag-filter\" {\n  uses = \"docker://alpine\"\n  args = [\"sh\", \"-c\", \"echo $GITHUB_REF | grep -Eq refs/tags.*\"]\n}\n\naction \"check\" {\n  uses = \"ross/python-actions/setup-py/\u003cpython-version\u003e@\u003ccommit-ish\u003e\"\n  args = \"check\"\n  needs = \"tag-filter\"\n}\n\naction \"sdist\" {\n  uses = \"ross/python-actions/setup-py/\u003cpython-version\u003e@\u003ccommit-ish\u003e\"\n  args = \"sdist\"\n  needs = \"check\"\n}\n\naction \"upload\" {\n  uses = \"ross/python-actions/twine@\u003ccommit-ish\u003e\"\n  args = \"upload ./dist/\u003cyour-module-name\u003e-*.tar.gz\"\n  secrets = [\"TWINE_PASSWORD\", \"TWINE_USERNAME\"]\n  needs = \"sdist\"\n}\n```\n\n## License\n\nThe Dockerfiles and associated scripts and documentation in this project are released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkeepers%2Fpython-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkeepers%2Fpython-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkeepers%2Fpython-actions/lists"}