Help us learn about your current experience with the documentation.
Take the survey.
Python development guidelinesThis 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.
Design principlesRuby 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.
Learning PythonResources to get started, examples and tips.
Creating a new Python applicationScaffolding libraries and pipelines for a new codebase
Conventions Style Guidelines Code review and maintainership guidelinesGuidelines on creating MRs and reviewing them
Deploying a Python codebaseDeploying libraries, utilities and services.
Python as part of the MonorepoGuide on libraries in the monorepo that use Python
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4