Merken

Come to the Dark Side! We have a whole bunch of Cookiecutters!

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
yeah so I have run 1st of all
I want to thank you for for your interest in my talk cookie-cutter my name is roughly from Germany and while I do love open source software and more specifically Python and and the like to say a few words on about the background so I'm not just yet so that developers
unpleasant but I do have a solid background and gradient so if you were questions actually used quite frequently and I am according roll of cookie cutter so I worked well on the tightest months in April and I didn't like it was acting as a technical review on the book on keys from a talk about injustice and more informally
here as I mentioned that the computer cut and this is call environment subject of my presentation I might get a username a sack of roads and I'm I do have a Twitter so please the future you just should text the Bekaa questions like as you can possibly tell from the title of my of this talk like Star Wars and and I was more than happy to exchange ideas with our very own master was you to just on a very philosophical question in sense but see for itself yeah
so anyhow so the topic
is about cookie-cutter and cookie-cutter is in a sends a command line utility that helps you to start new projects on the following prospectuses of the Python community and simply based on templates so that other people may right for you also for you or can just do it on your own and we are
hosted on get help so if you want to check it out this ordering and such cookie-cutter and and it's written in you piousness conceived from the blue bar and yeah so you can also find it on Pico we're currently at version 1 . 0 from and we do have is quite large set of
features of the so 1 of the best things about cookie-cutter as that is working on all platforms so it's Windows Mac Linux and and Titan 2 . 7 3 3 3 4 and also pipeline and we managed unique out support for each of those platforms and the Python version such was quite is source obviously so the technologies used and cookie cutter uses templates to
create projects which can be arbitrary complexity so we use gender to follow template in and then we used to support both
get and mercurial from almost 100 % copper is covered with tighter tests and we leverage structure just so testimony environments and President obviously so about the community we have a team of 5 people right now so it's already Daniel Michael Paul Meurer myself from and we welcome everyone to just participate and contribute to cooperate up to now we are at stake 61 people I think but it may have changed from the time of program you have developed this presentation until today and the people of you who
are working on Django might know those people that this is Audrey and Daniel and they are the Office of 2 2 scoops of Django they're just recently published the news version of targeting during 1 . 8 yeah and this is themselves right in the 10th
birthday of the genome project 2 weeks ago and the
body said something about the history of cookie-cutter so it was in the way born at your Florence and 2 years ago so understood that's citation of ordering so when they came back from Florida like all opened up and want to spend on open source and already have so many scripts flying around that she will actually thinking of being very useful so she wanted to publish them but every time she was facing that's what she was doing the same work over and over again and this eventually was a moment when cookie-cutter was born because she said well why not just have a template for it and focus on the electoral production logic itself instead of just setting up a set up i all the time about us thank stupid there so she decided to dig into templates and so on London gender to more get to deeper knowledge of that and
yet it wasn't until I think it was made 2014 that I cock started contributing on cookie cutter so it was very simple template at the time you see there is like a spike so the next contribution was in November and like this that betrays the idea so I wanted to learn prior to store get more knowledge of it and what I said well they had the code coverage of almost 100 % % the code is very very clean so why not just transfer the whole codebase of fighter pattern tests to just tests and that's actually what I did it took us I don't know maybe 60 days and right now with the latest release the pure Pieters tests and it worked out perfectly fine and so this was ultimately the reason
when I was promoted to get the
commitment of think yes so In this presentation I want to show you just how easy it can be 2 also attempted for cookie-cutter and and I'm very very positive that could become can be used in various forms locations regardless of what the future the actually working the following I'm going to explain you know to also template from scratch and so for this presentation
I'm also using ICA framework for natural user interfaces called key and so
my question to the audience is how many of you actually no key OK that's actually quite a quite a bit here but so you can give you a recognized tedious I think he mentions on Pike hunters fortune last year and we emphasize that people should start contributing to the project sadly as far as a normal 1 from the core contributors is here and them right now yeah but the best thing of cookies that you can just write Python code for a mobile and so I think that's all this just also I think the only person disagreeing to this may be the product from the light and talks yesterday so it was an amazing chocolate store where I think we should do more personal more
and so the 1st thing when I want to do when I started template from scratch is you just writing project and get up because it's just having features that you really want to leverage its lecturing get ignore for passing files and has written already set up for you and you get a license the for free as well so next you want to and so on those of
you who are familiar with somebody mustanger possibly know the center already it's like to be using it to call the braces some kind of domain and a variable named some using that I want to use them the repository name for both my project but also from a Python package using the opponent for both of these and and inside I'm just writing for 5 1 is and inextricable a Python package than that module for my application i but then I have like a TV society uses its own very common language of describing user interface and the very layers phase so it's very very easy to do rapid prototyping and such but still optional so you can write on them using the 1st problem actually that well it can just combine and it's up to you and then using a file called main so when you decide eventually to deploy Python application
to mind right device for example there is a tool called key the launchers and their and the place or and it enables you to just run Python source code without like compiling so you don't need to create might be careful that you can just run it through the complicated launch on what just work yeah so instead of my and I do a bit of like what's that since the mid information about my package and I'm using the full name and e-mail and the version of produced on thank next we this is the model for the application itself computers is saying in the very beginning that we have wants you to specify the version of key that you're using it's just like the safety switch that when you're using a very old version and you try to use key some features that are not yet available it would just raise of proper exception and you know what it's about and then we inherit from Apple obviously and the simply set up the title and the Buddhists some way off from so will automatically detected TV language file and return was of sort of and this is actually 1 of the main features of cookie-cutter and you can use it for every programming language market form of that you can think of that's just it needs to be readable as a text so now I think it's 1 of the best features of a quick counter next main is just running an application that's basically it and as I said it's 1 of the easiest way to deploy and so this is the key file then again it requires you to just specify the version that you want to use and this is like a root element you we want just to have a bottle and the text and the text of the button should be the application title and as I said it's optional you can do it source code and just as you prefer 1 of the most important thing about cookie-cutter as it requires you to do 2 things 1 of which is having adjacent phi which is called cookie-cutter Jason specify all the variables inside the and the next 1 is to have a folder that's actually templated so just basically if that's particularly like search seconds to have a cookie cutter template under this is all cookie-cutter Jason looks like so you know as I said you just mention all the variables that you want to use a lot of source code I'm using my name or the all the names and e-mail unification title and using that name variables is a specific to keep you so I was thinking it might be very helpful for me repository and to keep the values of commodity flow so when you're prompted on the command line Foreign during those values this will be like the default that's trying to the user yeah so talking about advanced usage what you can do is give you is you can template your variables and variables and sort of Jason so there is a best practice and Python that your
possibly familiar with that you have like a project name which is human readable then you have a lot of repository name which is just all lowercase moustaches and you usually use all case without gestures just pure letters for a Python package so this is not exactly what I've been showing
here but what I'm using here is that I'm using the application title I replace every space was just meant to string so it removes all the spaces and it's at some at just the string at the end and deposits on non should be all lowercase on and it doesn't have the up and another great feature of cookie-cutter says it is that you
can have a post and pre generations and Hoechst so you need and we need to have a lot of books sold at the very root of the templates and inside you can put it a shell script or a Python module and that will be executed by a cookie cutter you follow the generation of the project afterwards so and this is an example of a poster
iterations of hope that I'm actually using is a bit of code but the most important part is that you need to understand that keep it has its own way of detecting a key file language file them so what I'm doing over here it's just that I'm using by default application and class name as a key language files the name but since the user is allowed so there's all kind of validation that he isn't lot to use an an act like string at that and then at the end of the class names but I'm just making sure that key because key dual-strip strip and as you can see it starts the slicing thing with the last characters on will let us and so on just this is basically an adaption of missiles keep source code that's responsible for finding Q of so where right now so we have at the root of all project we have that the Jason then as a set of the only mandatory any templated rude to him for a repository and
we have achieved following which we have a model where the minutes remaining where the license father was generated like it's not that I just covered over from the root read means you can usually use reStructuredText for that so that's why it's not using the marked on fire at the very similar in books although under license and everything so what I'm a bit into
testing so what I tried to because no kind of way that so I'm already very relevant to establish for testing Key applications unlike tried that so and he falls from sort everyone and anyone is kind of interested in testing pdfs I'm very open for suggestions and collaborating on maybe writing up I just plug for that to so just approach me and I would be very happy to collaborate yeah so but it did find a solution the variance among using the system of a part of the of the source code next slide will show you what's actually important so I'm using the interactive launches the future of Q which can change the application at runtime so doesn't block you from from Jennings code to some level of leveraging that's to modify my application
eventually so I return the application and this is actually my test so it will
just received the fixture from test which is my 1 of the most incredible features that their use in testing framework and this is my test just applying surgeon and I'm just making sure that the application title is actually what specified in the command line prompt when creating the project makes up I want to have it as a pipeline non-compliant package so
using a set of I I usually I origin we have a couple of slides on the topic but since we had so many talks on the whole packaging and distribution talk just
included some of the most important resources for that kind of information I sold official 1 then just come to the very very great blog posts which shows that among the million comment on it and you know who presented his package encompassing it was on Tuesday and he also referred to cookie-cutter so this assignment is actually 1 of the contributions all the templates but also cookie-cutter so next of this thing Sub-Commission you always want to have
like an oxygen generated documentation for a source code but and this is actually the a funny thing that you can leverage exactly the same thing so
I'm using the things go quicksort usually it would do basically everything for you to get started and I just literally feed cookie-cutter variables to see things and people just put the variables inside of the that sinks documentation so softer what's supposed just be done basically another feature of cookie-cutter us to have a user configurations on your home directory can just have a
cookie cutter received and what it does is it will when use cookie cutter and used quite frequently you don't want to enter the same values over and over again and so 1 of you running cookie-cutter on my own machine and pretty much know that I'm referring the do use this e-mail and like it up user username was still the same so
what do I have this in my home directory it's by a specified those values and it also features abbreviations soul typing you don't need to type that much cookie-cutter crocodiles is 1 of my own templates that users but also to those data detail for and right along and I just have a variation for that so I can actually like settled works and then another thing is just abbreviation for could top so when I run this command and the very top just says I'm referring to get I want to use the the template of ordering and I want to use the pipe breakage of the and when cookie-cutter is running as you can see it just clones it's and it asked me for the details and it automatically is set up the values from my and I can still write them of course but it will just predefined context yeah so want to talk
about features that are currently in development we actually much that already but we didn't find the time to actually published in part by just yet but it's is just a matter of days I think so next up is
coming we have choices and all
templates so it was requested by the community and we also find very reasonable to have choices and templates so at the bottom you see I can specify an orientation for my was key I can't say it's doesn't matter it will be resized and or adjusted but I also can fix it to being landscape or portrait mode so when I run this from a template i will be prompted by click I
mentioned in my talk I think yesterday in that we use click for the prompting and that's working really nice so if any 1 of you wants to write a command line of its interactive just just click it was working like a charm so this is a prompt the choices that i've implemented in the way that it would just use indices for the choices because users can put every text and there and so it would be very long if you need to type the choice so just decided to stick for indices and this is an implementation for the click prompts because I didn't find any really great usage on gets up for click prompts was choices so I decided to share my my like my my findings to you know so as you can see at the very bottom I'm just using click for prompts the prom this set up
upfront and insisted that on the previous slide was just strings and join the choices and the most important part is that you specified type you can also use click Boolean for example so it will make sure that when you enter a value it's really a Boolean but for this using choice so click do every like you type something that's completely or parts of it will make sure that you such of repeated as long as you really 1 of those choices yeah so talking about a community of I think we are doing a pretty good job of Our replying to pull requests and answering features issued to issues and so I really commute everyone to contribute and submit your own template or you can contribute to the code base so right
now we have 41 templates and total most of them are for Python obviously but we do have a very various terms already a some of which I don't even know what they really do but I think how will the pleasant and this actually tyrant general so it seems to be a common carriers and general applications to use a lot of code so you may want to use a template for that 1 of the most
popular ones it is actually from any of himself and and they do have animals so many so it I think it's the 700 stars on on get have already so it's used quite frequently and it's a it's not only Python code obviously it has all languages inside it's really great templated comes with a lot of features that we have just not comment too much on them and you can
just take it or and get a 1 norm the next up we have a cookie cutter I read this is actually from you know who gave a talk on the packaging topic on Tuesday so everything is in talking about the block amazing blog posts on that topic and the also the templates was all the best practices that he's using for his own work and a lot of people seem to like it so as features of continuous integration
and set up test talks obviously an error and I actually want to have like a
quick demo of cookie-cutter for you so just give me a 2nd
and so on usually what ideas but I will just strong cookie-cutter area of so what I usually do as I already said on my user variations on but since the wife but flaky sometimes amusing just my local copy of my my template um but there is a way of I'm also those a future you can specify flight with best see which will automatically check out the branch of like of
repository which also gets out so you need to clone change the branch you only can specified include together 140 so when I'm running this it will obviously asked me for a name and since let's just pretend for a moment that of I and I decided
to I want to write it like a python after that's never lives people met needs and conferences how many of you have been to the light toxicity yesterday look OK this is OK so my
application will apply will be kind of so the application class name
as I told you the it will automatically update like the default value depending on the values that you had before so obviously I said I want to use a common name Pinar adapters name will be automatically adjusted to just stick to the default on how the repository name the others colored for 1 and the short description let's say and then that to needs girls world but dangerous and my and you're trying a version votes and development still cookie-cutter TV didn't update just recently so much be on this version already so the interior of the cell and what you see at the very bottom after applying to this is
actually my pulse generation hoax so the template also some features into maximization right now so it supports English German Spanish and French at the time and using get text although on stuff and so this is just to show me calling them to make sure that handles all the time libraries so what I do then is usually I just go to the repository and I created new virtual environments I already want to use to
set up like that for the following I called through so and then there is a same key users fighting entirely and sometimes I feel like it's a bit of a struggle to set up so I'm usually just you doing it once seminal works so use of the dependencies of from this area in which environment so this is common in which land for uploaded actually lets you use dependencies from another rich environment so what I do now is just calling presents a lot of developed little and set of an entry point for me and I can and probably the Pullman ponder not from
their so here we go we have to keep running key application and it's as you can see it features the values that we entered some I'm afraid the screen font size
of it so i'm just increasing the
font size for the application there go so it says like the
application titled and a short description that I put in the this is that it's of KDD and and it can
change like that language during runtime so since we are in
mobile launchers use the Spanish word another Spanish speaker myself so I kind of depend on my friends to not fully and the flavor very very offensive stuff here but it's it should be fun OK yeah so I was actually able to deploy its among monometric now but I was using the Internet was just perfectly fine set up tool called to those events in the key units but as well it will handle the packaging for educated for you right now key has a sentence for it's for Mac OS for Windows I also it's flaws and Linux it's 400 obviously somebody forces by far just to it's I think landmarks and and which would be the depressed the best environment for that can can also use
a German version just change like the speed of in which the slides
it has touch test gesture recognition so I really recommend you just getting it to try and see if it works out for you and it also has like I can click this is the length of the automatic you take repository yeah yeah that's it
for the most part of yeah so I'm
actually writing a block and and in January I was the publishing glycosuria some cookie-cutter so if you really want to dig into this topic and feel free
to just a 2nd product III and just find those 3 and posts there 2 say 2 pages long and quite yeah comprehensive of so there is
a certain and if you really like topics please give give my friends on them from Germany at some kind of the last 100 so you really think it is of some kind of applause later on we did amazing job almost graphics yeah and other than that yes thank you have as
already said you can find me on Twitter and get up and thank you
very much for your attention and questions please hi hi present looks
actually quite similar to your money from JavaScript universe maybe you can see in advance so I was wondering uh no have you looked at the almond and how cookie-cutter compares states and 1 of them and do you think it's worth it to have uh like our own Python version of that the well to be perfectly
honest I don't know that projects and but I think there are plenty of tools that already use templates so the scaffold something as well and we do future them on get out front page and so there's no like I don't know we can we can still trying to find a common solution I think that just yesterday someone on Twitter said that he actually implements a cookie cutter and goal so it seems to be a very fun thing to do this a yeah just I don't really know the truth so but there may be a good solution that we should have a look at
yeah thank you for the talk again a question how do you handle updates so if for instance of use 1 of the convicted templates to create my projects and 2 month or half a year later realized that the template has no some cool new features Internet just run it again and update my project which has no a lot of code inside this is possible up to now it's actually
not but it's requested by the community and the mean we full-time professional so it just didn't find the time to implement just get thought to be a very open to it so as I said it's requested quite often so we still need to find a solution for that and once we have 1 so please feel free to adjust but I recommend anything but just submit an issue and we talk about it OK thank you know nobody
else OK so maybe you want to give also to the Daniel and or
as well they said we could make it this year to your pardon but and I think that this is a tremendous good job on this tool as well so please give me do me a favor and just give a false so
Metropolitan area network
Stereometrie
Software
Open Source
Cookie <Internet>
Gleitendes Mittel
Softwareentwickler
Schlüsselverwaltung
Baum <Mathematik>
Computeranimation
Gradient
Twitter <Softwareplattform>
Systemaufruf
Computer
Kombinatorische Gruppentheorie
Programmierumgebung
Schnitt <Graphentheorie>
Computeranimation
Metropolitan area network
Template
Versionsverwaltung
Softwarewerkzeug
Projektive Ebene
Computeranimation
Template
Versionsverwaltung
Quellcode
Systemplattform
Komplex <Algebra>
Computeranimation
Open Source
Software
Freeware
Zustandsdichte
Geschlecht <Mathematik>
Verweildauer
Cookie <Internet>
Projektive Ebene
Große Vereinheitlichung
Term
Softwaretest
Versionsverwaltung
Kombinatorische Gruppentheorie
Computeranimation
Office-Paket
Zustandsdichte
Total <Mathematik>
Verweildauer
Speicherabzug
Datenstruktur
Optimierung
Programmierumgebung
Automorphismus
Große Vereinheitlichung
Metropolitan area network
Momentenproblem
Geschlecht <Mathematik>
Code
Open Source
Template
Skript <Programm>
Projektive Ebene
Biprodukt
Mathematische Logik
Computeranimation
Softwaretest
Template
Mustersprache
Cookie <Internet>
Leistung <Physik>
Speicher <Informatik>
Code
Computeranimation
Bildschirmmaske
Dämpfung
Natürliche Zahl
Leistung <Physik>
URL
Kombinatorische Gruppentheorie
Framework <Informatik>
Hinterlegungsverfahren <Kryptologie>
Computeranimation
Bit
Dämpfung
Template
Klon <Mathematik>
Cookie <Internet>
Schreiben <Datenverarbeitung>
Speicherabzug
Projektive Ebene
Booten
Elektronische Publikation
Biprodukt
Speicher <Informatik>
Code
Computeranimation
Bit
Formale Sprache
Versionsverwaltung
Kartesische Koordinaten
Element <Mathematik>
Computerunterstütztes Verfahren
Computeranimation
Metropolitan area network
Informationsmodellierung
Domain-Name
Bildschirmmaske
Variable
Wurzel <Mathematik>
Default
E-Mail
Inklusion <Mathematik>
Programmiersprache
Benutzeroberfläche
Dokumentenserver
Template
Zwei
Ausnahmebehandlung
Quellcode
Objektklasse
Elektronische Publikation
Datenfluss
Modul
Quick-Sort
Rechter Winkel
Maschinenschreiben
Cookie <Internet>
Leistung <Physik>
Projektive Ebene
Information
Schlüsselverwaltung
Ext-Funktor
Dokumentenserver
Kartesische Koordinaten
Projektive Ebene
Variable
Baum <Mathematik>
Raum-Zeit
Computeranimation
Zeichenkette
Bit
Nabel <Mathematik>
Klasse <Mathematik>
Formale Sprache
Iteration
Kartesische Koordinaten
Code
Computeranimation
Metropolitan area network
Skript <Programm>
Wurzel <Mathematik>
Default
Chi-Quadrat-Verteilung
Validität
Quellcode
Elektronische Publikation
Modul
Arithmetisch-logische Einheit
Generator <Informatik>
Menge
Zustandsdichte
Maschinenschreiben
Mereologie
Anpassung <Mathematik>
Cookie <Internet>
Projektive Ebene
Schlüsselverwaltung
Personal Area Network
Zeichenkette
Softwaretest
Regulärer Ausdruck
Rechenzeit
Kartesische Koordinaten
Physikalisches System
Quellcode
p-Block
Code
Quick-Sort
Computeranimation
Übergang
Rechenschieber
Metropolitan area network
Informationsmodellierung
Softwaretest
Suite <Programmpaket>
Maschinenschreiben
Mereologie
Wurzel <Mathematik>
Schlüsselverwaltung
Varianz
Softwaretest
Softwaretest
Maschinenschreiben
Projektive Ebene
Kartesische Koordinaten
Maskierung <Informatik>
Framework <Informatik>
Computeranimation
Rechenschieber
Distributionstheorie
Web log
Menge
Maschinenschreiben
Template
Information
Extrempunkt
Computeranimation
Variable
Elektronische Publikation
Verzeichnisdienst
Ablöseblase
Booten
Quellcode
Versionsverwaltung
Verzeichnisdienst
Konfigurationsraum
Computeranimation
TVD-Verfahren
Template
Kontextbezogenes System
Zeiger <Informatik>
Computeranimation
Virtuelle Maschine
Metropolitan area network
Diskrete-Elemente-Methode
Maschinenschreiben
Datentyp
Cookie <Internet>
Verzeichnisdienst
Klon <Mathematik>
ATM
Orientierung <Mathematik>
Template
Minimum
Mereologie
Softwareentwickler
Baum <Mathematik>
Auswahlaxiom
Computeranimation
PROM
Template
Implementierung
Ausgleichsrechnung
Kommutator <Quantentheorie>
Code
Computeranimation
Rechenschieber
Metropolitan area network
Prozess <Informatik>
Verweildauer
Total <Mathematik>
Datentyp
Mereologie
Indexberechnung
Boolesche Algebra
Auswahlaxiom
Metropolitan area network
Gruppe <Mathematik>
Freier Ladungsträger
Template
Formale Sprache
Kartesische Koordinaten
Term
Code
Computeranimation
Eins
Softwaretest
Metropolitan area network
Web log
Template
Cookie <Internet>
Cookie <Internet>
Kontinuierliche Integration
p-Block
Normalvektor
Computeranimation
Fehlermeldung
Inklusion <Mathematik>
TVD-Verfahren
Demo <Programm>
Multiplikation
Krümmung
Template
Logarithmus
Zeiger <Informatik>
Extrempunkt
E-Mail
Computeranimation
Metropolitan area network
Uniforme Struktur
Flächeninhalt
Gravitationsgesetz
Demo <Programm>
Inklusion <Mathematik>
Dokumentenserver
sinc-Funktion
Verzweigendes Programm
Oval
Computeranimation
Metropolitan area network
Uniforme Struktur
ATM
Bildschirmsymbol
Gravitationsgesetz
Automorphismus
Baum <Mathematik>
Haar-Integral
Gammafunktion
Inklusion <Mathematik>
Abstimmung <Frequenz>
Dokumentenserver
Klasse <Mathematik>
Versionsverwaltung
Zellularer Automat
Hausdorff-Raum
Kartesische Koordinaten
Computeranimation
Deskriptive Statistik
Metropolitan area network
Uniforme Struktur
Softwareentwickler
Default
Innerer Punkt
Baum <Mathematik>
Normalvektor
Software Engineering
Bit
Punkt
Extrempunkt
Virtuelle Realität
Kombinatorische Gruppentheorie
Extrempunkt
Computeranimation
Metropolitan area network
Message-Passing
Puls <Technik>
Programmbibliothek
Unruh-Effekt
Automorphismus
Große Vereinheitlichung
Normalvektor
Inklusion <Mathematik>
Dokumentenserver
Logarithmus
Template
Hoax
Vorhersagbarkeit
Generator <Informatik>
Uniforme Struktur
Flächeninhalt
Menge
Bildschirmsymbol
Direkte numerische Simulation
Programmierumgebung
Logik höherer Stufe
Inklusion <Mathematik>
Software Development Kit
Binärdaten
Dualitätstheorie
Division
Kartesische Koordinaten
Extrempunkt
Computeranimation
Metropolitan area network
OISC
Uniforme Struktur
Font
Gravitationsgesetz
Schlüsselverwaltung
Haar-Integral
Touchscreen
Mathematisierung
Formale Sprache
Rechenzeit
Kartesische Koordinaten
Ereignishorizont
Computeranimation
Internetworking
Deskriptive Statistik
Einheit <Mathematik>
Forcing
Bildschirmfenster
Wort <Informatik>
Programmierumgebung
Softwaretest
Maschinenschreiben
Dicke
Division
Versionsverwaltung
Mustererkennung
Ausgleichsrechnung
Speicherbereichsnetzwerk
Computeranimation
Rechenschieber
Metropolitan area network
Uniforme Struktur
Prozessfähigkeit <Qualitätsmanagement>
Mereologie
Unruh-Effekt
MIDI <Musikelektronik>
Gravitationsgesetz
Software Engineering
Freeware
p-Block
Extrempunkt
Biprodukt
Computeranimation
Homepage
Prozess <Informatik>
Baum <Mathematik>
Computeranimation
Web log
Computeranimation
Binärdaten
Versionsverwaltung
Grundraum
Computeranimation
Aggregatzustand
Twitter <Softwareplattform>
Template
Cookie <Internet>
Projektive Ebene
Baum <Mathematik>
Code
Computeranimation
Instantiierung
Internetworking
Homepage
Arithmetisches Mittel
Baum <Mathematik>
Computeranimation
Prozess <Informatik>
Baum <Mathematik>
Computeranimation

