Skip to main content

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)

Uploaded Source

Built Distribution

lpaas_client-0.5.3-py3-none-any.whl (48.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page