A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.gitlab.com/development/python_guide/ below:

Python development guidelines | GitLab Docs

Help us learn about your current experience with the documentation.

Take the survey

.

Python development guidelines

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.

Design principles When should I consider Python for development

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.

Learning Python

Resources to get started, examples and tips.

Creating a new Python application

Scaffolding libraries and pipelines for a new codebase

Conventions Style Guidelines

Writing consistent codebases

Code review and maintainership guidelines

Guidelines on creating MRs and reviewing them

Deploying a Python codebase

Deploying libraries, utilities and services.

Python as part of the Monorepo

Guide 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