Python implementation of a client for LPaaS
Project description
LPaaS-Python-client
LPaaS-Python-client is a client to enable comunication with LPaaS-ws.
How to install
pip install lpaas-client
How to use
You have just to create a LPClient and use it.
# you can use `lpaas_client.asyn` for the async version
# or `from lpaas_client import AsyncLPClient`
from lpaas_client import LPClient
from lpaas_client import AuthData
url = 'url to LPaaS'
client = LPClient(url)
with client:
client.authenticate(AuthData('user', 'passw0rd'))
theories = client.get_theories()
...
| Remember to call client.authenticate
to authenticate yourself to the server.
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
lpaas-client-0.5.3.tar.gz
(38.8 kB
view hashes)
Built Distribution
Close
Hashes for lpaas_client-0.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc0cf2fd897d9d3a1f0690250418685ed38d12736ece627ca8ee6d0897c3ade7 |
|
MD5 | 8598b3c901f482afd41017ce5938dfc2 |
|
BLAKE2b-256 | 8df36a71c3114376f2788e0cd165cf6b91eceb38d78714492034cbc8d519e009 |