tree: d75c5bfac13b11ca1195f793971d68e65c176c9e
  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. generate_group_library_build_bazel.bzl
  16. generate_whl_library_build_bazel.bzl
  17. hash.bzl
  18. hub_builder.bzl
  19. hub_repository.bzl
  20. index_sources.bzl
  21. labels.bzl
  22. missing_package.bzl
  23. multi_pip_parse.bzl
  24. namespace_pkg_tmpl.py
  25. namespace_pkgs.bzl
  26. package_annotation.bzl
  27. parse_requirements.bzl
  28. parse_requirements_txt.bzl
  29. parse_simpleapi_html.bzl
  30. parse_whl_name.bzl
  31. patch_whl.bzl
  32. pep508_deps.bzl
  33. pep508_env.bzl
  34. pep508_evaluate.bzl
  35. pep508_requirement.bzl
  36. pip.bzl
  37. pip_compile.bzl
  38. pip_repository.bzl
  39. pip_repository_attrs.bzl
  40. pkg_aliases.bzl
  41. platform.bzl
  42. pypi_cache.bzl
  43. pypi_repo_utils.bzl
  44. python_tag.bzl
  45. README.md
  46. render_pkg_aliases.bzl
  47. repack_whl.ps1
  48. requirements.bzl.tmpl.bzlmod
  49. requirements.bzl.tmpl.workspace
  50. requirements.txt
  51. requirements_files_by_platform.bzl
  52. select_whl.bzl
  53. simpleapi_download.bzl
  54. unified_hub_repo.bzl
  55. unified_hub_setup.bzl
  56. urllib.bzl
  57. venv_entry_point.bzl
  58. venv_entry_point_template.bat
  59. venv_entry_point_template.sh
  60. venv_rewrite_shebang.bzl
  61. venv_shebang_rewriter.ps1
  62. venv_shebang_rewriter.sh
  63. version_from_filename.bzl
  64. whl_config_repo.bzl
  65. whl_config_setting.bzl
  66. whl_extract.bzl
  67. whl_library.bzl
  68. whl_library_alias.bzl
  69. whl_library_targets.bzl
  70. whl_metadata.bzl
  71. whl_repo_name.bzl
  72. 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.