From Python Script to Open Source Project
Offered By: EuroPython Conference via YouTube
Course Description
Overview
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
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity