PyConDE & PyData Berlin 2024

Streamlining Python Development: A Guide to a Modern Project Setup
2024-04-22 –, Kuppelsaal

Designed for beginners, this presentation demystifies Python project management using Hatch and delves into pyproject.toml for efficient configuration. We'll guide you through organizing directories, implementing unit testing for code reliability, and using mypy for type checking to enhance code quality. The session concludes with insights into ruff, a modern linter for maintaining Python standards, which is replacing black, isort, flake8. This talk is a comprehensive toolkit for anyone eager to learn and apply the latest practices in Python development.


In the dynamic world of Python programming, an efficient project setup is key to success. 'Streamlining Python Development: A Guide to a Modern Project Setup' is a presentation tailored specifically for Python beginners, aiming to demystify the process of setting up a Python project with clarity and efficiency. In this session, we'll introduce Hatch, a cutting-edge tool that simplifies project management. We'll delve into the functionalities and benefits of using pyproject.toml, a cornerstone in modern Python development for its streamlined approach to project configuration.

The talk will also cover effective strategies for organizing your project's directory structure, ensuring a clean and manageable workspace. Understanding the importance of testing, we'll discuss unit testing techniques for enhancing code reliability. Additionally, the presentation will feature mypy for type checking, an essential practice for catching errors early and improving code quality. Finally, we'll explore the use of ruff, a modern linter, to keep your code clean and in line with Python standards.

By the end of this presentation, Python beginners will have gained a comprehensive understanding of the tools and methodologies necessary for a modern Python project setup, empowering them to create well-structured, high-quality Python applications.


Expected audience expertise: Domain:

Novice

Expected audience expertise: Python:

Novice

Public link to supporting material, e.g. videos, Github, etc.:

https://github.com/FlorianWilhelm/the-hatchlor

Abstract as a tweet (X) or toot (Mastodon):

🚀 Streamlining Python Development: A Guide to a Modern Project Setup. We'll explore tools like Hatch, mypy, and ruff, and dive into efficient project setups. Perfect for Python beginners!

See also: Slides (7.0 MB)

Florian is Head of Data Science & Mathematical Modeling at inovex GmbH, an IT project center driven by innovation and quality, focusing its services on ‘Digital Transformation’.

This speaker also appears in: