Title: Cookiecutter + Cruft Setup · Issue #9 · pythoninthegrass/python_template · GitHub
Open Graph Title: Cookiecutter + Cruft Setup · Issue #9 · pythoninthegrass/python_template
X Title: Cookiecutter + Cruft Setup · Issue #9 · pythoninthegrass/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/pythoninthegrass/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:15e18267-0788-650b-8457-225594fcd6fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C496:122E03:2CAF7C8:3D81BD4:6972B1AD |
| html-safe-nonce | f4f395b062662958838935ce06936cb61dd0ec55334a214514e22a1a17c0a6c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDk2OjEyMkUwMzoyQ0FGN0M4OjNEODFCRDQ6Njk3MkIxQUQiLCJ2aXNpdG9yX2lkIjoiNDUzMzc2OTgyNDQ3ODg2Nzg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5de399aae51fbe7f45ea8ed3c7648c4385eb1e33dab6b1d7a5edb595a43c3c74 |
| 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/pythoninthegrass/python_template/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1df6a12dbd10028802756085dca7a97588ead5269073f6743dc1814a61f5907b/pythoninthegrass/python_template/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1df6a12dbd10028802756085dca7a97588ead5269073f6743dc1814a61f5907b/pythoninthegrass/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 | ae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac |
| turbo-cache-control | no-preview |
| go-import | github.com/pythoninthegrass/python_template git https://github.com/pythoninthegrass/python_template.git |
| octolytics-dimension-user_id | 4097471 |
| octolytics-dimension-user_login | pythoninthegrass |
| octolytics-dimension-repository_id | 452424043 |
| octolytics-dimension-repository_nwo | pythoninthegrass/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 | pythoninthegrass/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 | 625f1bd9f76a617a9c0729e2de91edb56b6ce42f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width