rules_python Bazel APIs
API documentation for rules_python Bazel objects.
- //python/api:api.bzl
- //python/api:attr_builders.bzl
- //python/api:executables.bzl
- //python/api:libraries.bzl
- //python/api:rule_builders.bzl
- //python/bin
- //python/cc
- //python/cc:py_cc_toolchain.bzl
- //python/cc:py_cc_toolchain_info.bzl
- //python/config_settings
- //python:defs.bzl
current_py_toolchainpy_binarypy_importpy_librarypy_runtimepy_runtime_pairpy_testPyInfoPyInfo.<init>PyInfo.direct_original_sourcesPyInfo.direct_pyc_filesPyInfo.direct_pyi_filesPyInfo.has_py2_only_sourcesPyInfo.has_py3_only_sourcesPyInfo.importsPyInfo.transitive_implicit_pyc_filesPyInfo.transitive_implicit_pyc_source_filesPyInfo.transitive_original_sourcesPyInfo.transitive_pyc_filesPyInfo.transitive_pyi_filesPyInfo.transitive_sourcesPyInfo.uses_shared_librariesPyInfo.venv_symlinks
PyRuntimeInfoPyRuntimeInfo.<init>PyRuntimeInfo.abi_flagsPyRuntimeInfo.bootstrap_templatePyRuntimeInfo.coverage_filesPyRuntimeInfo.coverage_toolPyRuntimeInfo.filesPyRuntimeInfo.implementation_namePyRuntimeInfo.interpreterPyRuntimeInfo.interpreter_pathPyRuntimeInfo.interpreter_version_infoPyRuntimeInfo.pyc_tagPyRuntimeInfo.python_versionPyRuntimeInfo.site_init_templatePyRuntimeInfo.stage2_bootstrap_templatePyRuntimeInfo.stub_shebangPyRuntimeInfo.supports_build_time_venvPyRuntimeInfo.zip_main_template
- //python/entry_points:py_console_script_binary.bzl
- //python/extensions:config.bzl
- //python/extensions:pip.bzl
- //python/extensions:python.bzl
- //python:features.bzl
- //python
- //python/local_toolchains:repos.bzl
- //python:packaging.bzl
- //python:pip.bzl
- //python/private/api:py_common_api.bzl
- //python/private:attr_builders.bzl
attrb.Boolattrb.Intattrb.IntListattrb.Labelattrb.LabelKeyedStringDictattrb.LabelListattrb.Outputattrb.OutputListattrb.Stringattrb.StringDictattrb.StringKeyedLabelDictattrb.StringListattrb.StringListDictattrb.WhichCfgAttrCfgBoolIntIntListLabelLabel.allow_filesLabel.allow_single_fileLabel.aspectsLabel.buildLabel.cfgLabel.defaultLabel.docLabel.executableLabel.kwargsLabel.mandatoryLabel.providersLabel.set_defaultLabel.set_docLabel.set_executableLabel.set_mandatoryLabel.add_allow_filesLabel.newLabel.set_allow_filesLabel.set_allow_single_file
LabelKeyedStringDictLabelKeyedStringDict.aspectsLabelKeyedStringDict.allow_filesLabelKeyedStringDict.allow_emptyLabelKeyedStringDict.cfgLabelKeyedStringDict.defaultLabelKeyedStringDict.docLabelKeyedStringDict.kwargsLabelKeyedStringDict.mandatoryLabelKeyedStringDict.providersLabelKeyedStringDict.set_mandatoryLabelKeyedStringDict.set_allow_emptyLabelKeyedStringDict.set_defaultLabelKeyedStringDict.set_docLabelKeyedStringDict.set_allow_filesLabelKeyedStringDict.add_allow_filesLabelKeyedStringDict.new
LabelListOutputOutputListStringStringDictStringKeyedLabelDictStringKeyedLabelDict.allow_emptyStringKeyedLabelDict.allow_filesStringKeyedLabelDict.aspectsStringKeyedLabelDict.buildStringKeyedLabelDict.cfgStringKeyedLabelDict.defaultStringKeyedLabelDict.docStringKeyedLabelDict.mandatoryStringKeyedLabelDict.providersStringKeyedLabelDict.kwargsStringKeyedLabelDict.set_allow_emptyStringKeyedLabelDict.set_allow_filesStringKeyedLabelDict.set_docStringKeyedLabelDict.set_defaultStringKeyedLabelDict.set_mandatoryStringKeyedLabelDict.new
StringListStringListDict
- //python/private:builders_util.bzl
is_labelkwargs_getterkwargs_getter_dockwargs_getter_mandatorykwargs_set_default_dictkwargs_set_default_dockwargs_set_default_ignore_nonekwargs_set_default_listkwargs_set_default_mandatorykwargs_setterkwargs_setter_dockwargs_setter_mandatorylist_add_uniquenormalize_transition_in_out_valuenormalize_transition_in_out_valuesto_label_maybe
- //python/private:py_binary_rule.bzl
- //python/private:py_cc_toolchain_rule.bzl
- //python/private:py_info.bzl
PyInfoPyInfo.<init>PyInfo.direct_original_sourcesPyInfo.direct_pyc_filesPyInfo.direct_pyi_filesPyInfo.has_py2_only_sourcesPyInfo.has_py3_only_sourcesPyInfo.importsPyInfo.transitive_implicit_pyc_filesPyInfo.transitive_implicit_pyc_source_filesPyInfo.transitive_original_sourcesPyInfo.transitive_pyc_filesPyInfo.transitive_pyi_filesPyInfo.transitive_sourcesPyInfo.uses_shared_librariesPyInfo.venv_symlinks
PyInfoBuilderPyInfoBuilder.direct_original_sourcesPyInfoBuilder.direct_pyc_filesPyInfoBuilder.direct_pyi_filesPyInfoBuilder.importsPyInfoBuilder.transitive_implicit_pyc_filesPyInfoBuilder.transitive_implicit_pyc_source_filesPyInfoBuilder.transitive_original_sourcesPyInfoBuilder.transitive_pyc_filesPyInfoBuilder.transitive_pyi_filesPyInfoBuilder.transitive_sourcesPyInfoBuilder.venv_symlinksPyInfoBuilder.build_builtin_py_infoPyInfoBuilder.get_has_py2_only_sourcesPyInfoBuilder.get_has_py3_only_sourcesPyInfoBuilder.get_uses_shared_librariesPyInfoBuilder.mergePyInfoBuilder.merge_allPyInfoBuilder.merge_has_py2_only_sourcesPyInfoBuilder.merge_has_py3_only_sourcesPyInfoBuilder.merge_targetPyInfoBuilder.merge_targetsPyInfoBuilder.merge_uses_shared_librariesPyInfoBuilder.newPyInfoBuilder.set_has_py2_only_sourcesPyInfoBuilder.set_has_py3_only_sourcesPyInfoBuilder.set_uses_shared_libraries
VenvSymlinkEntryVenvSymlinkKind
- //python/private:py_library_rule.bzl
- //python/private:py_runtime_pair_rule.bzl
- //python/private:py_runtime_rule.bzl
- //python/private:py_test_rule.bzl
- //python/private/pypi:config_settings.bzl
- //python/private/pypi:env_marker_info.bzl
- //python/private/pypi:pkg_aliases.bzl
- //python/private/pypi:whl_config_setting.bzl
- //python/private/pypi:whl_library.bzl
- //python/private:rule_builders.bzl
- //python:py_binary.bzl
- //python:py_cc_link_params_info.bzl
- //python:py_exec_tools_info.bzl
- //python:py_exec_tools_toolchain.bzl
- //python:py_executable_info.bzl
- //python:py_library.bzl
- //python:py_runtime.bzl
- //python:py_runtime_info.bzl
PyRuntimeInfoPyRuntimeInfo.<init>PyRuntimeInfo.abi_flagsPyRuntimeInfo.bootstrap_templatePyRuntimeInfo.coverage_filesPyRuntimeInfo.coverage_toolPyRuntimeInfo.filesPyRuntimeInfo.implementation_namePyRuntimeInfo.interpreterPyRuntimeInfo.interpreter_pathPyRuntimeInfo.interpreter_version_infoPyRuntimeInfo.pyc_tagPyRuntimeInfo.python_versionPyRuntimeInfo.site_init_templatePyRuntimeInfo.stage2_bootstrap_templatePyRuntimeInfo.stub_shebangPyRuntimeInfo.supports_build_time_venvPyRuntimeInfo.zip_main_template
- //python:py_test.bzl
- //python:repositories.bzl
- //python/runtime_env_toolchains
- //python/uv:lock.bzl
- //python/uv:uv.bzl
- //python/uv:uv_toolchain.bzl
- //python/uv:uv_toolchain_info.bzl
- //tools/precompiler