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.1.tar.gz (2.6 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.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kk0-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 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.1.tar.gz
Algorithm Hash digest
SHA256 650ebb3f27930ade42d70e16fe4d30809872132ac2cda2cb79ded64b43c625af
MD5 b156422da5e39611f0d7a0ded0b30150
BLAKE2b-256 d470de2ad94e135b59189f3bfb8c9598fcad64960b7f4e9b9db3082f01be04db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kk0-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19da814b303b2685838c9a48b4aa610634852f6e2f2912410c5f6a3a29ba67e5
MD5 3ad5ccaa65958cfe1bbb6edbb0b34164
BLAKE2b-256 a8c381cb1c1cca1b0b32f91fafb046ddb3ca91c691873e51682fdf7dd19c6ccd

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