Skip to main content

twin client sdk

Project description

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)

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

TwinClient-0.1.0.tar.gz (16.0 kB view details)

Uploaded Source

File details

Details for the file TwinClient-0.1.0.tar.gz.

File metadata

  • Download URL: TwinClient-0.1.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for TwinClient-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba783dca856fc81ded58873e2b9d1bc36afa7e56207a7458e98e2a2210687155
MD5 8ab0b69b63d454dd42a6a208d2cf039f
BLAKE2b-256 ef6009d104e39d1f0845e787fbad5486f17f22471c1214f388cd01f34d9e9f7d

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