Skip to main content

Citeck Community Edition client for python

Project description

Python-клиент для Citeck Community Edition

Клиент находится в разработке!

Особенности

Клиент полностью асинхронный. Требуется Python 3.14 или выше. Основан на httpx.

Установка

$ pip install pyciteck

Использование

from pprint import pprint

from PyCiteck.citeck_client import CiteckClient


async def main():
    print("Hello from pyciteck!")
    # Client init
    ecm_client = CiteckClient(
        keycloak_client_id=settings.ECM_CLIENT_ID,
        keycloak_secret=settings.ECM_CLIENT_SECRET,
        citeck_base_url=settings.ECM_BASE_URL,
    )
    # Quety example
    record = await ecm_client.query(
        query={
            "records": ["emodel/person@1234"],
            "attributes": ["?json"],
            "version": 1,
        }
    )
    pprint(record)


if __name__ == "__main__":
    from asyncio import run
    run(main())

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

pyciteck-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyciteck-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyciteck-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyciteck-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe97f4729bd5c013e0ee902289c5c12f1b9e348cbe2f29dcb741939fba999c38
MD5 4994c824ee3f83ceac6d2e9877b06662
BLAKE2b-256 24aaab07ce5c5ace751b09d86cb6fae6285000eb3150178d25a897fd8a6704f8

See more details on using hashes here.

File details

Details for the file pyciteck-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyciteck-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyciteck-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd8821babed848a20cbd8904bd005760eaffb87e4f4ab91e7bd690c1068dd9bd
MD5 ff823117117ea53e693883a182214eae
BLAKE2b-256 d770826af24674c03c715ad2094decdc98aa627d39bec00e48a628baa1bec356

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