Title: Cookiecutter + Cruft Setup · Issue #9 · pythoninthegrasses/python_template · GitHub
Open Graph Title: Cookiecutter + Cruft Setup · Issue #9 · pythoninthegrasses/python_template
X Title: Cookiecutter + Cruft Setup · Issue #9 · pythoninthegrasses/python_template
Description: Inspired by this post detailing templating via cookiecutter and cruft, would love to parameterize a good portion of this public template to make starting future Python projects less cumbersome. Current okay method for creating a new repo...
Open Graph Description: Inspired by this post detailing templating via cookiecutter and cruft, would love to parameterize a good portion of this public template to make starting future Python projects less cumbersome. Cur...
X Description: Inspired by this post detailing templating via cookiecutter and cruft, would love to parameterize a good portion of this public template to make starting future Python projects less cumbersome. Cur...
Opengraph URL: https://github.com/pythoninthegrasses/python_template/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cookiecutter + Cruft Setup","articleBody":"Inspired by this [post](https://blog.wolt.com/engineering/2022/08/11/project-template-for-modern-python-packages/) detailing templating via [cookiecutter](https://cookiecutter.readthedocs.io/en/latest/) and [cruft](https://cruft.github.io/cruft/), would love to parameterize a good portion of this public template to make starting future Python projects less cumbersome.\r\n\r\nCurrent _okay_ method for creating a new repo:\r\n```bash\r\n# create repo from template\r\ngh repo create delete_moi --public --template \"pythoninthegrass/python_template\" \r\n\r\n# clone repo locally\r\ncd ~/git \u0026\u0026 gh repo clone delete_moi \u0026\u0026 cd delete_moi/\r\n\r\n# remove a bunch of irrelevant directories and files\r\nrm -rf terraform/ pyproject.toml poetry.lock requirements.txt startup.sh jupyter/\r\n\r\n# create new poetry project\r\npoetry init\r\n\r\n# create virtual environment with dependencies\r\npoetry install\r\n\r\n# export requirements.txt\r\npoetry export -f requirements.txt --output requirements.txt --without-hashes\r\n```\r\nTo be fair, also have Docker files that negate some of that. Using the #8 will help, but cookiecutter + cruft fill in the gaps for non-Docker scaffolding and syncing repos when upstream changes are made.","author":{"url":"https://github.com/pythoninthegrass","@type":"Person","name":"pythoninthegrass"},"datePublished":"2022-09-28T16:11:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/9/python_template/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8bb45b64-7843-49f2-e54f-d562774ec175 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A032:20090:11F2D7:190927:6978AED0 |
| html-safe-nonce | 9b66e63c8c046570b50e4afe0da4c304ca807e99e579414987d4b03aee334061 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDMyOjIwMDkwOjExRjJENzoxOTA5Mjc6Njk3OEFFRDAiLCJ2aXNpdG9yX2lkIjoiNjc4NDQyODExMTkxMjQyNDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8456654c82dbea957ffc3377df345e1900aaf97c7a56f18ad6689e012a842b46 |
| hovercard-subject-tag | issue:1389620279 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythoninthegrasses/python_template/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45cdbd8f5ce376b248d90a7839d9fe086f9b9c591aa44f6ca0856358215ed24c/pythoninthegrasses/python_template/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45cdbd8f5ce376b248d90a7839d9fe086f9b9c591aa44f6ca0856358215ed24c/pythoninthegrasses/python_template/issues/9 |
| og:image:alt | Inspired by this post detailing templating via cookiecutter and cruft, would love to parameterize a good portion of this public template to make starting future Python projects less cumbersome. Cur... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pythoninthegrass |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythoninthegrasses/python_template git https://github.com/pythoninthegrasses/python_template.git |
| octolytics-dimension-user_id | 257390063 |
| octolytics-dimension-user_login | pythoninthegrasses |
| octolytics-dimension-repository_id | 452424043 |
| octolytics-dimension-repository_nwo | pythoninthegrasses/python_template |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 452424043 |
| octolytics-dimension-repository_network_root_nwo | pythoninthegrasses/python_template |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8aa86d87c47054170094daaf9699b27a28a8448 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width