Download pproyect/test1/Lib/site-packages/pip/_internal/__init__.py from hacking-jack/Test: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/hacking-jack/Test/resolve/main/pproyect/test1/Lib/site-packages/pip/_internal/__init__.py
- Command line
-
hf download hf://hacking-jack/Test/pproyect/test1/Lib/site-packages/pip/_internal/__init__.py
-
curl -L -o __init__.py https://huggingface.co/hacking-jack/Test/resolve/main/pproyect/test1/Lib/site-packages/pip/_internal/__init__.py
515 Bytes
| from typing import List, Optional | |
| from pip._internal.utils import _log | |
| # init_logging() must be called before any call to logging.getLogger() | |
| # which happens at import of most modules. | |
| _log.init_logging() | |
| def main(args: (Optional[List[str]]) = None) -> int: | |
| """This is preserved for old console scripts that may still be referencing | |
| it. | |
| For additional details, see https://github.com/pypa/pip/issues/7498. | |
| """ | |
| from pip._internal.utils.entrypoints import _wrapper | |
| return _wrapper(args) | |