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