Name Date Size #Lines LOC

..--

.bazelci/H25-Apr-2025-608528

.bcr/H25-Apr-2025-13585

.ci/H25-Apr-2025-109

.github/H25-Apr-2025-486296

docs/H25-Apr-2025-2,7492,165

examples/H25-Apr-2025-17,51015,954

gazelle/H25-Apr-2025-13,2477,591

python/H25-Apr-2025-27,36823,010

sphinxdocs/H25-Apr-2025-5,1384,057

tests/H25-Apr-2025-14,36712,131

third_party/rules_pycross/H25-Apr-2025-649542

tools/H25-Apr-2025-2,6002,117

.bazelignoreH A D25-Apr-20251.3 KiB2928

.bazelrcH A D25-Apr-20254.5 KiB3729

.bazelversionH A D25-Apr-20256 21

.git-blame-ignore-revsH A D25-Apr-202582 32

.gitattributesH A D25-Apr-202544 21

.gitignoreH A D25-Apr-2025629 5644

.pre-commit-config.yamlH A D25-Apr-20251.8 KiB5435

.readthedocs.ymlH A D25-Apr-2025284 1510

AUTHORSH A D25-Apr-2025305 107

BUILD.bazelH A D25-Apr-20252.6 KiB9887

BZLMOD_SUPPORT.mdH A D25-Apr-20253 KiB6240

CHANGELOG.mdH A D25-Apr-202545.4 KiB935758

CONTRIBUTING.mdH A D25-Apr-202510.2 KiB270197

CONTRIBUTORSH A D25-Apr-2025477 1311

DEVELOPING.mdH A D25-Apr-20252.1 KiB5136

LICENSEH A D25-Apr-202511.1 KiB202169

METADATAH A D25-Apr-2025587 2018

MODULE.bazelH A D25-Apr-20254.4 KiB146128

MODULE_LICENSE_APACHE2HD25-Apr-20250

OWNERSH A D25-Apr-202530 31

README.mdH A D25-Apr-20251.4 KiB3219

WORKSPACEH A D25-Apr-20254.8 KiB148110

WORKSPACE.bzlmodH A D25-Apr-20252.3 KiB6353

addlicense.shH A D25-Apr-2025869 246

internal_deps.bzlH A D25-Apr-20259.9 KiB226200

internal_setup.bzlH A D25-Apr-20252 KiB4737

version.bzlH A D25-Apr-20251.5 KiB4035

README.md

1# Python Rules for Bazel
2
3[![Build status](https://badge.buildkite.com/0bcfe58b6f5741aacb09b12485969ba7a1205955a45b53e854.svg?branch=main)](https://buildkite.com/bazel/rules-python-python)
4
5## Overview
6
7This repository is the home of the core Python rules -- `py_library`,
8`py_binary`, `py_test`, `py_proto_library`, and related symbols that provide the basis for Python
9support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
10
11Documentation for rules_python is at <https://rules-python.readthedocs.io> and in the
12[Bazel Build Encyclopedia](https://docs.bazel.build/versions/master/be/python.html).
13
14Examples live in the [examples](examples) directory.
15
16The core rules are stable. Their implementation is subject to Bazel's
17[backward compatibility policy](https://docs.bazel.build/versions/master/backward-compatibility.html).
18This repository aims to follow [semantic versioning](https://semver.org).
19
20The 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](CONTRIBUTING.md) page for information on our development workflow.
21
22## Documentation
23
24For detailed documentation, see <https://rules-python.readthedocs.io>
25
26## Bzlmod support
27
28- Status: Beta
29- Full Feature Parity: No
30
31See [Bzlmod support](BZLMOD_SUPPORT.md) for more details.
32