elarian-0.0.8
توضیحات
Official Elarian Python SDK
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | elarian-0.0.8 |
| نام | elarian |
| نسخه کتابخانه | 0.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Elarian |
| ایمیل نویسنده | sbalekage@elarian.com |
| آدرس صفحه اصلی | https://github.com/ElarianLtd/python-sdk |
| آدرس اینترنتی | https://pypi.org/project/elarian/ |
| مجوز | MIT |
# 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.**
[](https://pypi.org/project/elarian/)
## Documentation
Take a look at the [API docs here](http://developers.elarian.com).
## Install
You can install the package from [pypi](https://pypi.org/project/elarian) by running:
```bash
$ pip install elarian
```
## Usage
```python
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
```bash
$ 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`
```bash
$ cd tests
$ pytest
```
## Issues
If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/ElarianLtd/javascript-sdk/issues).
نیازمندی
| مقدار | نام |
|---|---|
| ==3.15.6 | protobuf |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl elarian-0.0.8:
pip install elarian-0.0.8.whl
نصب پکیج tar.gz elarian-0.0.8:
pip install elarian-0.0.8.tar.gz