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 hashes)
Built Distribution
Close
Hashes for http_import-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bc5a8d37df1179df8aa71b1df9b253489af8130077b14f2281d1604bebe80f1 |
|
MD5 | ea2c827b21264b682ff89272d28082e3 |
|
BLAKE2b-256 | 9e33d111bd4a3ac72e6d245c99cac15c382b958938fbd3a38d10666414f4ffb7 |