Skip to main content

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


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.15.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mglairflowutilslib-1.0.15-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file mglairflowutilslib-1.0.15.tar.gz.

File metadata

  • Download URL: mglairflowutilslib-1.0.15.tar.gz
  • Upload date:
  • Size: 8.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

Hashes for mglairflowutilslib-1.0.15.tar.gz
Algorithm Hash digest
SHA256 07afeeee2e8f63d53ae842d2c596d6cb4ceb05b69e6d48206d630821d85f26ff
MD5 32aa5a6c0a11e942200eff1dce1571c6
BLAKE2b-256 adfde680055157181074eeae2209ffe92c778e3f3db5876ddf23e0e14b6a9836

See more details on using hashes here.

File details

Details for the file mglairflowutilslib-1.0.15-py3-none-any.whl.

File metadata

  • Download URL: mglairflowutilslib-1.0.15-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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

Hashes for mglairflowutilslib-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a81f6fc8d455b73b318676534b062d431e226e4761f1fcbbf403f74c2458fa7c
MD5 2820009c07ad68465c4b27a753c0ac28
BLAKE2b-256 2baf21fa14ff1768fd1e925b4b9793e24f04d8dfb148021746cc9d34556926ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page