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: github.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:d3dd1494-cef3-a57f-ea63-9622f97ae151 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEC0:2DF2F1:9863D4:D848F9:6978C1CF |
| html-safe-nonce | 2f0d39f8a1294888c3a778efe81e1a7ca7df7cf62def1d8d9aa9fd0f4fe89792 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUMwOjJERjJGMTo5ODYzRDQ6RDg0OEY5OjY5NzhDMUNGIiwidmlzaXRvcl9pZCI6IjYzNTkyNjExMzg4NDM1NzA3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a0be602337c85c774462eeb12fb1464ce0ce25e21806756890fcedaf2703071 |
| 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 | 9520342ca7ead2f1a011aa96eaff82fc054a4970 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width