{"id":13473952,"url":"https://github.com/RedisAI/redisai-py","last_synced_at":"2025-03-26T20:30:39.083Z","repository":{"id":34295207,"uuid":"166841255","full_name":"RedisAI/redisai-py","owner":"RedisAI","description":"Python client for RedisAI","archived":false,"fork":false,"pushed_at":"2023-07-13T03:52:50.000Z","size":96390,"stargazers_count":88,"open_issues_count":13,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-09-19T11:39:43.608Z","etag":null,"topics":["onnx","python-client","redisai","tensor","torch"],"latest_commit_sha":null,"homepage":"https://redisai.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedisAI.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-21T16:00:08.000Z","updated_at":"2024-08-23T11:08:40.000Z","dependencies_parsed_at":"2024-01-13T18:34:59.303Z","dependency_job_id":null,"html_url":"https://github.com/RedisAI/redisai-py","commit_stats":{"total_commits":167,"total_committers":17,"mean_commits":9.823529411764707,"dds":0.7005988023952097,"last_synced_commit":"c4b71db2c4c8bedba138e15394af57252e07c094"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisAI%2Fredisai-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisAI%2Fredisai-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisAI%2Fredisai-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisAI%2Fredisai-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedisAI","download_url":"https://codeload.github.com/RedisAI/redisai-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222162370,"owners_count":16941513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["onnx","python-client","redisai","tensor","torch"],"created_at":"2024-07-31T16:01:08.286Z","updated_at":"2025-03-26T20:30:39.068Z","avatar_url":"https://github.com/RedisAI.png","language":"Python","readme":"==========\nredisai-py\n==========\n\n.. image:: https://img.shields.io/github/license/RedisAI/redisai-py.svg\n        :target: https://github.com/RedisAI/redisai-py\n\n.. image:: https://badge.fury.io/py/redisai.svg\n        :target: https://badge.fury.io/py/redisai\n\n.. image:: https://github.com/RedisAI/redisai-py/actions/workflows/integration.yml/badge.svg\n        :target: https://github.com/RedisAI/redisai-py/actions/workflows/integration.yml\n\n.. image:: https://img.shields.io/github/release/RedisAI/redisai-py.svg\n        :target: https://github.com/RedisAI/redisai-py/releases/latest\n\n.. image:: https://codecov.io/gh/RedisAI/redisai-py/branch/master/graph/badge.svg\n        :target: https://codecov.io/gh/RedisAI/redisai-py\n\n.. image:: https://readthedocs.org/projects/redisai-py/badge/?version=latest\n        :target: https://redisai-py.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/Forum-RedisAI-blue\n        :target: https://forum.redis.com/c/modules/redisai\n\n.. image:: https://img.shields.io/discord/697882427875393627?style=flat-square\n        :target: https://discord.gg/rTQm7UZ\n\n.. image:: https://snyk.io/test/github/RedisAI/redisai-py/badge.svg?targetFile=pyproject.toml\n        :target: https://snyk.io/test/github/RedisAI/redisai-py?targetFile=pyproject.toml\n\nredisai-py is the Python client for RedisAI. Checkout the\n`documentation \u003chttps://redisai-py.readthedocs.io/en/latest/\u003e`_ for API details and examples\n\nInstallation\n------------\n\n1. Install Redis 5.0 or above\n2. Install `RedisAI \u003chttp://redisai.io\u003e`_\n3. Install the Python client\n\n.. code-block:: bash\n\n    $ pip install redisai\n\n\n4. Install serialization-deserialization utility (optional)\n\n.. code-block:: bash\n\n    $ pip install ml2rt\n\nDevelopment\n-----------\n\n1. Assuming you have virtualenv installed, create a virtualenv to manage your python dependencies, and activate it.\n   ```virtualenv -v venv; source venv/bin/activate```\n2. Install [pypoetry](https://python-poetry.org/) to manage your dependencies.\n   ```pip install poetry```\n3. Install dependencies.\n   ```poetry install --no-root```\n\n[tox](https://tox.readthedocs.io/en/latest/) runs all tests as its default target. Running *tox* by itself will run unit tests. Ensure you have a running redis, with the module loaded.\n\n**Contributing**\n\nPrior to submitting a pull request, please ensure you've built and installed poetry as above. Then:\n\n1. Run the linter.\n   ```tox -e linters.```\n2. Run the unit tests. This assumes you have a redis server running, with the [RedisAI module](https://redisai.io) already loaded.  If you don't, you may want to install a [docker build](https://hub.docker.com/r/redislabs/redisai/tags).\n   ```tox -e tests```\n\n`RedisAI example repo \u003chttps://github.com/RedisAI/redisai-examples\u003e`_ shows few examples\nmade using redisai-py under `python_client` folder. Also, checkout\n`ml2rt \u003chttps://github.com/hhsecond/ml2rt\u003e`_ for convenient functions those might help in\nconverting models (sparkml, sklearn, xgboost to ONNX), serializing models to disk, loading\nit back to redisai-py etc.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRedisAI%2Fredisai-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRedisAI%2Fredisai-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRedisAI%2Fredisai-py/lists"}