Pythonic Harmony: Orchestrating Projects with Poetry

Yash Ajgaonkar (~yash88)





In the vibrant ecosystem of Python development, managing project dependencies and packaging can sometimes feel like conducting a symphony without a conductor. Enter Poetry, the maestro of Python package management. In this talk, we'll explore how Poetry orchestrates Python projects with elegance and precision, ensuring harmony across environments and simplifying the distribution process.


In this session, attendees will embark on a journey through the world of Python package management with Poetry. We'll start by talking about package management in python and then introducing Poetry and its key features , including dependency resolution, versioning, and virtual environment management. Through practical demonstrations and examples, attendees will learn how to leverage Poetry to streamline their development workflow and maintain consistent environments across different systems. Furthermore, we'll delve into Poetry's powerful capabilities for packaging and publishing Python projects. Attendees will discover how Poetry simplifies the process of creating distributable packages, making it easier than ever to share their Python creations with the world.

Key Points:

  1. Introduction to Poetry: What makes Poetry the go-to tool for Python package management?
  2. Features of Poetry
  3. Dependency Resolution: How Poetry simplifies the management of project dependencies and ensures consistent environments.
  4. Versioning and Dependency Constraints: Exploring Poetry's approach to versioning and maintaining compatibility.
  5. Virtual Environment Management: Harnessing Poetry's virtual environment support for isolated and reproducible development environments.
  6. Packaging and Publishing: Leveraging Poetry to package Python projects and distribute them with ease.
  7. Migrate to poetry (steps to do that)
  8. Best Practices and Tips: Proven strategies for maximizing the effectiveness of Poetry in Python development.

Takeaways: - A comprehensive understanding of Poetry's features and capabilities. - Practical insights and tips for integrating Poetry into Python development workflows. - Confidence in managing project dependencies, packaging, and distribution using Poetry.

Target Audience: This talk is suitable for Python beginners and intermediate who are interested in improving their project management skills and streamlining their development workflows. Whether you're a beginner looking to learn about modern Python tools or an experienced developer seeking to enhance your proficiency with package management, this session has something for everyone.


Basic familiarity with Python development concepts and package management is recommended but not required. Attendees are encouraged to bring their laptops(requires internet connectivity) to follow along with the live demonstrations.

Content URLs:

Poetry Docs

Speaker Info:

Yash is a Software Quality Engineer currently employed at Red Hat, where he is a member of the Insights for OpenShift - Resource Optimization Team. With a background in SDET/DevOps, he is driven by a strong passion for optimizing product release workflows and ensuring efficient software delivery. Yash's go-to programming languages are Python, Bash and is currently exploring Go. He is usually found reading blogs about DevOps and contributing towards open-source projects apart from his professional work. He actively gives back to the open-source community through various events and initiatives like Ceph Days India 2023, Cloud Native Day India 2023 and recently had the chance to volunteer at Kubernetes Community Day - Pune(KCD) 2024

Subhashree keeps Red Hat's Hybrid Cloud Console in check as part of the compliance team. She's got a knack for Python and loves tackling tough challenges. Always on the lookout for new things to learn, she's a perpetual explorer. But Subhashree's not just about work—she's big on giving back. Whether it's chipping in on open-source projects or volunteering in her community, she's all about making a positive impact.

Section: Core Python
Type: Talk
Target Audience: Intermediate
Last Updated: