Skip to main content

Python SDK for the 3kk0 unified streaming API

Project description

kk0 SDK

A minimal Python client for the 3kk0 unified WebSocket stream.

Quickstart

from kk0 import Stream
import asyncio

async def main():
    async with Stream("wss://api.3kk0.com/stream") as s:
        await s.subscribe(
            channels=["trades"],
            symbols=["SOL/USDT"],
            exchanges=["binance"],
        )
        async for event in s:
            print(event)

asyncio.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

kk0-0.1.0.tar.gz (1.3 kB view details)

Uploaded Source

Built Distribution

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

kk0-0.1.0-py3-none-any.whl (1.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kk0-0.1.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for kk0-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7dae440ed7a504ec38a69d9437b7250980695eb113a6e183e6ba511c7a97e4e8
MD5 6ca699528656792d30e22dcafe47d88d
BLAKE2b-256 e9bf20a33b1df8b7747b28052b50b0b499e6b7764418c71ac9f79d1ff05ed694

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kk0-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for kk0-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 136a3d3cf8fb09b23f156c35782151fbb40590528b895751dc3e76ddc19de256
MD5 3eedc203c105370d207fd54987df4b60
BLAKE2b-256 9d712027b6b90365ebb867e9dd3889653f84ec718ddb560c73828d9b044fb5d7

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