This repository contains companion code for the course "Diseño e Implementación de Bibliotecas de Software" (DIBS).
Note
While the course is taught in Spanish, the code and documentation here are in English to ensure clarity, accessibility, and alignment with broader software development conventions.
This repository includes working examples and code fragments discussed in the following lessons from the DIBS course:
- Sum Types as Enumerations in Python — Exploring how to model sum types using
Enum
andmatch
in Python, introduced in Python 3.10.
More lessons will be added as the course progresses.
This project is primarily educational and not intended to evolve as a production-grade library. That said, contributions are welcome, especially if:
- You find an error in the code or documentation.
- You want to suggest improvements for clarity or structure.
- You’d like to add examples or extensions for other course topics.
- Open an issue to describe your idea or report a bug.
- Follow the Code of Conduct.
- Feel free to fork the repo and submit a pull request with your changes.
This code is released under the BSD 2-Clause License.
You’re free to use, modify, and share the code in personal or educational projects — just retain the license and attribution.
To access the full course (in Spanish), visit: 👉 https://dibs.ravenhill.cl
There you'll find lesson explanations, exercises, and supporting materials.