doc/development/python_guide/_index.md
This document describes conventions and practices we adopt at GitLab when developing Python code. While GitLab is built primarily on Ruby on Rails, we use Python when needed to leverage the ecosystem.
Some examples of Python in our codebase:
This documentation does not cover guidelines for Python usage on Data Science projects. For those, refer to the Data Team Platform Guide.
Ruby should always be the first choice for development at GitLab, as we have a larger community, better support, and easier deployment. However, there are occasions where using Python is worth breaking the pattern. For example, when working with AI and ML, most of the open source uses Python, and using Ruby would require building and maintaining large codebases.
Resources to get started, examples and tips.
Scaffolding libraries and pipelines for a new codebase
Guidelines on creating MRs and reviewing them
Deploying libraries, utilities and services.