tree: ddc5a3d74249f7c9e2cb0946631401cff0876631
  1. dependency_resolver/
  2. requirements_parser/
  3. whl_installer/
  4. argparse.bzl
  5. attrs.bzl
  6. BUILD.bazel
  7. config.bzl.tmpl
  8. config_settings.bzl
  9. deps.bzl
  10. env_marker_info.bzl
  11. env_marker_setting.bzl
  12. evaluate_markers.bzl
  13. extension.bzl
  14. flags.bzl
  15. gen_wheel_record.bzl
  16. generate_group_library_build_bazel.bzl
  17. generate_whl_library_build_bazel.bzl
  18. hash.bzl
  19. hub_builder.bzl
  20. hub_repository.bzl
  21. index_sources.bzl
  22. labels.bzl
  23. missing_package.bzl
  24. multi_pip_parse.bzl
  25. namespace_pkg_tmpl.py
  26. namespace_pkgs.bzl
  27. package_annotation.bzl
  28. parse_requirements.bzl
  29. parse_requirements_txt.bzl
  30. parse_simpleapi_html.bzl
  31. parse_whl_name.bzl
  32. patch_and_extract_whl.bzl
  33. patch_whl.bzl
  34. pep508_deps.bzl
  35. pep508_env.bzl
  36. pep508_evaluate.bzl
  37. pep508_requirement.bzl
  38. pip.bzl
  39. pip_archive.bzl
  40. pip_compile.bzl
  41. pip_repository.bzl
  42. pip_repository_attrs.bzl
  43. pkg_aliases.bzl
  44. platform.bzl
  45. pypi_cache.bzl
  46. pypi_repo_utils.bzl
  47. python_tag.bzl
  48. README.md
  49. render_pkg_aliases.bzl
  50. repack_whl.ps1
  51. requirements.bzl.tmpl.bzlmod
  52. requirements.bzl.tmpl.workspace
  53. requirements.txt
  54. requirements_files_by_platform.bzl
  55. select_whl.bzl
  56. simpleapi_download.bzl
  57. unified_hub_repo.bzl
  58. unified_hub_setup.bzl
  59. urllib.bzl
  60. venv_entry_point.bzl
  61. venv_entry_point_template.bat
  62. venv_entry_point_template.sh
  63. venv_rewrite_shebang.bzl
  64. venv_shebang_rewriter.ps1
  65. venv_shebang_rewriter.py
  66. version_from_filename.bzl
  67. wheel_record_rewriter.ps1
  68. wheel_record_rewriter.py
  69. whl_archive.bzl
  70. whl_config_repo.bzl
  71. whl_config_setting.bzl
  72. whl_deps_repo.bzl
  73. whl_extract.bzl
  74. whl_library.bzl
  75. whl_library_alias.bzl
  76. whl_library_deps_targets.bzl
  77. whl_library_srcs.bzl
  78. whl_library_targets.bzl
  79. whl_metadata.bzl
  80. whl_repo_name.bzl
  81. whl_target_platforms.bzl
python/private/pypi/README.md

PyPI integration code

This code is for integrating with PyPI and other compatible indexes. At the moment we have code for:

  • Downloading packages using pip or repository_ctx.download.
  • Interacting with PyPI compatible indexes via [SimpleAPI] spec.
  • Locking a requirements.in or PEP621 compliant pyproject.toml.