Nirum HTTP transport for Python
Project description
Nirum HTTP transport for Python
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.0
Released on July 10, 2017.
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
nirum-http-0.1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for nirum_http-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0bb8d04075e91fee816bd6c5eebe438fb4dcbb60e37e65b0a8ace1d4238d90a |
|
MD5 | c8dceb4f3d715fc722170d8bc2bd378e |
|
BLAKE2b-256 | 694398ac472fcfb216345454b09e0f6f648760a226bc714300206ea501d05ba3 |