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.34.tar.gz
(10.9 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.34.tar.gz.
File metadata
- Download URL: mglairflowutilslib-1.0.34.tar.gz
- Upload date:
- Size: 10.9 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 |
63ae40c077a2bf6a98c1d930d092e250bdbf29aaddd0a4b7a5faa59cef5f5f24
|
|
| MD5 |
9156d9053d9db91d872b226e6e73dc32
|
|
| BLAKE2b-256 |
e9c7376265011e394a2d374fa9ff06a4e11a98daae9ba5ff5a6cff393f78e184
|
File details
Details for the file mglairflowutilslib-1.0.34-py3-none-any.whl.
File metadata
- Download URL: mglairflowutilslib-1.0.34-py3-none-any.whl
- Upload date:
- Size: 11.0 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 |
f0cd0009fc429cd4f2b5dd169ed3de4e5459ed9986327753c378444949d6c6c6
|
|
| MD5 |
0e11c6d9b82113c5e8abe495bde3d0de
|
|
| BLAKE2b-256 |
95f2b3d41da58a25939e4b9c751df8728e1ea630378b00e2306ef6ddc33a09d0
|