Skip to content

bazel-contrib/rules_python

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

daab523 · Mar 18, 2025
Dec 11, 2024
Nov 13, 2024
Mar 30, 2021
Feb 24, 2025
Mar 18, 2025
Mar 18, 2025
Mar 15, 2025
Mar 18, 2025
Mar 18, 2025
Mar 13, 2025
Mar 18, 2025
Feb 27, 2025
Mar 18, 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
Oct 21, 2024
Mar 16, 2025
Feb 22, 2025
Aug 11, 2017
Feb 22, 2025
Aug 11, 2017
Mar 11, 2025
Jun 23, 2024
Feb 16, 2025
Feb 11, 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.