Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
bazel-contrib
/
rules_python
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
707
Star
682
Code
Issues
228
Pull requests
52
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Files
Expand file tree
0.40.0
Breadcrumbs
rules_python
/
python
/
private
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
0.40.0
Breadcrumbs
rules_python
/
python
/
private
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
api
api
common
common
proto
proto
pypi
pypi
whl_filegroup
whl_filegroup
BUILD.bazel
BUILD.bazel
attributes.bzl
attributes.bzl
auth.bzl
auth.bzl
builders.bzl
builders.bzl
bzlmod_enabled.bzl
bzlmod_enabled.bzl
cc_helper.bzl
cc_helper.bzl
common.bzl
common.bzl
common_bazel.bzl
common_bazel.bzl
config_settings.bzl
config_settings.bzl
coverage.patch
coverage.patch
coverage_deps.bzl
coverage_deps.bzl
current_py_cc_headers.bzl
current_py_cc_headers.bzl
current_py_cc_libs.bzl
current_py_cc_libs.bzl
enum.bzl
enum.bzl
envsubst.bzl
envsubst.bzl
flags.bzl
flags.bzl
full_version.bzl
full_version.bzl
get_local_runtime_info.py
get_local_runtime_info.py
glob_excludes.bzl
glob_excludes.bzl
hermetic_runtime_repo_setup.bzl
hermetic_runtime_repo_setup.bzl
internal_config_repo.bzl
internal_config_repo.bzl
internal_deps.bzl
internal_deps.bzl
internal_dev_deps.bzl
internal_dev_deps.bzl
is_standalone_interpreter.bzl
is_standalone_interpreter.bzl
local_runtime_repo.bzl
local_runtime_repo.bzl
local_runtime_repo_setup.bzl
local_runtime_repo_setup.bzl
local_runtime_toolchains_repo.bzl
local_runtime_toolchains_repo.bzl
normalize_name.bzl
normalize_name.bzl
py_binary_macro.bzl
py_binary_macro.bzl
py_binary_rule.bzl
py_binary_rule.bzl
py_cc_link_params_info.bzl
py_cc_link_params_info.bzl
py_cc_toolchain_info.bzl
py_cc_toolchain_info.bzl
py_cc_toolchain_macro.bzl
py_cc_toolchain_macro.bzl
py_cc_toolchain_rule.bzl
py_cc_toolchain_rule.bzl
py_console_script_binary.bzl
py_console_script_binary.bzl
py_console_script_gen.bzl
py_console_script_gen.bzl
py_console_script_gen.py
py_console_script_gen.py
py_exec_tools_info.bzl
py_exec_tools_info.bzl
py_exec_tools_toolchain.bzl
py_exec_tools_toolchain.bzl
py_executable.bzl
py_executable.bzl
py_executable_bazel.bzl
py_executable_bazel.bzl
py_executable_info.bzl
py_executable_info.bzl
py_info.bzl
py_info.bzl
py_internal.bzl
py_internal.bzl
py_interpreter_program.bzl
py_interpreter_program.bzl
py_library.bzl
py_library.bzl
py_library_macro.bzl
py_library_macro.bzl
py_library_rule.bzl
py_library_rule.bzl
py_package.bzl
py_package.bzl
py_repositories.bzl
py_repositories.bzl
py_runtime_info.bzl
py_runtime_info.bzl
py_runtime_macro.bzl
py_runtime_macro.bzl
py_runtime_pair_macro.bzl
py_runtime_pair_macro.bzl
py_runtime_pair_rule.bzl
py_runtime_pair_rule.bzl
py_runtime_rule.bzl
py_runtime_rule.bzl
py_test_macro.bzl
py_test_macro.bzl
py_test_rule.bzl
py_test_rule.bzl
py_toolchain_suite.bzl
py_toolchain_suite.bzl
py_wheel.bzl
py_wheel.bzl
py_wheel_dist.py
py_wheel_dist.py
py_wheel_normalize_pep440.bzl
py_wheel_normalize_pep440.bzl
python.bzl
python.bzl
python_bootstrap_template.txt
python_bootstrap_template.txt
python_register_multi_toolchains.bzl
python_register_multi_toolchains.bzl
python_register_toolchains.bzl
python_register_toolchains.bzl
python_repository.bzl
python_repository.bzl
pythons_hub.bzl
pythons_hub.bzl
reexports.bzl
reexports.bzl
register_extension_info.bzl
register_extension_info.bzl
repo_utils.bzl
repo_utils.bzl
runtime_env_toolchain.bzl
runtime_env_toolchain.bzl
runtime_env_toolchain_interpreter.sh
runtime_env_toolchain_interpreter.sh
semantics.bzl
semantics.bzl
semver.bzl
semver.bzl
sentinel.bzl
sentinel.bzl
stage1_bootstrap_template.sh
stage1_bootstrap_template.sh
stage2_bootstrap_template.py
stage2_bootstrap_template.py
stamp.bzl
stamp.bzl
text_util.bzl
text_util.bzl
toolchain_types.bzl
toolchain_types.bzl
toolchains_repo.bzl
toolchains_repo.bzl
util.bzl
util.bzl
version_label.bzl
version_label.bzl
which.bzl
which.bzl
zip_main_template.py
zip_main_template.py
View all files
You can’t perform that action at this time.