The import module uses HTTP from the Internet
Project description
http_import
pip install http_import
- 远程内存加载Python模块
import sys
import http_import
sys.path.append('http://localhost:8000')
http_import.install_path_hook()
import requests
print(dir(requests))
- 开启http服务,
python3 -m http.server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
http_import-0.1.2.tar.gz
(7.3 kB
view details)
Built Distribution
File details
Details for the file http_import-0.1.2.tar.gz
.
File metadata
- Download URL: http_import-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88af4ab1dcb5d716faad8110769ade700235aac6d39d5764cca380d46ff2471d |
|
MD5 | e2590fa661df3a3e119cf41f098e4d0b |
|
BLAKE2b-256 | dfec5450ce42eb35e320dc39c1fb80e80101deb04eb2c33e9e6fbcd3eec75b8f |
File details
Details for the file http_import-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: http_import-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bc5a8d37df1179df8aa71b1df9b253489af8130077b14f2281d1604bebe80f1 |
|
MD5 | ea2c827b21264b682ff89272d28082e3 |
|
BLAKE2b-256 | 9e33d111bd4a3ac72e6d245c99cac15c382b958938fbd3a38d10666414f4ffb7 |