{"id":15433059,"url":"https://github.com/simonw/python-lib-template-repository","last_synced_at":"2025-04-14T17:43:27.519Z","repository":{"id":66508192,"uuid":"400882828","full_name":"simonw/python-lib-template-repository","owner":"simonw","description":"GitHub template repository for creating new Python libraries, using the simonw/python-lib cookiecutter template ","archived":false,"fork":false,"pushed_at":"2024-05-12T17:18:04.000Z","size":22,"stargazers_count":54,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-18T07:54:00.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/simonw.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}},"created_at":"2021-08-28T20:18:48.000Z","updated_at":"2024-08-24T13:20:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"9552bf49-c091-433b-aff3-b180afaf56cb","html_url":"https://github.com/simonw/python-lib-template-repository","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"ce8e360b6fa14dc92abdd787e743aaaa84f3067c"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpython-lib-template-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpython-lib-template-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpython-lib-template-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpython-lib-template-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/python-lib-template-repository/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978277,"owners_count":20703678,"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-01T18:31:08.855Z","updated_at":"2025-03-28T06:11:22.250Z","avatar_url":"https://github.com/simonw.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template repository for creating new Python libraries\n\nThis GitHub [template repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-repository-from-a-template) can be used to create a new repository with the skeleton of a Python library, based on the [python-lib](https://github.com/simonw/python-lib) cookiecutter.\n\nStart here: https://github.com/simonw/python-lib-template-repository/generate\n\nThe name of your repository will be the name of the Python package that you publish to [PyPI](https://pypi.org/), so make sure that name is not taken already!\n\nAdd a one-line description of your repository, then click \"Create repository from template\".\n\n![Screenshot of the create repository interface](https://user-images.githubusercontent.com/9599/131230293-7ed5760e-b385-407e-bbf1-c6fc7540d3fe.png)\n\nOnce created, your new repository will execute a GitHub Actions workflow that uses cookiecutter to rewrite the repository to the desired state. This make take 30 seconds or so.\n\nYou can see an example of a repository generated using this template here:\n\n- https://github.com/simonw/python-lib-template-repository-demo\n\n## GitHub Actions setup by this repository\n\nThe `test.yml` GitHub Actions workflow will run your tests automatically any time you push a change to the repo.\n\nThe `publish.yml` Action runs when you create a new GitHub release. It can build and upload your package to [PyPI](https://pypi.org/).\n\nFor this to work you need to create an account on PyPI and configure your new GitHub repository as a \"trusted publisher\".\n\nSee [Publishing your library as a package to PyPI](https://github.com/simonw/python-lib#publishing-your-library-as-a-package-to-pypi) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fpython-lib-template-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fpython-lib-template-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fpython-lib-template-repository/lists"}