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 details)
Built Distribution
File details
Details for the file nirum-http-0.1.0.tar.gz
.
File metadata
- Download URL: nirum-http-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6733c1a714e3bd5c948d25423e574c3d7249831ebf74b679d278ed383909fdba |
|
MD5 | 4180a091a3bdaeb55028153f8c119262 |
|
BLAKE2b-256 | 1b9936262194fe7cf3c8f3ee22e4c2910bcc877bc541ab9442821f71f79db42c |
File details
Details for the file nirum_http-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: nirum_http-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0bb8d04075e91fee816bd6c5eebe438fb4dcbb60e37e65b0a8ace1d4238d90a |
|
MD5 | c8dceb4f3d715fc722170d8bc2bd378e |
|
BLAKE2b-256 | 694398ac472fcfb216345454b09e0f6f648760a226bc714300206ea501d05ba3 |