semvec/pypi-packages huggingface dataset:
cristalix 1.0.0
Unofficial Python client for Cristalix OpenAPI
License: MIT
Requires Python: >=3.8

Cristalix Python Client
=======================

Неофициальная python-библиотека для работы с Cristalix OpenAPI.

> ВНИМАНИЕ: библиотека не является официальным продуктом Cristalix.

## Быстрый пример

```python
from cristalix import CristalixClient

client = CristalixClient(
    project_key="YOUR_PROJECT_KEY",
    token="YOUR_TOKEN",
)

profile = client.get_profile_by_name("kkp_")
print(profile.username, profile.group.key)
```

## Async-пример

```python
import asyncio
from cristalix import AsyncCristalixClient


async def main():
    client = AsyncCristalixClient(
        project_key="YOUR_PROJECT_KEY",
        token="YOUR_TOKEN",
    )
    profile = await client.get_profile_by_name("kkp_")
    print(profile.username, profile.group.key)


asyncio.run(main())
```