{"id":27338,"library":"redis-simple-mq","title":"redis-simple-mq","description":"A simple message queue library built on top of Redis. Current version 1.1.0, release cadence infrequent. Requires Python >=3.8.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/your-repo/redis-simple-mq","tags":["redis","message-queue","simple"],"install":[{"cmd":"pip install redis-simple-mq","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core dependency for Redis connectivity.","package":"redis","optional":false}],"imports":[{"note":"Correct package name uses underscores.","wrong":"from redissimplemq import Queue","symbol":"Queue","correct":"from redis_simple_mq import Queue"},{"note":"Alternative entry point, if available.","symbol":"RedisMQ","correct":"from redis_simple_mq import RedisMQ"}],"quickstart":{"code":"import os\nfrom redis_simple_mq import Queue\n\nmq = Queue(host=os.environ.get('REDIS_HOST', 'localhost'), port=6379)\n\n# Producer\nmq.put('myqueue', {'message': 'hello'})\n\n# Consumer\nmessage = mq.get('myqueue')\nprint(message)","lang":"python","description":"Basic usage: producer puts a dict onto a queue, consumer retrieves it."},"warnings":[{"fix":"Use a single global Queue instance or manually manage a Redis connection pool.","message":"The library does not support automatic Redis connection pooling; each Queue instance creates its own connection. For high throughput, reuse the same Queue instance.","severity":"gotcha","affected_versions":"<=1.1.0"},{"fix":"Use mq.get() instead of mq.pop().","message":"The method 'pop' is deprecated in favor of 'get' to align with common queue semantics.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run pip install redis-simple-mq and verify import: from redis_simple_mq import Queue","cause":"Installed wrong package or name mismatch.","error":"ModuleNotFoundError: No module named 'redis_simple_mq'"},{"fix":"Ensure Redis is running: redis-server (default port 6379) or set REDIS_HOST environment variable.","cause":"Redis server not running or wrong host/port.","error":"redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}