Skip to content

bazel-contrib/rules_python

Folders and files

NameName
Last commit message
Last commit date
Dec 11, 2024
Mar 21, 2025
Mar 30, 2021
Mar 21, 2025
Mar 21, 2025
Mar 21, 2025
Mar 21, 2025
Nov 14, 2024
Mar 21, 2025
Mar 21, 2025
Mar 21, 2025
Mar 21, 2025
Jan 22, 2025
Dec 22, 2024
Dec 11, 2024
Dec 11, 2024
Aug 26, 2020
Oct 29, 2024
Nov 21, 2024
Dec 11, 2024
Aug 21, 2024
Aug 11, 2017
Nov 22, 2024
Mar 21, 2025
Mar 21, 2025
Mar 21, 2025
Aug 11, 2017
Feb 22, 2025
Aug 11, 2017
Mar 11, 2025
Jun 23, 2024
Mar 21, 2025
Mar 21, 2025
Nov 8, 2024
Feb 24, 2023
Feb 11, 2025
Dec 11, 2024
Dec 11, 2024

Repository files navigation

Python Rules for Bazel

Build status

Overview

This repository is the home of the core Python rules -- py_library, py_binary, py_test, py_proto_library, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.

Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.

Examples live in the examples directory.

The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.

The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.

Documentation

For detailed documentation, see https://rules-python.readthedocs.io

Bzlmod support

  • Status: Beta
  • Full Feature Parity: No

See Bzlmod support for more details.