{"id":13461693,"url":"https://github.com/cookiecutter/cookiecutter","last_synced_at":"2025-12-17T05:57:41.735Z","repository":{"id":9511362,"uuid":"11407242","full_name":"cookiecutter/cookiecutter","owner":"cookiecutter","description":"A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.","archived":false,"fork":false,"pushed_at":"2025-11-14T01:14:13.000Z","size":3360,"stargazers_count":24379,"open_issues_count":271,"forks_count":2174,"subscribers_count":223,"default_branch":"main","last_synced_at":"2025-12-02T08:07:49.693Z","etag":null,"topics":["cookiecutter","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/cookiecutter/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cookiecutter.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-07-14T18:31:22.000Z","updated_at":"2025-12-02T07:13:50.000Z","dependencies_parsed_at":"2023-09-28T19:12:45.060Z","dependency_job_id":"54c6c602-1a85-4d9d-92b4-917034ee62da","html_url":"https://github.com/cookiecutter/cookiecutter","commit_stats":{"total_commits":2506,"total_committers":328,"mean_commits":7.640243902439025,"dds":0.6671987230646448,"last_synced_commit":"f49dcf975ef0390cd19c8f246a42638a1c8e8a42"},"previous_names":["audreyr/cookiecutter"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/cookiecutter/cookiecutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiecutter%2Fcookiecutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiecutter%2Fcookiecutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiecutter%2Fcookiecutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiecutter%2Fcookiecutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cookiecutter","download_url":"https://codeload.github.com/cookiecutter/cookiecutter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiecutter%2Fcookiecutter/sbom","scorecard":{"id":303927,"data":{"date":"2025-08-11","repo":{"name":"github.com/cookiecutter/cookiecutter","commit":"b4451231809fb9e4fc2a1e95d433cb030e4b9e06"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":9,"reason":"Found 22/23 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/drafter.yml:17","Warn: no topLevel permission defined: .github/workflows/drafter.yml:1","Warn: no topLevel permission defined: .github/workflows/pip-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/drafter.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/drafter.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pip-publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/pip-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pip-publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/pip-publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pip-publish.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/pip-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/cookiecutter/cookiecutter/tests.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pip-publish.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:59","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:60","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2020-101 / GHSA-7q25-qrjw-6fg2","Warn: Project is vulnerable to: PYSEC-2013-9 / GHSA-4gv5-qhvr-36vv","Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2019-160 / GHSA-c5h8-cq4v-cvfm","Warn: Project is vulnerable to: PYSEC-2013-8 / GHSA-g3p5-fjj9-h8gj","Warn: Project is vulnerable to: PYSEC-2020-173 / GHSA-gpvv-69j7-gwj8","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T21:30:38.030Z","repository_id":9511362,"created_at":"2025-08-17T21:30:38.030Z","updated_at":"2025-08-17T21:30:38.030Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27778318,"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-12-17T02:00:08.291Z","response_time":55,"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":["cookiecutter","python"],"created_at":"2024-07-31T11:00:52.871Z","updated_at":"2025-12-17T05:57:41.729Z","avatar_url":"https://github.com/cookiecutter.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg alt=\"cookiecutter Logo\" width=\"200px\" src=\"https://raw.githubusercontent.com/cookiecutter/cookiecutter/3ac078356adf5a1a72042dfe72ebfa4a9cd5ef38/logo/cookiecutter_medium.png\"\u003e\n\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![pypi](https://img.shields.io/pypi/v/cookiecutter.svg)](https://pypi.org/project/cookiecutter/)\n[![python](https://img.shields.io/pypi/pyversions/cookiecutter.svg)](https://pypi.org/project/cookiecutter/)\n[![PyPI Downloads](https://static.pepy.tech/personalized-badge/cookiecutter?period=total\u0026units=INTERNATIONAL_SYSTEM\u0026left_color=BLACK\u0026right_color=GREEN\u0026left_text=downloads)](https://pepy.tech/projects/cookiecutter)\n[![codecov](https://codecov.io/gh/cookiecutter/cookiecutter/branch/main/graphs/badge.svg?branch=main)](https://codecov.io/github/cookiecutter/cookiecutter?branch=main)\n[![discord](https://img.shields.io/badge/Discord-cookiecutter-5865F2?style=flat\u0026logo=discord\u0026logoColor=white)](https://discord.gg/9BrxzPKuEW)\n[![docs](https://readthedocs.org/projects/cookiecutter/badge/?version=latest)](https://readthedocs.org/projects/cookiecutter/?badge=latest)\n[![Code Quality](https://img.shields.io/scrutinizer/g/cookiecutter/cookiecutter.svg)](https://scrutinizer-ci.com/g/cookiecutter/cookiecutter/?branch=main)\n\n\u003c/div\u003e\n\n# Cookiecutter\n\nCreate projects swiftly from **cookiecutters** (project templates) with this command-line utility. Ideal for generating Python package projects and more.\n\n- [Documentation](https://cookiecutter.readthedocs.io)\n- [GitHub](https://github.com/cookiecutter/cookiecutter)\n- [PyPI](https://pypi.org/project/cookiecutter/)\n- [License (BSD)](https://github.com/cookiecutter/cookiecutter/blob/main/LICENSE)\n\n## Installation\n\nInstall cookiecutter using pip package manager:\n```\n# pipx is strongly recommended.\npipx install cookiecutter\n\n# If pipx is not available, install cookiecutter in your Python user directory using:\npython -m pip install --user cookiecutter\n```\n\n## Features\n\n- **Cross-Platform:** Supports Windows, Mac, and Linux.\n- **User-Friendly:** No Python knowledge required.\n- **Versatile:** Compatible with Python 3.8 to 3.12.\n- **Multi-Language Support:** Use templates in any language or markup format.\n\n### For Users\n\n#### Quick Start\n\nThe recommended way to use Cookiecutter as a command line utility is to run it with [`pipx`](https://pypa.github.io/pipx/), which can be installed with `pip install pipx`, but if you plan to use Cookiecutter programmatically, please run `pip install cookiecutter`.\n\n**Use a GitHub template**\n\n```bash\n# You'll be prompted to enter values.\n# Then it'll create your Python package in the current working directory,\n# based on those values.\n# For the sake of brevity, repos on GitHub can just use the 'gh' prefix\n$ pipx run cookiecutter gh:audreyfeldroy/cookiecutter-pypackage\n```\n\n**Use a local template**\n\n```bash\n$ pipx run cookiecutter cookiecutter-pypackage/\n```\n\n**Use it from Python**\n\n```py\nfrom cookiecutter.main import cookiecutter\n\n# Create project from the cookiecutter-pypackage/ template\ncookiecutter('cookiecutter-pypackage/')\n\n# Create project from the cookiecutter-pypackage.git repo template\ncookiecutter('gh:audreyfeldroy/cookiecutter-pypackage')\n```\n\n#### Detailed Usage\n\n- Generate projects from local or remote templates.\n- Customize projects with `cookiecutter.json` prompts.\n- Utilize pre-prompt, pre- and post-generate hooks.\n\n[Learn More](https://cookiecutter.readthedocs.io/en/latest/usage.html)\n\n### For Template Creators\n\n- Utilize unlimited directory nesting.\n- Employ Jinja2 for all templating needs.\n- Define template variables easily with `cookiecutter.json`.\n\n[Learn More](https://cookiecutter.readthedocs.io/en/latest/tutorials/)\n\n## Available Templates\n\nDiscover a variety of ready-to-use templates on [GitHub](https://github.com/search?q=cookiecutter\u0026type=Repositories).\n\n### Special Templates\n\n- [cookiecutter-pypackage](https://github.com/audreyfeldroy/cookiecutter-pypackage)\n- [cookiecutter-django](https://github.com/pydanny/cookiecutter-django)\n- [cookiecutter-pytest-plugin](https://github.com/pytest-dev/cookiecutter-pytest-plugin)\n- [cookiecutter-plone-starter](https://github.com/collective/cookiecutter-plone-starter)\n\n## Community\n\nJoin the community, contribute, or seek assistance.\n\n- [Troubleshooting Guide](https://cookiecutter.readthedocs.io/en/latest/troubleshooting.html)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/cookiecutter)\n- [Discord](https://discord.gg/9BrxzPKuEW)\n- [File an Issue](https://github.com/cookiecutter/cookiecutter/issues?q=is%3Aopen)\n- [Contributors](AUTHORS.md)\n- [Contribution Guide](CONTRIBUTING.md)\n\n## Tutorials and Resources\n\nTo help users better understand how Cookiecutter works, you can check out the following resources:\n\n- **Video Tutorial:** [Watch on YouTube](https://www.youtube.com/watch?v=X8kXs5kthKw)\n- **Presentation Slides:** [View the Slides](https://docs.google.com/presentation/d/1r3oEmtbyYWvqZrn5y6cdbtIzaahhvAV0cKIqveMMMT8/edit#slide=id.g25f6af9dd6_0_0)\n\n\n### Support\n\n- Star us on [GitHub](https://github.com/cookiecutter/cookiecutter).\n- Stay tuned for upcoming support options.\n\n### Feedback\n\nWe value your feedback. Share your criticisms or complaints constructively to help us improve.\n\n- [File an Issue](https://github.com/cookiecutter/cookiecutter/issues?q=is%3Aopen)\n\n### Waiting for a Response?\n\n- Be patient and consider reaching out to the community for assistance.\n- For urgent matters, contact [@audreyfeldroy](https://github.com/audreyfeldroy) for consultation or custom development.\n\n## Code of Conduct\n\nAdhere to the [PyPA Code of Conduct](https://www.pypa.io/en/latest/code-of-conduct/) during all interactions in the project's ecosystem.\n\n## Acknowledgements\n\nCreated and led by [Audrey Roy Greenfeld](https://github.com/audreyfeldroy), supported by a dedicated team of maintainers and contributors.\n","funding_links":[],"categories":["Python","Development","Command-line Tools","HarmonyOS","Credits","python","Desktop App Development","命令行工具","Software Engineering","Python 程序","Awesome Tools","Others","amazing insight and delivery","\u003ca name=\"programming-boilerplate\"\u003e\u003c/a\u003eProgram templates and boilerplate","Templating"],"sub_categories":["Time Series","Productivity","Windows Manager","Python Toolkit","Curated Python packages","网络服务_其他","Languages","Misc","python","Projects templating"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcookiecutter%2Fcookiecutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcookiecutter%2Fcookiecutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcookiecutter%2Fcookiecutter/lists"}