Michał Karzyński - From Python script to Open Source Project

  Рет қаралды 14,822

EuroPython Conference

EuroPython Conference

Күн бұрын

"From Python script to Open Source Project
[EuroPython 2019 - Talk - 2019-07-11 - Boston]
[Basel, CH]
By Michał Karzyński
Did you write a cool and useful Python script? Would you like to share it with the community, but you're not sure how to go about that? If so, then this talks is for you. We'll go over a list of simple steps which can turn your script into a fully fledged open-source project.
The Python community has a rich set of tools which can help verify the quality of your code through automated code-review and linting. You can benefit by taking advantage of this ecosystem. Complete the steps in this checklist, and your project will be easier to maintain, you'll be ready to take contributions from the community and those contributions will be up to high standards. Your project will also keep up with other projects on PyPI and you will be alerted if any new release causes an incompatibility with your code.
The same checklist can be used for non open-source projects as well.
The project maturity checklist includes:
Properly structure your code
Use a setup.py file
Add entry_points for your script command
Create a requirements.txt file
Use Black to format your code
Create a tox.ini config and include code linters
Set up a Git repo
Refactor your code to be unit-testable and add tests
Add missing docstrings
Add type annotations and a MyPy verification step
Upload to GitHub
Add a continuous integration service (e.g. Travis)
Add a requirements updater (e.g. pyup.bot)
Add test coverage checker (e.g. coveralls)
Add a Readme file and documentation
Publish your project on PyPI
Advertise your project
License: This video is licensed under the CC BY-NC-SA 3.0 license: creativecommons.org/licenses/...
Please see our speaker release agreement for details: ep2019.europython.eu/events/s...
"

Пікірлер: 5
@mhenimerzouki1285
@mhenimerzouki1285 2 жыл бұрын
amazing information that unlocks a whole new level, this should be talked about more. Thx
@drnotebook
@drnotebook 2 жыл бұрын
great talk about the details of packaging that is not taught in most python courses
@mannycalavera121
@mannycalavera121 2 жыл бұрын
This is almost important as learning code itself
@pw7225
@pw7225 Жыл бұрын
This was a fantastic lecture, many thanks!
Modern Python logging
21:32
mCoding
Рет қаралды 147 М.
Johnny Dude - How Thinking in Python Made Me a Better Software Engineer
31:24
MOM TURNED THE NOODLES PINK😱
00:31
JULI_PROETO
Рет қаралды 16 МЛН
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 18 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 33 МЛН
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 3,6 МЛН
this open source project has a bright future
11:02
Code to the Moon
Рет қаралды 267 М.
Ed Bennett - Structuring Large Python Projects
34:18
Swansea Academy of Advanced Computing
Рет қаралды 12 М.
7 Tips To Structure Your Python Data Science Projects
14:49
ArjanCodes
Рет қаралды 110 М.
How To Structure A Programming Project…
19:00
Tech With Tim
Рет қаралды 82 М.
Python Coding Conventions You Really Should Follow
34:32
NeuralNine
Рет қаралды 19 М.
Automate with Python - Full Course for Beginners
2:42:55
freeCodeCamp.org
Рет қаралды 1,4 МЛН
Stop using print! Understanding and using the "logging" module - Reuven M. Lerner
29:32
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 10 МЛН
Kalem ile Apple Pen Nasıl Yapılır?😱
0:20
Safak Novruz
Рет қаралды 1,2 МЛН
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Рет қаралды 6 МЛН
Куда пропал 3D Touch? #apple #iphone
0:51
Не шарю!
Рет қаралды 908 М.