Metadata-Version: 2.4
Name: ccxt-flux-sidecar
Version: 0.1.0a2
Summary: Thin Python client for the ccxt-flux sidecar.
Author: PrismWorks AI Inc.
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/prismworks-ai/ccxt-flux-rs/tree/main/clients/python
Project-URL: Repository, https://github.com/prismworks-ai/ccxt-flux-rs
Project-URL: Issues, https://github.com/prismworks-ai/ccxt-flux-rs/issues
Project-URL: Documentation, https://github.com/prismworks-ai/ccxt-flux-rs/blob/main/docs/exchanges/BYBIT.md
Keywords: ccxt,bybit,sidecar,market-data,orderbook,websocket
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Office/Business :: Financial
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.10
Dynamic: license-file

# Python Client

Thin Python client for the versioned `ccxt-flux-sidecar` HTTP/SSE surface.

For the full Bybit integration flow, see [docs/exchanges/BYBIT.md](/Users/rishirandhawa/projects/ccxt-flux-rs/docs/exchanges/BYBIT.md).

This package metadata is prepared for future PyPI publication, but it is not published yet.

Current assumptions:

- sidecar schema version: `v1alpha1`
- local sidecar base URL: `http://127.0.0.1:9001`
- stream ids come from `GET /v1alpha1/streams`

Example:

```python
import asyncio
from ccxt_flux_sidecar import SidecarClient

async def main():
    client = SidecarClient("http://127.0.0.1:9001")
    streams = await client.list_streams()
    stream_id = streams.streams[0].id
    health = await client.stream_health(stream_id)
    print(health)

    async for event in client.stream_orderbooks(stream_id):
        print(event.book.symbol, event.book.sequence)

asyncio.run(main())
```
