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.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lpaas_client-0.5.0-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file lpaas-client-0.5.0.tar.gz.

File metadata

  • Download URL: lpaas-client-0.5.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for lpaas-client-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9fbd4c8697b29e18866f4b7f82a064b0afeb37fadfc65b6d70218cc9dd0caf57
MD5 4d596082047f465a62c4092033a08b5a
BLAKE2b-256 43fe830dc4b38ab288f4ecfecbb90ae5a7d58fcc586872bbc3ab40092c31d01e

See more details on using hashes here.

File details

Details for the file lpaas_client-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: lpaas_client-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 45.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for lpaas_client-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6422715c39e23aefca0fa3c3d2848dcd6aef3cfa427bd74861e0072fabb3d7a9
MD5 895a8c44913f189e3bc48476828c19b6
BLAKE2b-256 39be823064536a78b2af2303745d81cdfa93b53f4b045809594cc1a7944b8d99

See more details on using hashes here.

Supported by

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