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.1.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for http_import-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d56d197a30b6f3d76af00b6f273c4926308a31a7772c24bc49e4b738bcffec7 |
|
MD5 | 68df993c30b010b36c1fabcec1db2c7e |
|
BLAKE2b-256 | 1f984e059b198c72a1b91d2593cd74bac787e4f3ec85c57c488a810b8ec37766 |