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.28.tar.gz
(10.6 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.28.tar.gz.
File metadata
- Download URL: mglairflowutilslib-1.0.28.tar.gz
- Upload date:
- Size: 10.6 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 |
60dca52c17b2c650a495735b3d294bc683fd57f01e1fa5a73b7376805bcac7e2
|
|
| MD5 |
e15b0b954e89741a03aae187a83a4eae
|
|
| BLAKE2b-256 |
bf78f2a7e48da0be48ab0d76244aa0a63624712c1c63eaf58600d56febcb4f5c
|
File details
Details for the file mglairflowutilslib-1.0.28-py3-none-any.whl.
File metadata
- Download URL: mglairflowutilslib-1.0.28-py3-none-any.whl
- Upload date:
- Size: 10.8 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 |
ea4cf8ce428e18f3667bd452f95cc61db70d5ac718f5613117d08b94b2401d44
|
|
| MD5 |
3d4d6154c65a2ccd192d9423a1e56341
|
|
| BLAKE2b-256 |
6810affd87b28a4b429e35dd8fb455d7fb3d8271325c44fd711656e32b1a66c8
|