A client to connect to a Dmart isntance
Project description
Pydmart
This is a Python Dmart client used to interact with a Dmart instance
Installation
Pydmart is distributed via PyPI:
pip install pydmart
Example
Just simple steps and you will be ready to interact with your Dmart instance
- import the class
from pydmart.dmart_service import DmartService - instantiate an object
d_client = DmartService({dmart_instance_url}, {username}, {password}) - Create / delete connection pool : Preferably in global fastapi lifespan (async)
- connect the client to the Dmart instance and authenticate your user
await d_client.connect()
You will be able to retrieve your profile as simple as
await d_client.get_profile()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydmart-0.0.3.tar.gz
(6.2 kB
view details)
File details
Details for the file pydmart-0.0.3.tar.gz.
File metadata
- Download URL: pydmart-0.0.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dcfae789f7e0569f7463e8566fae3067f8eb92362c1e12ebb3b0950bfe5f2c5
|
|
| MD5 |
e5866447c6093be731715112726171f4
|
|
| BLAKE2b-256 |
5daab7a78d06d00a6d31ef679ee53f3ad9413d1199ca098da386b79f3e89f2b5
|