tree: bc436e852a9838a6f713e40fbdd62a44c53dee42 [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. 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_and_extract_whl.bzl
  32. patch_whl.bzl
  33. pep508_deps.bzl
  34. pep508_env.bzl
  35. pep508_evaluate.bzl
  36. pep508_requirement.bzl
  37. pip.bzl
  38. pip_archive.bzl
  39. pip_compile.bzl
  40. pip_repository.bzl
  41. pip_repository_attrs.bzl
  42. pkg_aliases.bzl
  43. platform.bzl
  44. pypi_cache.bzl
  45. pypi_repo_utils.bzl
  46. python_tag.bzl
  47. README.md
  48. render_pkg_aliases.bzl
  49. repack_whl.ps1
  50. requirements.bzl.tmpl.bzlmod
  51. requirements.bzl.tmpl.workspace
  52. requirements.txt
  53. requirements_files_by_platform.bzl
  54. select_whl.bzl
  55. simpleapi_download.bzl
  56. unified_hub_repo.bzl
  57. unified_hub_setup.bzl
  58. urllib.bzl
  59. venv_entry_point.bzl
  60. venv_entry_point_template.bat
  61. venv_entry_point_template.sh
  62. venv_rewrite_shebang.bzl
  63. venv_shebang_rewriter.ps1
  64. venv_shebang_rewriter.sh
  65. version_from_filename.bzl
  66. whl_archive.bzl
  67. whl_config_repo.bzl
  68. whl_config_setting.bzl
  69. whl_deps_repo.bzl
  70. whl_extract.bzl
  71. whl_library.bzl
  72. whl_library_alias.bzl
  73. whl_library_targets.bzl
  74. whl_metadata.bzl
  75. whl_repo_name.bzl
  76. 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.