Dervis van Leersum
For CollaborAll, I developed a new Python package v2 that asynchronously sends requests to the ANTCDE API.
It was an exciting project where I scripted a process to dynamically fetch the entire data model from Swagger, parse the data, and automatically generate data models with classes and methods in a Python file.
This automation empowers us to establish CI/CD pipelines in GitLab, which, upon trigger, fetch the data model, check for new information, and automatically generate the models, thus updating the package seamlessly.
Within the same pipeline, version incrementation occurs, followed by pytest testing, linting, and validation of correct docstrings.
Furthermore, a build is generated on Read the Docs, and the package is uploaded to the PyPI server, with GitLab pages generated—all seamlessly automated.
Technologies: PYTHON, ASYNCIO, GITLAB, DEVOPS, POETRY, VSCODE, GIT