{"id":18850953,"url":"https://github.com/igitugraz/redis-installer","last_synced_at":"2026-05-09T10:17:26.780Z","repository":{"id":92055972,"uuid":"106419533","full_name":"IGITUGraz/redis-installer","owner":"IGITUGraz","description":"Install redis with pip","archived":false,"fork":false,"pushed_at":"2019-05-29T18:48:55.000Z","size":55,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-30T15:56:42.028Z","etag":null,"topics":["pip","python","redis"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IGITUGraz.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-10T13:17:54.000Z","updated_at":"2019-05-29T18:48:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"f168b116-b243-4e6d-83a8-47dee953f4f1","html_url":"https://github.com/IGITUGraz/redis-installer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2Fredis-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2Fredis-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2Fredis-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2Fredis-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IGITUGraz","download_url":"https://codeload.github.com/IGITUGraz/redis-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239787521,"owners_count":19697031,"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":["pip","python","redis"],"created_at":"2024-11-08T03:32:48.157Z","updated_at":"2026-02-03T14:30:16.607Z","avatar_url":"https://github.com/IGITUGraz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Redis Installer\n===============\n\nThis is a shim package that, that allows you to install `redis \u003chttps://redis.io\u003e`_ and the redis\n`rejson \u003chttp://rejson.io\u003e`_ module using pip!  It also provides API functions to start/stop redis and to check if its\nrunning.\n\nInstall with::\n\n    pip3 install [--user] https://github.com/anandtrex/redis-installer/archive/master.zip\n\nTo install from source, use::\n\n    pip install -r requirements.txt \u0026\u0026 pip install --upgrade [--user] .\n\nThis will download, compile and install the latest stable version of redis and some python packages for redis to your\nvirtual environment if you are using one.  Otherwise, it will install it to your user python path (~/.local).\n\nAfter installation, you can use the ``rediscontroller`` package like so:\n\n.. code:: python\n\n    from rediscontroller import start_redis, stop_redis\n\n    # Provide path to the data director here while staring redis. This uses the default config (see notes below)\n    #^ and starts redis on PORT 65535\n    start_redis(data_directory='/path/to/data/directory')\n\n    # Specify the port where redis should be started (started on port 12345 here)\n    start_redis(data_directory='/path/to/data/directory', port=12345)\n\n    # Start redis on a random port, and return the port where its started\n    port = start_redis(data_directory='/path/to/data/directory', port='random')\n\n    # Use this to provide your own redis configuration file. The port number in the config file is ignored and redis is\n    #^ started on 65535. Pass in the port argument to specify a custom port.\n    start_redis(data_directory='/path/to/data/directory', config_file_path='path/to/redis.conf')\n\n    # Stop redis. Without arguments, it will work only if you run from the same host from which it was started.\n    stop_redis()\n\n    # Stop redis. You need to pass in the port where it was started if its not on the default port\n    stop_redis(port=12345)\n    stop_redis(port=port)\n\n    # Otherwise, pass in the redis host and port like so\n    stop_redis(redis_host='localhost', redis_port=6379)\n\n\nNotes\n+++++\n\nIn the default configuration:\n\n* Redis protected mode is turned OFF. DO NOT run from a host exposed to the internet.\n* Redis is configured to be in AOF mode (which might be slow).\n* rejson module is installed by default.\n\nIf you want to change any of this, specify your own config file when starting redis.\n\nWhy??\n=====\n\nThis package is useful if you (or your users) don't have root access to your system, and still want to use redis,\nespecially from within a python package. This package is a testament to how really really easy it is to compile and\ninstall redis, since it has almost zero dependencies except a semi-recent gcc and some standard libraries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figitugraz%2Fredis-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figitugraz%2Fredis-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figitugraz%2Fredis-installer/lists"}