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
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube