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