Skip to main content

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.

Metadata

Release files for nirum-http 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nirum-http 0.1.1
File Size Uploaded
nirum-http-0.1.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nirum-http 0.1.1
File Interpreter ABI Platform
nirum_http-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 7.0 kB

Release files / nirum-http-0.1.1.tar.gz

Download URL nirum-http-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
706c6f1333c100be98fcae100c7a73aab2082bec1adc6f3a1eaed767e9667771
BLAKE2b-256 checksum
How to use checksums
e29f610f6c4300619152886a15ceaedebb2accb7972717b36aac009222ad3128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / nirum_http-0.1.1-py2.py3-none-any.whl

Download URL nirum_http-0.1.1-py2.py3-none-any.whl
Size 4.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5dade2bac34c24ad9bfaa85ab4f74373460bdb4d037b99f0bd838c41c45daf0e
BLAKE2b-256 checksum
How to use checksums
6672288f734372b5f52dcb102089b9de2d724d713b34c5428e15d7b34bf97d53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page