A ready-to-use SSE messaging microservice implementation.
Intended for internal use only (all is public here by the moment).
Backend documentation https://laxertu.github.io/eric/docs.html
REST services rely on FastApi + Uvicorn
Features:
* channel subscription
* broadcasting
* message deliver to one client
* SSE compliant streaming
**Installation:**
pip install eric-api
**Start webserver**
uvicorn eric_api:app
**Redis persistence support**
Activate it by creating a .eric-api.env with the following:
QUEUES_FACTORY=redis
Redis host is configured by
REDIS_HOST=[host to use]
API documentation is available at http://127.0.0.1:8000/docs by default
See correspondant uvicorn configuration https://www.uvicorn.org/deployment/#running-from-the-command-line
Bug Tracker: https://github.com/laxertu/eric-api/issues
Raw data
{
"_id": null,
"home_page": "https://github.com/laxertu/eric-api",
"name": "eric-api",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.10",
"maintainer_email": null,
"keywords": "sse, api, rest, Server side events, microservice, messaging",
"author": "Luca Stretti",
"author_email": "laxertu@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/b4/44/ede69586dcd1dca537a931c95ff2cce89baecdd7b2e4f9fe75b1d15e739d/eric_api-1.4.2.tar.gz",
"platform": null,
"description": "A ready-to-use SSE messaging microservice implementation. \nIntended for internal use only (all is public here by the moment).\n\nBackend documentation https://laxertu.github.io/eric/docs.html \nREST services rely on FastApi + Uvicorn\n\nFeatures:\n* channel subscription\n* broadcasting\n* message deliver to one client\n* SSE compliant streaming\n\n**Installation:**\n\n pip install eric-api\n\n**Start webserver**\n\n uvicorn eric_api:app\n\n**Redis persistence support** \n\nActivate it by creating a .eric-api.env with the following:\n\n QUEUES_FACTORY=redis\n\nRedis host is configured by \n\n REDIS_HOST=[host to use]\n\nAPI documentation is available at http://127.0.0.1:8000/docs by default\n\nSee correspondant uvicorn configuration https://www.uvicorn.org/deployment/#running-from-the-command-line \n\nBug Tracker: https://github.com/laxertu/eric-api/issues\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Server side events based messaging microservice implementation",
"version": "1.4.2",
"project_urls": {
"Homepage": "https://github.com/laxertu/eric-api",
"Issues": "https://github.com/laxertu/eric-api/issues",
"Repository": "https://github.com/laxertu/eric-api"
},
"split_keywords": [
"sse",
" api",
" rest",
" server side events",
" microservice",
" messaging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c95f5e6c105b456b32476f0e0b3617b41417a69009657c52e22e9a4dee87fbff",
"md5": "535369b53570873601a76725bae82ef3",
"sha256": "0160d22f40061d4b78743e6f4a2f2c64944e576eea63d1dabeec81c59cff24f9"
},
"downloads": -1,
"filename": "eric_api-1.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "535369b53570873601a76725bae82ef3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.10",
"size": 3862,
"upload_time": "2025-07-31T20:01:54",
"upload_time_iso_8601": "2025-07-31T20:01:54.800372Z",
"url": "https://files.pythonhosted.org/packages/c9/5f/5e6c105b456b32476f0e0b3617b41417a69009657c52e22e9a4dee87fbff/eric_api-1.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b444ede69586dcd1dca537a931c95ff2cce89baecdd7b2e4f9fe75b1d15e739d",
"md5": "1a7d6545d85d210f85b5d328e106d1fe",
"sha256": "17d2da3d85a1391b0f4833198ab31bc50a5cb473b129c076ecb78e14caadaf00"
},
"downloads": -1,
"filename": "eric_api-1.4.2.tar.gz",
"has_sig": false,
"md5_digest": "1a7d6545d85d210f85b5d328e106d1fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.10",
"size": 3303,
"upload_time": "2025-07-31T20:01:55",
"upload_time_iso_8601": "2025-07-31T20:01:55.946323Z",
"url": "https://files.pythonhosted.org/packages/b4/44/ede69586dcd1dca537a931c95ff2cce89baecdd7b2e4f9fe75b1d15e739d/eric_api-1.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-31 20:01:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "laxertu",
"github_project": "eric-api",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "eric-api"
}