{"id":20461014,"url":"https://github.com/ericgj/python-project-templates","last_synced_at":"2025-09-25T23:05:02.529Z","repository":{"id":138272217,"uuid":"394073657","full_name":"ericgj/python-project-templates","owner":"ericgj","description":"Cookiecutter templates for python projects and applications","archived":false,"fork":false,"pushed_at":"2021-08-25T23:52:46.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T00:35:33.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ericgj.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-08T21:30:56.000Z","updated_at":"2021-08-25T23:52:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"8154356f-78b2-421a-a901-867ec33c5c16","html_url":"https://github.com/ericgj/python-project-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fpython-project-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fpython-project-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fpython-project-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Fpython-project-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericgj","download_url":"https://codeload.github.com/ericgj/python-project-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242017417,"owners_count":20058425,"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-11-15T12:22:51.587Z","updated_at":"2025-09-25T23:05:02.421Z","avatar_url":"https://github.com/ericgj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python project templates\n\nA collection of [cookiecutter][cookiecutter] templates for jumpstarting \nPython apps and libraries.\n\n## Basic usage\n\nFirst make sure you have python and cookiecutter installed and on your PATH. \nThe cookiecutter [install instructions][cc-install] are helpful.\n\nYou also should have [git][git] [installed][git-install] and on your PATH.\n\n```sh\n# For an application\ncookiecutter gh:ericgj/python-project-templates --directory app\n\n# For a library\ncookiecutter gh:ericgj/python-project-templates --directory library\n```\n\n## Incremental usage\n\nThe basic app and library templates are designed to be opinionated, but \nminimal, with a focus on the most tedious parts of setting up a project. (See\n\"My approach\", below).\n\nOnce you go beyond the basics of course, you get into the weeds of this tool\nvs that tool, this platform vs that platform. The approach here is not to \nprovide a single monolithic template with a ton of knobs, but many \n_incremental_ templates that can be merged into the basic project structure\nas needed, even after you have started work.\n\nCookiecutter is not designed to be used this way, so this repo provides a\n`ccutter` script (in `bash` only at the moment) that provides the ability to \nincrementally update a project from multiple templates.\n\n### To install the ccutter script:\n\n```sh\ncurl https://raw.githubusercontent.com/ericgj/python-project-templates/master/bin/ccutter \u003e ~/ccutter\nchmod +x ~/ccutter\n```\n\n### To use the ccutter script:\n\nIt takes the parent directory of your target directory (i.e., equivalent to the\n`-o` parameter passed to `cookiecutter`), followed by the normal cookiecutter\nparameters.\n\nFor example to run the `config` template to update your project in\n`~/projects`:\n\n```sh\ncd ~/projects\n~/ccutter . gh:ericgj/python-project-templates --directory add-on/config\n```\n\nAlways make sure the `project_slug` you specify is the same: the name of your\nproject directory.\n\n\n## My approach\n\nTODO\n\n\n[cookiecutter]: https://cookiecutter.readthedocs.io\n[cc-install]: https://cookiecutter.readthedocs.io/en/1.7.3/installation.html\n[git]: https://git-scm.org\n[git-install]: https://git-scm.org/downloads\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericgj%2Fpython-project-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericgj%2Fpython-project-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericgj%2Fpython-project-templates/lists"}