Skip to main content

Official Elarian Python SDK

Project description

Elarian Python SDK

The wrapper provides convenient access to the Elarian APIs.

Project Status: Still under ACTIVE DEVELOPMENT, APIs are unstable and may change at any time until release of v1.0.0.

PyPi version

Documentation

Take a look at the API docs here.

Install

You can install the package from pypi by running:

$ pip install elarian

Usage

from elarian import Elarian, Customer

elarian = Elarian(api_key="test_api_key", org_id="test_org", app_id="test_app_id")
customer = Customer(client=elarian, number="+254709759881")

await elarian.connect()

# get customer state
resp = await customer.get_state()

print(resp)

Development

$ git clone https://github.com/ElarianLtd/python-sdk.git
$ cd python-sdk
$ python setup.py

Run all tests:

Update the values in your tests/.env

$ cd tests
$ pytest

Issues

If you find a bug, please file an issue on our issue tracker on GitHub.

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

elarian-0.0.8.tar.gz (68.4 kB view details)

Uploaded Source

Built Distributions

elarian-0.0.8-py3.9.egg (79.7 kB view details)

Uploaded Source

elarian-0.0.8-py3-none-any.whl (81.9 kB view details)

Uploaded Python 3

File details

Details for the file elarian-0.0.8.tar.gz.

File metadata

  • Download URL: elarian-0.0.8.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7

File hashes

Hashes for elarian-0.0.8.tar.gz
Algorithm Hash digest
SHA256 ca26dea0dbf1fb8c23743a3fe169fe128ba6810edc1e7d3786f380da549ca0e8
MD5 7e0f97528eacc56d0cdbb87d7c83539c
BLAKE2b-256 b948dbd1341ae65b0040c032d76518308a9b25842e6d75bb5490e4e94f086d43

See more details on using hashes here.

File details

Details for the file elarian-0.0.8-py3.9.egg.

File metadata

  • Download URL: elarian-0.0.8-py3.9.egg
  • Upload date:
  • Size: 79.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7

File hashes

Hashes for elarian-0.0.8-py3.9.egg
Algorithm Hash digest
SHA256 1861604ec386c84d012e63eeb5bc2590f37e90e02ac7d8d7f5c7225719d52a1d
MD5 1a047ed2f2aa6fa93f6fd87f4c593fe4
BLAKE2b-256 d7ee73c316a54f259ffbeba5ecdf4485b257d4337549f4be8d4d701b016b87e6

See more details on using hashes here.

File details

Details for the file elarian-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: elarian-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 81.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7

File hashes

Hashes for elarian-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4456e5f80146e60d68be569164b821f17001ae0469e5e49c37c496d1889410a4
MD5 799c402a26e72d49a73ae835ea5675c9
BLAKE2b-256 089e22ddfbb278d8c84b41bb37713ad97ad1ec005085e6b38e62e845da32ec7f

See more details on using hashes here.

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