Skip to main content

Nirum HTTP transport for Python

Project description

Nirum HTTP transport for Python

Build status Latest PyPI version

This package provides an HTTP transport for nirum-python.

from youtservice import YourService_Client
from nirum_http import HttpTransport

transport = HttpTransport('https://service-host/')
client = YourService_Client(transport)

Since HttpTransport utilizes requests library under the hood, it can take a session object as well:

from requests import Session

session = Session()
session.auth = ('user', 'password')
transport = HttpTransport('https://service-host/', session=session)

Changelog

Version 0.1.1

Released on August 3, 2017.

  • Fixed a bug that message of UnexpectedNirumResponseError was not a str but unicode in Python 2.

Version 0.1.0

Released on July 10, 2017.

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

nirum-http-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

nirum_http-0.1.1-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nirum-http-0.1.1.tar.gz.

File metadata

  • Download URL: nirum-http-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nirum-http-0.1.1.tar.gz
Algorithm Hash digest
SHA256 706c6f1333c100be98fcae100c7a73aab2082bec1adc6f3a1eaed767e9667771
MD5 9cd2f0e141a60c7eaf3d5968f76a213c
BLAKE2b-256 e29f610f6c4300619152886a15ceaedebb2accb7972717b36aac009222ad3128

See more details on using hashes here.

File details

Details for the file nirum_http-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nirum_http-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5dade2bac34c24ad9bfaa85ab4f74373460bdb4d037b99f0bd838c41c45daf0e
MD5 58c5d94c144105ecfa08f83cfe99c942
BLAKE2b-256 6672288f734372b5f52dcb102089b9de2d724d713b34c5428e15d7b34bf97d53

See more details on using hashes here.

Supported by

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