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