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
43
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
February 2015 - Cookiecutter - standardized project file and directory structure
Talk by Zsoldos Péter
HuPy
February 26, 2015
More Decks by HuPy
See All by HuPy
Software Summer Internship @Pulilab
hupy
1
53
How to Access the Twitter Streaming API (with Python)
hupy
1
61
March 2015 - Intro
hupy
0
29
February 2015 - Intro
hupy
0
88
February 2015 - Text processing tools in Python
hupy
1
89
February 2015 - The Snake and the Real Estate Biz
hupy
0
85
Other Decks in Technology
See All in Technology
大 AI 時代におけるC# の事情 ~ぶっちゃけトークを交えながら~
nenonaninu
1
460
どこまでAIに任せるか 〜確率論と決定論の境界決定〜
shukob
0
550
セキュリティ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
28
22k
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
470
「待ち時間」の消滅と「自我消耗」の加速:生成AI時代のエンジニアを救うメンタル・リソース管理
poropinai1966
0
270
全社でのソフトウェアサプライチェーン攻撃対策をやってみた with Takumi Guard
z63d
0
320
Claude Mythos、Fable...フロンティアAIの最新動向と企業のセキュリティ対策
flatt_security
0
160
データエンジニアこそ組織のオントロジーに向き合うべき — 問いに答えるAIから、事業を動かすAIへ
gappy50
4
1.1k
A Bag-of-Documents Model for Query Specificity
dtunkelang
0
130
AI時代におけるテストの基礎の再定義 / Rethinking the Fundamentals of Testing in the AI Era
mineo_matsuya
15
6k
データと地図で読む 大井町の「かわるもの、かわらないもの」
yoshiyama_hana
0
520
データ活用研修 データマネジメント【MIXI 26新卒技術研修】
mixi_engineers
PRO
4
700
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
170
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
The Curse of the Amulet
leimatthew05
2
13k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Evolving SEO for Evolving Search Engines
ryanjones
0
250
Product Roadmaps are Hard
iamctodd
55
12k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
850
Being A Developer After 40
akosma
91
590k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
220
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