{"id":15911403,"url":"https://github.com/nok/redis-resp","last_synced_at":"2026-05-05T12:32:32.870Z","repository":{"id":57461469,"uuid":"100987006","full_name":"nok/redis-resp","owner":"nok","description":"Make the Redis Mass Insertion by using the REdis Serialization Protocol (RESP) simple.","archived":false,"fork":false,"pushed_at":"2018-02-02T21:48:37.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-01T05:46:35.687Z","etag":null,"topics":["data-engineering","database","import","mass-insertion","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nok.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-21T19:49:19.000Z","updated_at":"2024-06-03T06:13:12.000Z","dependencies_parsed_at":"2022-09-17T08:00:30.999Z","dependency_job_id":null,"html_url":"https://github.com/nok/redis-resp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nok/redis-resp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nok%2Fredis-resp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nok%2Fredis-resp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nok%2Fredis-resp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nok%2Fredis-resp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nok","download_url":"https://codeload.github.com/nok/redis-resp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nok%2Fredis-resp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["data-engineering","database","import","mass-insertion","redis"],"created_at":"2024-10-06T15:41:41.443Z","updated_at":"2026-05-05T12:32:32.845Z","avatar_url":"https://github.com/nok.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-resp\n\n[![Build Status](https://img.shields.io/travis/nok/redis-resp/master.svg)](https://travis-ci.org/nok/resp)\n[![PyPI](https://img.shields.io/pypi/v/resp.svg)](https://pypi.python.org/pypi/resp)\n[![PyPI](https://img.shields.io/pypi/pyversions/resp.svg)](https://pypi.python.org/pypi/resp)\n[![GitHub license](https://img.shields.io/pypi/l/sklearn-porter.svg)](https://raw.githubusercontent.com/nok/resp/master/license.txt)\n\nMake the [Redis](https://redis.io/) [Mass Insertion](https://redis.io/topics/mass-insert) by using the [REdis Serialization Protocol](https://redis.io/topics/protocol) (RESP) simple.\n\n## Installation\n\n```bash\npip install resp\n```\n\n## Usage\n\n```bash\npython \\\n    -m resp \\                           # the installed module 'resp' \n    -i /path/to/dump.txt \\              # the path to the input file\n    -d ',' \\                            # the delimiter (default: ',')\n    -r 'RPUSH {0} {1} | SET {0} {2}' \\  # the Redis command(s)\n        | redis-cli --pipe\n```\n\nIf the order of the data isn't relevant, you can split the origin file in multiple chunks and pipe them to the script concurrently:\n\n```bash\ncat /path/to/dump.txt | parallel -j4 --block 1M -I ,, --pipe 'python -m resp -d \",\" -r \"SET {0} {1}\" -p' | redis-cli --pipe\n```\n\nIf [parallel](https://www.gnu.org/software/parallel/) isn't already installed on your system, you can install it with `sudo apt-get install parallel` on Linux or `brew install parallel` on macOS. \n\n## API\n\n```bash\npython -m resp [-h] -r REDIS [-i INPUT] [-d DELIMITER] [-p]\npython -m resp [--help] --redis REDIS [--input INPUT] [--delimiter DELIMITER] [--pipe]\n```\n\n## Development\n\n### Environment\n\nInstall the required [environment modules](environment.yml) by executing the script [environment.sh](recipes/environment.sh):\n\n```bash\nconda env create -n resp python=2 -f environment.yml\nsource activate resp\n```\n\n### Testing\n\n```bash\npython -m unittest discover -vp '*Test.py'\n```\n\n\n## Questions?\n\nDon't be shy and feel free to contact me by e-mail or on [Twitter](https://twitter.com/darius_morawiec).\n\n\n## License\n\nThe module is Open Source Software released under the [MIT](license.txt) license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnok%2Fredis-resp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnok%2Fredis-resp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnok%2Fredis-resp/lists"}