Back to Talks
Designing and Scaling a Python Library in the Open: Architecture, Automation and Community

Designing and Scaling a Python Library in the Open: Architecture, Automation and Community

Camila Maia

Date
Thursday, April 16, 2026
Time
11:35 AM - 12:20 PM
Room
Platinum [2nd Floor]
Talk PyCon: Programming & Software Engineering & Testing
Transcription

Building a Python library that remains reliable, maintainable, and welcoming to contributors is a challenge many projects face as they grow. This session presents ScanAPI as a real-world case study of how thoughtful engineering and automation can support both technical scalability and open source sustainability.

ScanAPI is an open-source Python library that enables automated API integration testing and live documentation using declarative specifications. Distributed via PyPI and actively maintained, the project has been adopted by developers across different contexts and was recognized by GitHub as part of initiatives focused on securing the open source supply chain.

Rather than focusing on abstract best practices, this talk dives into concrete engineering decisions made while designing and maintaining the library.

What we will cover:

  1. Designing a Python Library for Growth
  2. How the codebase is structured to separate configuration, execution, and reporting
  3. Organizing modules and public APIs to remain stable over time
  4. Packaging decisions and CLI design for ease of use

  5. Using Python Features Effectively

  6. Configuration-driven workflows with YAML and JSON
  7. Validation, error handling, and predictable failures
  8. Type hints and interfaces to improve readability and contributor confidence

  9. Automation as a First-Class Concern

  10. Continuous integration with GitHub Actions
  11. Unit and integration testing strategies
  12. Automated releases, versioning, and dependency management

  13. Developer Experience and Adoption

  14. Documentation and live reports as part of the product, not an afterthought
  15. Lowering the barrier for new users and contributors
  16. Tooling choices that reduce cognitive load

  17. Community and Sustainability

  18. Contribution guidelines and governance models
  19. How open collaboration scales better than individual ownership
  20. The role of the Cumbuca Dev open source community in sustaining the project

By the end of the talk, attendees will have a clear mental model for designing Python libraries that can scale technically and socially. The lessons shared are applicable to anyone maintaining or planning to publish Python libraries, whether in personal projects, companies, or community-driven initiatives.