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: 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:ce7f335b-7cd9-0478-c394-2d8150206b8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E04:1ADB68:98206C:C91923:6971684B |
| html-safe-nonce | c6a2dd30737dbe1991737302a5c849cb4c08032bf7f4237c20ece525fdf6f06f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTA0OjFBREI2ODo5ODIwNkM6QzkxOTIzOjY5NzE2ODRCIiwidmlzaXRvcl9pZCI6IjMxNjk1MDM2OTk0NzQxNDc0MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 71c79cef7d2d31e555208e780639755e6ad8a3d7e6a996dfb0ff89cf3c096166 |
| 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 | 873364ab8c3892d45b3a7f6c012702ee84934662b47c9312d99f8b31dd9c2668 |
| 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 | fa6ed180534301da051f8e5cb00f3a1dfab789ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width