Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
February 2015 - Cookiecutter - standardized pro...
Search
HuPy
February 26, 2015
Technology
47
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
Transcript
9 slides
{{ 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
More Decks by HuPy
See All by HuPy
Software Summer Internship @Pulilab
hupy
1
62
How to Access the Twitter Streaming API (with Python)
hupy
1
67
March 2015 - Intro
hupy
0
35
February 2015 - Intro
hupy
0
96
February 2015 - Text processing tools in Python
hupy
1
97
February 2015 - The Snake and the Real Estate Biz
hupy
0
90
Other Decks in Technology
See All in Technology
ポケモンバトルのAIエージェント
koji_kawamura
0
250
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
670
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
2.1k
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
140
Metadata - Section 4 : MODS (Metadata Object Description Schema )
mohab1
0
130
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
130
From vibe coding to reliable (agentic) development
jcabot
0
250
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
330
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
260
AIフレンドリーなGenerative UIをJSXで
uhyo
2
190
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
500
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
480
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
550
Deep Space Network (abreviated)
tonyrice
0
430
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
570
Documentation Writing (for coders)
carmenintech
77
5.7k
The SEO identity crisis: Don't let AI make you average
varn
0
630
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
470
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
310
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680