filmov
tv
Mark Smith - Publish a (Perfect) Python Package on PyPI
Показать описание
"Publish a (Perfect) Python Package on PyPI
[EuroPython 2019 - Talk - 2019-07-10 - Shanghai]
[Basel, CH]
By Mark Smith
Always wanted to publish a package on PyPI, but didn't know where to start? This talk is for you! Starting with nothing, we'll build a package and publish it on PyPI using current best practices.
This talk will cover:
Why should you package your code for PyPI?
How to structure your project and your code, including why you need a codesrc/code folder!
Write tests for your project, and run them using Tox.
Ensure your code will work in different on different platforms with
Continuous Integration!
Document your code so people won't ask you loads of questions!
How to actually get your code on PyPI using Twine.
Finally, learn how avoid doing any of this yourself (or avoid doing it twice) using CookieCutter templates.
[EuroPython 2019 - Talk - 2019-07-10 - Shanghai]
[Basel, CH]
By Mark Smith
Always wanted to publish a package on PyPI, but didn't know where to start? This talk is for you! Starting with nothing, we'll build a package and publish it on PyPI using current best practices.
This talk will cover:
Why should you package your code for PyPI?
How to structure your project and your code, including why you need a codesrc/code folder!
Write tests for your project, and run them using Tox.
Ensure your code will work in different on different platforms with
Continuous Integration!
Document your code so people won't ask you loads of questions!
How to actually get your code on PyPI using Twine.
Finally, learn how avoid doing any of this yourself (or avoid doing it twice) using CookieCutter templates.
Комментарии