• Home
Name Date Size #Lines LOC

..--

.bazelci/04-Jul-2025-633550

.bcr/04-Jul-2025-13785

.ci/04-Jul-2025-109

.github/04-Jul-2025-414262

docs/04-Jul-2025-2,9602,337

examples/04-Jul-2025-9,0807,505

gazelle/04-Jul-2025-13,2827,603

private/04-Jul-2025-2824

python/04-Jul-2025-29,28124,616

sphinxdocs/04-Jul-2025-5,8014,571

tests/04-Jul-2025-16,19113,713

third_party/rules_pycross/04-Jul-2025-649542

tools/04-Jul-2025-3,1062,615

.bazelignoreD04-Jul-20251.3 KiB3029

.bazelrcD04-Jul-20254.6 KiB3930

.bazelversionD04-Jul-20254 21

.git-blame-ignore-revsD04-Jul-202582 32

.gitattributesD04-Jul-202577 32

.gitignoreD04-Jul-2025593 5543

.pre-commit-config.yamlD04-Jul-20251.7 KiB5233

.readthedocs.ymlD04-Jul-2025284 1510

AUTHORSD04-Jul-2025305 107

BUILD.bazelD04-Jul-20252 KiB7666

BZLMOD_SUPPORT.mdD04-Jul-20253.9 KiB8056

CHANGELOG.mdD04-Jul-202561.5 KiB1,3141,092

CONTRIBUTING.mdD04-Jul-202510.9 KiB284209

CONTRIBUTORSD04-Jul-2025477 1311

DEVELOPING.mdD04-Jul-20253 KiB8058

LICENSED04-Jul-202511.1 KiB202169

METADATAD04-Jul-2025585 2018

MODULE.bazelD04-Jul-20255.7 KiB177155

MODULE_LICENSE_APACHE2D04-Jul-20250

OWNERSD04-Jul-2025102 42

README.mdD04-Jul-20251.4 KiB3219

WORKSPACED04-Jul-20254.8 KiB148110

WORKSPACE.bzlmodD04-Jul-20250

addlicense.shD04-Jul-2025869 246

internal_dev_deps.bzlD04-Jul-202510.5 KiB241211

internal_dev_setup.bzlD04-Jul-20252.7 KiB6554

version.bzlD04-Jul-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