blob: d890d702d6c3a1543921ddc5e365e6339f24b44c [file] [log] [blame] [view]
Jon Brandvein9150caa2019-10-08 23:54:04 -04001# Python Rules for Bazel
Matt Moore9160fc72017-08-11 10:06:19 -07002
Richard Levasseurc32d2322023-08-23 08:25:12 -07003[![Build status](https://badge.buildkite.com/0bcfe58b6f5741aacb09b12485969ba7a1205955a45b53e854.svg?branch=main)](https://buildkite.com/bazel/rules-python-python)
Matt Moore9160fc72017-08-11 10:06:19 -07004
Matt Moore9160fc72017-08-11 10:06:19 -07005## Overview
6
Jon Brandvein9150caa2019-10-08 23:54:04 -04007This repository is the home of the core Python rules -- `py_library`,
Ivo List0d3c4f72023-01-18 23:15:52 +00008`py_binary`, `py_test`, `py_proto_library`, and related symbols that provide the basis for Python
Chris Love23354a92023-07-24 10:53:53 -06009support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
10
Richard Levasseur327b4e32023-10-19 11:03:01 -070011Documentation for rules_python is at <https://rules-python.readthedocs.io> and in the
Jon Brandvein9150caa2019-10-08 23:54:04 -040012[Bazel Build Encyclopedia](https://docs.bazel.build/versions/master/be/python.html).
Jon Brandvein6c5f4792019-08-02 15:19:47 -040013
Chris Love23354a92023-07-24 10:53:53 -060014Examples live in the [examples](examples) directory.
15
Greg Roodt55d10422024-06-23 11:35:56 +100016The core rules are stable. Their implementation is subject to Bazel's
Jon Brandvein9150caa2019-10-08 23:54:04 -040017[backward compatibility policy](https://docs.bazel.build/versions/master/backward-compatibility.html).
Greg Roodt55d10422024-06-23 11:35:56 +100018This repository aims to follow [semantic versioning](https://semver.org).
Matt Moore9160fc72017-08-11 10:06:19 -070019
Chris Love23354a92023-07-24 10:53:53 -060020The 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.
Jon Brandvein9150caa2019-10-08 23:54:04 -040021
Richard Levasseur327b4e32023-10-19 11:03:01 -070022## Documentation
23
24For detailed documentation, see <https://rules-python.readthedocs.io>
25
Chris Love23354a92023-07-24 10:53:53 -060026## Bzlmod support
Chris Love9268d912023-05-15 16:05:53 -060027
28- Status: Beta
29- Full Feature Parity: No
30
31See [Bzlmod support](BZLMOD_SUPPORT.md) for more details.