ecmind-blue-client-manage


Nameecmind-blue-client-manage JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://gitlab.ecmind.ch/open/ecmind_blue_client_manage
SummaryHelper modules for the `ecmind_blue_client` to ease the work with management APIs.
upload_time2025-07-21 08:31:43
maintainerNone
docs_urlNone
authorRoland Koller, Ulrich Wohlfeil & other contributers
requires_python>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ECMind blue client: Manage

Helper modules for the ecmind_blue_client to ease the work with management APIs. See discussion here: https://hub.ecmind.ch/t/119

## Installation

`pip install ecmind_blue_client_manage`


## Usage

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_manage import manage

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')
print(manage.get_users(client))
```

### `Sessions

Small example to get all sessions of a enaio server. For example useful for monitoring proposes. 

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_manage import manage

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')
sessions = manage.get_sessions(client)
ax_sessions = list(filter(lambda s: s['instname'] == 'ax', sessions))

print(f"Number of sessions: {len(sessions)}")
print(f"Number of windows client sessions: {len(ax_sessions)}")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.ecmind.ch/open/ecmind_blue_client_manage",
    "name": "ecmind-blue-client-manage",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Roland Koller, Ulrich Wohlfeil & other contributers",
    "author_email": "info@ecmind.ch",
    "download_url": "https://files.pythonhosted.org/packages/06/69/6d412e4a755b6b6c88bcc3c30860f5bc9a5e49cb9ebe88e679503a8f2959/ecmind_blue_client_manage-0.2.2.tar.gz",
    "platform": null,
    "description": "# ECMind blue client: Manage\n\nHelper modules for the ecmind_blue_client to ease the work with management APIs. See discussion here: https://hub.ecmind.ch/t/119\n\n## Installation\n\n`pip install ecmind_blue_client_manage`\n\n\n## Usage\n\n```python\nfrom ecmind_blue_client.tcp_client import TcpClient as Client\nfrom ecmind_blue_client_manage import manage\n\nclient = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')\nprint(manage.get_users(client))\n```\n\n### `Sessions\n\nSmall example to get all sessions of a enaio server. For example useful for monitoring proposes. \n\n```python\nfrom ecmind_blue_client.tcp_client import TcpClient as Client\nfrom ecmind_blue_client_manage import manage\n\nclient = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')\nsessions = manage.get_sessions(client)\nax_sessions = list(filter(lambda s: s['instname'] == 'ax', sessions))\n\nprint(f\"Number of sessions: {len(sessions)}\")\nprint(f\"Number of windows client sessions: {len(ax_sessions)}\")\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Helper modules for the `ecmind_blue_client` to ease the work with management APIs.",
    "version": "0.2.2",
    "project_urls": {
        "Homepage": "https://gitlab.ecmind.ch/open/ecmind_blue_client_manage"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "eead92cf89bb7f43245561e080c60f1820ab87146964b2ee5763065301ddb1af",
                "md5": "de9957999fff57345b5de3926151ba48",
                "sha256": "179c61adac909f5a277e7bc4d3fec6f6bc9b002956ba561c1a6663072550bd24"
            },
            "downloads": -1,
            "filename": "ecmind_blue_client_manage-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "de9957999fff57345b5de3926151ba48",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 7869,
            "upload_time": "2025-07-21T08:31:42",
            "upload_time_iso_8601": "2025-07-21T08:31:42.624614Z",
            "url": "https://files.pythonhosted.org/packages/ee/ad/92cf89bb7f43245561e080c60f1820ab87146964b2ee5763065301ddb1af/ecmind_blue_client_manage-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "06696d412e4a755b6b6c88bcc3c30860f5bc9a5e49cb9ebe88e679503a8f2959",
                "md5": "168feb98288f186a2ff97b58c1e2d951",
                "sha256": "35a0ad2ee7efc63dd3b5fae486de302f9d5cd3301e4ce8537f4f02833a90fea9"
            },
            "downloads": -1,
            "filename": "ecmind_blue_client_manage-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "168feb98288f186a2ff97b58c1e2d951",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6974,
            "upload_time": "2025-07-21T08:31:43",
            "upload_time_iso_8601": "2025-07-21T08:31:43.781142Z",
            "url": "https://files.pythonhosted.org/packages/06/69/6d412e4a755b6b6c88bcc3c30860f5bc9a5e49cb9ebe88e679503a8f2959/ecmind_blue_client_manage-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-21 08:31:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ecmind-blue-client-manage"
}
        
Elapsed time: 4.32170s