twin client python-sdk
install
pip3 install TwinClient
demo
config = TwinClientConfig( owner = "dtos", tenantId=tenantId, dtmsregistry=dtmsregistry, dtmstwindef=dtmstwindef, dtmstwin=dtmstwin )
twin_client = TwinClient(config)
- 查询 subtype query = { "subType.type": "people_drug" }
- "-created" 按created降序
- "created" 按created升序 res = twin_client.twin.where(**query).offset(0).limit(10).sort("-created").select() print(res)
Release files for twin-client-sdk 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twin-client-sdk-0.1.2.tar.gz | 16.0 kB | Details |
Release files / twin-client-sdk-0.1.2.tar.gz
| Download URL | twin-client-sdk-0.1.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7655af90bc3aef3f0795740fdd7b4bf10e4a70173df6d7c7f8b18eec3f90229e
|
|
BLAKE2b-256 checksum How to use checksums |
47f7eccb8d2ecf24f68eb57de57335b51e9bf848dff0a17951a09e951e054e5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|