Metadaten

Formale Metadaten

Titel Come to the Dark Side! We have a whole bunch of Cookiecutters!
Serientitel EuroPython 2015
Teil 117
Anzahl der Teile 173
Autor Pierzina, Raphael
Lizenz CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
DOI 10.5446/20191
Herausgeber EuroPython
Erscheinungsjahr 2015
Sprache Englisch
Produktionsort Bilbao, Euskadi, Spain

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Raphael Pierzina - Come to the Dark Side! We have a whole bunch of Cookiecutters! *(This talk is intended for intermediate-level participants who have a basic understanding of the Python language and contains quotes from Darth Vader that some attendees may find hilarious)* Writing a Python script from scratch is fairly easy and you get on with very little boilerplate code in general. However starting a new Python project can be tiring if you decide to stick to best practices and plan on submitting it to PyPI. It requires great diligence and occasionally gets pretty cumbersome if you start new tools on a regular basis. You underestimate the power of a good template ---------------------------------------------- Why not just use a template for it? Cookiecutter is a CLI tool written in pure Python that enables you to do so. Not only is it working for Python code, but also markdown formats and even other programming languages. We will talk about the ideas behind Cookiecutter and go over how you can create your very own template, so you and others can benefit from your experience. I would like to briefly go into the technologies used and how you can get involved in the Cookiecutter GitHub project. There are already plenty of Cookiecutter templates, or Cookiecutters as we call them, available online. Most of them target Python projects, but others can be used to create C++, LaTeX or Javascript projects. The ability to destroy a planet is insignificant next to the power of Cookiecutter. ------------------------------------------------- I will show you how to use Cookiecutter and highlight some of the amazing templates created by the community. More importantly we will create a Cookiecutter template from scratch using the example of a simple Kivy app and make use of advanced features such as post-gen hooks, copy-without-render and templates in context values. Finally I will recommend resources on how to follow up on this talk and how to get in touch in case of any queries.
Schlagwörter EuroPython Conference
EP 2015
EuroPython 2015

Zugehöriges Material

Ähnliche Filme

Loading...