{"id":15358376,"url":"https://github.com/astrofrog/pieceofcake","last_synced_at":"2025-10-11T17:43:28.112Z","repository":{"id":57452589,"uuid":"236002324","full_name":"astrofrog/pieceofcake","owner":"astrofrog","description":"a user-friendly cookiecutter wrapper :cake: :heart: :cookie:","archived":false,"fork":false,"pushed_at":"2020-04-19T21:18:06.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T05:53:53.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/astrofrog.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2020-01-24T12:52:03.000Z","updated_at":"2025-01-02T20:08:20.000Z","dependencies_parsed_at":"2022-09-02T08:23:17.373Z","dependency_job_id":null,"html_url":"https://github.com/astrofrog/pieceofcake","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/astrofrog/pieceofcake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fpieceofcake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fpieceofcake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fpieceofcake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fpieceofcake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astrofrog","download_url":"https://codeload.github.com/astrofrog/pieceofcake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fpieceofcake/sbom","scorecard":{"id":213611,"data":{"date":"2025-08-11","repo":{"name":"github.com/astrofrog/pieceofcake","commit":"74d22cdc91bd87549336394d6ccf98638e55f1c6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Code-Review","score":1,"reason":"Found 1/8 approved changesets -- score normalized to 1","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 0 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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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-17T01:12:25.566Z","repository_id":57452589,"created_at":"2025-08-17T01:12:25.567Z","updated_at":"2025-08-17T01:12:25.567Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272883549,"owners_count":25009491,"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-08-30T02:00:09.474Z","response_time":77,"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":[],"created_at":"2024-10-01T12:40:58.509Z","updated_at":"2025-10-11T17:43:23.079Z","avatar_url":"https://github.com/astrofrog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pieceofcake - a user-friendly cookiecutter wrapper\n==================================================\n\nThis is a wrapper around the `cookiecutter \u003chttps://github.com/cookiecutter/cookiecutter/\u003e`_\ntool which provides a more user-friendly way of asking questions.\n\nWith **cookiecutter**, the user is not presented with any questions, just the names\nof the parameters to set::\n\n    % cookiecutter gh:astrofrog/fake-template\n    package_name [example]: test-package\n    include_example_code [n]: y\n\nWith **pieceofcake**, the user is shown a series of verbose questions which provide\nmore context as to the meaning/implications of each parameter::\n\n    % cookiecutter gh:astrofrog/fake-template output_dir\n\n    Welcome to the pieceofcake, a user-friendly cookiecutter wrapper!\n\n    This script will now ask you a series of questions to help you set up\n    your package.\n\n    What is the name of your package? This is the name that will appear on\n    PyPI and which users will use when installing the package with e.g.\n    pip or conda.\n    \u003e Package name [example]: test-package\n\n    Should example code be included? This will consist of sample Python\n    and Cython files in the package, demonstrating how to create different\n    sub-modules and importing between them.\n    \u003e Include example code? [n]: y\n\n    Running cookiecutter...\n\n    You should now be all set! Your generated package is in output_dir\n\nInstalling\n==========\n\nTo install, run::\n\n    pip install pieceofcake\n\nUsing\n=====\n\nTo use **pieceofcake**::\n\n    pieceofcake template output_dir\n\nwhere ``template`` follows the same syntax as for cookiecutter, and can be\nthe path to a local directory, or e.g. ``gh:astrofrog/fake-template`` to use\na GitHub repository.  The new package will be created as a subdirectory of\n``output_dir``.\n\nNote that ``pieceofcake`` will work with all cookiecutter templates, but\nnice questions will only be shown if the ``cookiecutter.json`` file contains\nthe ``_parameters`` key as described below in **For template creators**.\n\nFor template creators\n=====================\n\nTo define questions for each parameter, add a new ``_parameters`` key in\nyour ``cookiecutter.json`` file, which should then contain a dictionary for\neach parameter::\n\n    \"_parameters\": {\n        \"package_name\": {\n            \"default_value\": \"test-package\",\n            \"prompt\": \"Package name\",\n            \"help\": \"What is the name of your package? This is the name that will appear on PyPI and which users will use when installing the package with e.g. pip or conda.\"\n        },\n        \"include_example_code\": {\n            \"prompt\": \"Include example code?\",\n            \"help\": \"Should example code be included? This will consist of sample Python and Cython files in the package, demonstrating how to create different sub-modules and importing between them.\"\n        }\n    }\n\nThe ``default_value``, ``prompt``, and ``help`` keys are all optional - if\n``default_value`` is not defined, the default value is taken from the main\n``cookiecutter`` section. If ``prompt`` is not included, it is set to the\nparameter name, and if ``help`` is not included, no help/question is shown.\n\nThis approach was inspired by `cookiecutter/cookiecutter#794\n\u003chttps://github.com/cookiecutter/cookiecutter/issues/794\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrofrog%2Fpieceofcake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrofrog%2Fpieceofcake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrofrog%2Fpieceofcake/lists"}