{"id":17699940,"url":"https://github.com/anistark/redis-scheduler","last_synced_at":"2026-05-01T09:32:18.976Z","repository":{"id":57460710,"uuid":"82475916","full_name":"anistark/redis-scheduler","owner":"anistark","description":"Scheduler","archived":false,"fork":false,"pushed_at":"2017-09-14T11:24:25.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-11T15:27:17.944Z","etag":null,"topics":["aws-sqs","boto3","handler","multiprocessing","python-3","queue","redis","redis-scheduler","schedule","scheduler","sqs"],"latest_commit_sha":null,"homepage":null,"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/anistark.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-02-19T17:20:13.000Z","updated_at":"2017-03-16T04:01:01.000Z","dependencies_parsed_at":"2022-09-16T15:51:23.532Z","dependency_job_id":null,"html_url":"https://github.com/anistark/redis-scheduler","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/anistark/redis-scheduler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anistark%2Fredis-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anistark%2Fredis-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anistark%2Fredis-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anistark%2Fredis-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anistark","download_url":"https://codeload.github.com/anistark/redis-scheduler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anistark%2Fredis-scheduler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws-sqs","boto3","handler","multiprocessing","python-3","queue","redis","redis-scheduler","schedule","scheduler","sqs"],"created_at":"2024-10-24T17:08:08.705Z","updated_at":"2026-05-01T09:32:18.948Z","avatar_url":"https://github.com/anistark.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RedisScheduler\n\n[![license](https://img.shields.io/github/license/anistark/redis-scheduler.svg)](https://github.com/anistark/redis-scheduler/blob/master/LICENSE) [![pypi](https://img.shields.io/pypi/v/RedisScheduler.svg)](https://pypi.python.org/pypi/RedisScheduler)\n\n\n## Install via pip\n\n```\npip install RedisScheduler\n```\n\n## Usage\n\n```\nfrom RedisScheduler.RedisScheduler import RedisScheduler\n```\n\n### Start Listening\n\n\nInitialise RedisScheduler\n\n```\nlistener = RedisScheduler()\n```\n\nSet SQS keys\n\n```\nlistener.set_sqs_keys(access_key='', secret_key='', queue_name='emails', region='ap-south-1')\n```\n\nStart Listening\n\n```\nlistener.start_listening(handler='sqs')\n```\n\n\n### Registering your event\n\n```\nsetter = RedisScheduler()\n```\n\n```\nkey = str(int(time()))\n```\n\n```\nvalue = json.dumps({'time': time(), 'foo':{'bar': 'foo', 'baz': 3, 'bor': {'foo':'bar', 'bar': 'foo'}}})\n```\n\n#### Scheduled time for the event in iso format with timestamp\n\n```\nscheduled_time = '2017-02-25T12:30:00+05:30'\n```\n\n### Register the event to be scheduled\n\nRegister your event\n\n```\nsetter.register_event(value, scheduled_time)\n```\n\nModify your registered event\n\n```\nsetter.modify_event(key, value, scheduled_time)\n```\n\n\n#### Contributions welcome for more handlers and enhancements. Contribution document coming soon.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanistark%2Fredis-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanistark%2Fredis-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanistark%2Fredis-scheduler/lists"}