Import files via HTTP.
Project description
HTTP Import
HTTPIm is a basic library to import files via HTTP.
Is not a good idea to use in real projects where you need fast script.
Installation
pip install httpIm
Use
After installing, here's a brief tutorial.
import http_import
arguing = http_import.import_library('https://github.com/ZSendokame/arguing/blob/main/arguing/argument.py')
# Will import argument.py, now you can use it as arguing.
# example: arguing.get() (a real function in argument.py).
# Also, there's a pseudo-cache.
arguing = http_import.import_library('https://github.com/ZSendokame/arguing/blob/main/arguing/argument.py', cache=bool)
# Cache by default is True.
# If cache is true, if the file is already installed it will directly import it, no requests.
# If cache is false, it will do the request even if the file is already installed.
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
httpIm-1.0.1.tar.gz
(1.7 kB
view details)
File details
Details for the file httpIm-1.0.1.tar.gz.
File metadata
- Download URL: httpIm-1.0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
917c56df5cebbafae46b809cde6b2ed45b1b147de2443339e4a94944127ad6a1
|
|
| MD5 |
e882b46d3ed6ace0d06170c421ebe579
|
|
| BLAKE2b-256 |
1070f56aa514b4ca1c7c645eebfc1f4807f7c652d5c18775512b604c070d9569
|