ecmind-blue-client
ecmind-blue-client is a Python library (Python >= 3.12) that wraps access to an ECMind Blue server using the proprietary TCP/RPC protocol.
The library provides three layers of abstraction:
| RPC layer |
Direct TCP socket access to the server. Serialises job parameters into the proprietary binary protocol. |
| Pool client |
Recommended connection pools ( |
| ECM API |
High-level object-oriented API for folders, registers, documents, and direct database access. |
1. Available namespaces
After initialisation via the ECM() factory, the following namespaces are available:
| Namespace | Description |
|---|---|
|
Object operations: folders, registers, documents — query, insert, update, delete |
|
User and group management |
|
Server metadata and object definitions |
|
Direct SQL access via ADO ( |
2. Sync and async
All namespaces are available in both synchronous and asynchronous variants.
Passing a SyncPoolClient to ECM() returns a synchronous instance;
passing an AsyncPoolClient returns the asyncio-based variant.
-
Sync
-
Async
from ecmind_blue_client.ecm import ECM
from ecmind_blue_client.pool import SyncPoolClient
client = SyncPoolClient(servers="<host>:4000:1", username="<username>", password="<password>")
ecm = ECM(client)
from ecmind_blue_client.ecm import ECM
from ecmind_blue_client.pool import AsyncPoolClient
client = AsyncPoolClient(servers="<host>:4000:1", username="<username>", password="<password>")
ecm = ECM(client)