Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

From Python Script to Open Source Project

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to transform a Python script into a fully-fledged open-source project in this 33-minute EuroPython Conference talk. Discover a comprehensive checklist of steps to enhance your code's quality, maintainability, and community engagement. Explore essential topics such as proper code structuring, setting up a setup.py file, creating entry points, managing dependencies, implementing code formatting with Black, configuring linters, establishing a Git repository, writing unit tests, adding type annotations, and leveraging continuous integration services. Master the process of publishing your project on PyPI, creating documentation, and effectively promoting your work to the Python community. Whether you're working on an open-source or private project, this talk provides valuable insights to elevate your Python development practices and streamline collaboration.

Syllabus

Intro
Your command-line interface (CLI)
Code directory layout
Code structure
Define your main function
Using your setup.py file
Create a requirements.txt file
Use Black to format your code
Use pre-commit to run formatters
Use flake8 to check your code
Use flake to check your code
Use MyPy for static type analysis
Use tox to test all the things
Write unit tests
Set up a Git repository
Set up continuous integration
Requirements updater
Test coverage checker
Automated code review
Automated PR merge
Bots working for you
Publish your project on PyPI

Taught by

EuroPython Conference

Reviews

Start your review of From Python Script to Open Source Project

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.