{"id":19880324,"url":"https://github.com/tnarik/copier-python","last_synced_at":"2026-05-13T14:37:12.231Z","repository":{"id":145672578,"uuid":"546081699","full_name":"tnarik/copier-python","owner":"tnarik","description":"Copier template for python projects","archived":false,"fork":false,"pushed_at":"2022-10-23T08:34:03.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T18:08:52.763Z","etag":null,"topics":["copier","copier-template","poetry","python"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/tnarik.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":"2022-10-05T13:46:31.000Z","updated_at":"2022-11-11T08:44:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c5dbd9a-1c32-4ba1-a99e-5820ab104690","html_url":"https://github.com/tnarik/copier-python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnarik%2Fcopier-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnarik%2Fcopier-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnarik%2Fcopier-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnarik%2Fcopier-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tnarik","download_url":"https://codeload.github.com/tnarik/copier-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241309102,"owners_count":19941725,"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":["copier","copier-template","poetry","python"],"created_at":"2024-11-12T17:11:01.946Z","updated_at":"2026-05-13T14:37:12.006Z","avatar_url":"https://github.com/tnarik.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# copier-python\n\nA [Copier](https://github.com/copier-org/copier) template for Python projects.\n\n\n## Features\n\n[Poetry](https://github.com/python-poetry/poetry) used for package dependency management.\n\n\n## Pre-usage instructions\n\nCurrently, this [Copier](https://github.com/copier-org/copier) template relies on and requires the [copier-templates-extensions](https://github.com/copier-org/copier-templates-extensions) plugin so that an embedded Jinja2 extension (`extensions/shell.py`) can be properly loaded and used in templates.\n\nThe plugin needs to be installed in the Python environment that is used with `copier`. If `copier` is installed via Homebrew (as it is the case in my setup), the easiest way would be to run the following from the command line:\n\n`$(brew --prefix copier)/libexec/bin/pip3 install copier-templates-extensions`\n\nThe embedded `extensions/shell.py` extension is used because even  when a Jinja2 3.x version of [jinja2-shell-extension](https://github.com/metwork-framework/jinja2_shell_extension) is now published, the embedded version includes additional parameters.\n\n##  Usage\n\nGeneration of a project is as simple as running:\n\n`copier \"gh:tnarik/copier-python\" /path/to/your/new/project`\n\n### Additional setup\n\nOnce the project has been created, you can go ahead and `cd` into the project folder.\nIf your system is configured to run the `direnv` hooks (it should, see [WORKBENCH.md](WORKBENCH.md)), then you just need to execute:\n\n```\ndirenv allow .\npoetry install\n```\n\nThese commands will setup the automated activation of the project local virtual environment and install all DEV dependencies.\n\n## Alternatives\n\nPerhaps something like [pawamoy/copier-poetry](https://github.com/pawamoy/copier-poetry) is preferable for some people, but it includes too much magic and post-generation scripts which is something I prefer not using. In any case, you can give it a try.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnarik%2Fcopier-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnarik%2Fcopier-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnarik%2Fcopier-python/lists"}