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 pro...
Search
HuPy
February 26, 2015
Technology
0
39
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
49
How to Access the Twitter Streaming API (with Python)
hupy
1
53
March 2015 - Intro
hupy
0
26
February 2015 - Intro
hupy
0
83
February 2015 - Text processing tools in Python
hupy
1
85
February 2015 - The Snake and the Real Estate Biz
hupy
0
79
Other Decks in Technology
See All in Technology
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
190
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
220
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
280
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
260
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
140
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.6k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
1k
pool.ntp.orgに ⾃宅サーバーで 参加してみたら...
tanyorg
0
190
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
520
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
160
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
4
450
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
0
90
It's Worth the Effort
3n
188
29k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
WCS-LA-2024
lcolladotor
0
450
Information Architects: The Missing Link in Design Systems
soysaucechin
0
780
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
760
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
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