Registry / http-networking / flowclient

flowclient

JSON →
library1.34.0pypypi✓ verified 85d ago

A Python client library for interacting with the FlowMachine API, providing access to aggregated network data analysis queries. Current version 1.34.0, released on 2025-05-09. Requires Python >=3.6. Released approximately every 2-3 months.

pip install flowclient
INSTALL
IMPORT
SIG · FLOWCLIENT
F
flowclient
http-networkingpythonv1.34.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Connection
✓ from flowclient import Connection
✗ from flowclient.client import FlowClient
connect
✓ from flowclient import connect
✗ from flowclient.client import FlowClient
APIQuery
✓ from flowclient import APIQuery
✗ from flowclient.client import FlowClient

Connect to a FlowMachine API and retrieve available dates.

from flowclient.client import FlowClient import os client = FlowClient( url=os.environ.get("FLOWKIT_URL", "http://localhost:9090"), token=os.environ.get("FLOWKIT_TOKEN", "") ) try: print(client.get_available_dates()) except Exception as e: print(f"Error: {e}")
Debug
Known issues
gotchaToken authentication is required, but the token is not validated on client instantiation. Errors will only appear when making the first query.
fix
Always test connectivity with a simple query like get_available_dates() after creating the client.
affects: all
gotchaThe parameter 'url' in FlowClient must include the scheme (http:// or https://). Omitting it causes obscure connection errors.
fix
Always provide a full URL, e.g., 'http://localhost:9090'.
affects: all
gotchaSome query functions return an 'id' (a query ID) instead of results. You must use run_async() or similar to execute synchronous queries.
fix
For synchronous behaviour, use client.run_query(query_id) after constructing the query or use the function's sync variant if available.
affects: >=1.0
Upgrade
Version history
1.34.0latest on PyPI · released Oct 15, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
24
Amazon
1
Resources