Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for nirum-http, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size nirum_http-0.1.1-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size nirum-http-0.1.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page