OXIESEC PANEL
- Current Dir:
/
/
lib
/
python2.7
/
site-packages
/
pip
/
models
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:45:09 PM
rwxr-xr-x
📄
__init__.py
71 bytes
04/21/2022 06:08:21 PM
rw-r--r--
📄
__init__.pyc
260 bytes
04/21/2022 06:08:35 PM
rw-r--r--
📄
__init__.pyo
260 bytes
04/21/2022 06:08:35 PM
rw-r--r--
📄
index.py
487 bytes
04/21/2022 06:08:21 PM
rw-r--r--
📄
index.pyc
1.04 KB
04/21/2022 06:08:35 PM
rw-r--r--
📄
index.pyo
1.04 KB
04/21/2022 06:08:35 PM
rw-r--r--
Editing: index.py
Close
from pip._vendor.six.moves.urllib import parse as urllib_parse class Index(object): def __init__(self, url): self.url = url self.netloc = urllib_parse.urlsplit(url).netloc self.simple_url = self.url_to_path('simple') self.pypi_url = self.url_to_path('pypi') self.pip_json_url = self.url_to_path('pypi/pip/json') def url_to_path(self, path): return urllib_parse.urljoin(self.url, path) PyPI = Index('https://pypi.python.org/')