One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
laragon
/
bin
/
python
/
python-3.10
/
Tools
/
scripts
/
View File Name :
checkpip.py
#!/usr/bin/env python3 """ Checks that the version of the projects bundled in ensurepip are the latest versions available. """ import ensurepip import json import urllib.request import sys def main(): outofdate = False for project, version in ensurepip._PROJECTS: data = json.loads(urllib.request.urlopen( "https://pypi.org/pypi/{}/json".format(project), cadefault=True, ).read().decode("utf8")) upstream_version = data["info"]["version"] if version != upstream_version: outofdate = True print("The latest version of {} on PyPI is {}, but ensurepip " "has {}".format(project, upstream_version, version)) if outofdate: sys.exit(1) if __name__ == "__main__": main()