Library for simplify third party request
Project description
Make sure you have upgraded version of pip
Windows
py -m pip install --upgrade pip
Linux/MAC OS
python3 -m pip install --upgrade pip
Import package
from mglairflowutilslib import invoke_http_request
Usage
url = 'http://example.com'
request_type = 'POST'
headers = {"Content-Type": "application/json"}
payload = {"foo": "bar"}
response, status = invoke_http_request(url, request_type, headers, payload)
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
mglairflowutilslib-1.0.22.tar.gz
(10.5 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 mglairflowutilslib-1.0.22.tar.gz.
File metadata
- Download URL: mglairflowutilslib-1.0.22.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c04228f10c2d7a53c7939239aaff76499c1f93962617eeaeb72ece0e606d92dc
|
|
| MD5 |
7003f73bf925a876f0688a5a2ea5a13c
|
|
| BLAKE2b-256 |
529332508dfaddb93556d1b0d8aa2540079e3aa5ab3bab1d2d6c8da1a0a641d6
|
File details
Details for the file mglairflowutilslib-1.0.22-py3-none-any.whl.
File metadata
- Download URL: mglairflowutilslib-1.0.22-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d4d438a6cbd770b15c1cf47c423584429d869387fdeda95c91478a159ecc52
|
|
| MD5 |
8bc6157186c345574d5b4fd98097841e
|
|
| BLAKE2b-256 |
7bdb2894da20c874fa0684f7097c55f913512634fd7be36a651d685c8daf0b64
|