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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file http_import-0.1.1.tar.gz.
File metadata
- Download URL: http_import-0.1.1.tar.gz
- Upload date:
- Size: 5.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 |
0244fdc454da8f199a7da4da5df9a268ba8866b36e04d7c4b767b56debd0d1b8
|
|
| MD5 |
234c540f8af03d7878f5deae6d095b02
|
|
| BLAKE2b-256 |
1913400d49134a3c9494a29860c2e5cac399b0224bf8ed3ac064bf0fdc6dfd7e
|
File details
Details for the file http_import-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: http_import-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.3 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 |
0d56d197a30b6f3d76af00b6f273c4926308a31a7772c24bc49e4b738bcffec7
|
|
| MD5 |
68df993c30b010b36c1fabcec1db2c7e
|
|
| BLAKE2b-256 |
1f984e059b198c72a1b91d2593cd74bac787e4f3ec85c57c488a810b8ec37766
|