Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
February 2015 - Cookiecutter - standardized project file and directory structure
Search
HuPy
February 26, 2015
Technology
0
32
February 2015 - Cookiecutter - standardized project file and directory structure
Talk by Zsoldos Péter
HuPy
February 26, 2015
Tweet
Share
More Decks by HuPy
See All by HuPy
Software Summer Internship @Pulilab
hupy
1
38
How to Access the Twitter Streaming API (with Python)
hupy
1
40
March 2015 - Intro
hupy
0
21
February 2015 - Intro
hupy
0
69
February 2015 - Text processing tools in Python
hupy
1
78
February 2015 - The Snake and the Real Estate Biz
hupy
0
73
Other Decks in Technology
See All in Technology
インシデントレスポンスのライフサイクルを廻すポイントってなに / Pinpoints of Incidentresponse Lifecycle for Operation
sakaitakeshi
0
290
[2024年3月版] Databricksのシステムアーキテクチャ
databricksjapan
7
1.9k
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
110
次世代Web認証「パスキー」 / mo-zatsudan-passkey
nkzn
22
13k
Databricks:『生成AI World Cup』のご案内
databricksjapan
1
130
DevOpsDays History and my DevOps story
kawaguti
PRO
7
1.3k
Tebiki株式会社 エンジニア採用資料
tebiki
0
4k
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
3
150
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
320
4年前、あるじゃん老害エンジニアLT合戦に登壇、米国西海岸コンピュータ歴史博物館体験記の続編
toshi_atsumi
0
190
2024-04-06 AMeDAS to Lagoon SORACOM UG 2024-04-06
anysonica
0
120
WebアプリケーションにおけるPDOの使い方入門 / phpcon odawara 2024
meihei3
2
420
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
318
37k
Rails Girls Zürich Keynote
gr2m
91
13k
It's Worth the Effort
3n
180
27k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
Ruby is Unlike a Banana
tanoku
95
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
13k
Happy Clients
brianwarren
91
6.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
Side Projects
sachag
451
41k
Web development in the modern age
philhawksworth
201
10k
Making the Leap to Tech Lead
cromwellryan
123
8.5k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Transcript
{{ cookiecutter }} Standard project templates for everyone #noboilerplate @zsepi
zsoldosp.eu
Me Working with Django since 2011 DjangoCon EU 2014 DjangoGirls
Budapest 2014 10+ years as software developer ba | spec | dev | test | deploy | support zsoldosp.eu
Why would you use from cookiecutter? Enterprise/Agency & standardization Breaking
up a big monolith project Many small projects Being smart :-)
Find & install pip install cookiecutter https://pypi.python.org/pypi/cookiecutter/0.9.1 https://github.com/audreyr/cookiecutter
Usage $ cookiecutter https://github.com /<you>/<your template> $ cookiecutter /path/to/your/local /template/dir/
Advanced usage >>> from cookiecutter.main import cookiecutter >>> cookiecutter('/path/to/template/dir/')
Template with Jinja2 File content File/folder names
Variables & defaults cookiecutter.json file inside the template dir {
"full_name": "Audrey Roy", "email": "
[email protected]
", "project_name": "Complexity", "repo_name": "complexity", "release_date": "2013-07-10", "version": "0.1.1" } --no-input or you will be prompted
Not just for Python! Works for anything