{"id":19321013,"url":"https://github.com/sehgalvibhor/celery_background_task_runner","last_synced_at":"2026-04-28T16:02:11.448Z","repository":{"id":93104611,"uuid":"96425785","full_name":"sehgalvibhor/Celery_Background_Task_Runner","owner":"sehgalvibhor","description":"Run's specific user based tasks for time interval defined by the user.","archived":false,"fork":false,"pushed_at":"2017-07-08T13:49:37.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-17T16:02:45.008Z","etag":null,"topics":["celery","flask","python","redis","rest-api","scheduler"],"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/sehgalvibhor.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-06T12:04:14.000Z","updated_at":"2019-01-29T02:56:50.000Z","dependencies_parsed_at":"2023-04-25T07:47:01.686Z","dependency_job_id":null,"html_url":"https://github.com/sehgalvibhor/Celery_Background_Task_Runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sehgalvibhor/Celery_Background_Task_Runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sehgalvibhor%2FCelery_Background_Task_Runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sehgalvibhor%2FCelery_Background_Task_Runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sehgalvibhor%2FCelery_Background_Task_Runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sehgalvibhor%2FCelery_Background_Task_Runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sehgalvibhor","download_url":"https://codeload.github.com/sehgalvibhor/Celery_Background_Task_Runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sehgalvibhor%2FCelery_Background_Task_Runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: 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":["celery","flask","python","redis","rest-api","scheduler"],"created_at":"2024-11-10T01:34:50.905Z","updated_at":"2026-04-28T16:02:11.417Z","avatar_url":"https://github.com/sehgalvibhor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Celery_Background_Task_Runner\nRun's specific user based tasks for time interval defined by the user. The REST application uses Celery for running Python tasks in the background. For example if the user wants to run a job for 300 seconds he can submit a POST request with time in headers.\n\n\u003cp\u003e\nBasic application stack - Flask, Python 2.7 \u003cbr\u003e\nOS : Windows 10 \u003cbr\u003e\nTested using Postman\u003cbr\u003e\n\n\n## Running on a Windows system\n\n1. Unzip the Redis server zip file.\n2. Run the redis-server.exe file.\n3. pip install -r requirements.txt\n4. python server.py\n5. celery -A server.celery worker -n worker1 (Assumes only one worker)\n6. All 3 of the points (2,4,5) should be working and running simultaneously.\n\n### Exposes a GET API as \"api/request?connId=19\u0026amp;timeout=80\u0026quot\"\nThis API will keep the request running for provided time on the server side. After the successful completion of the provided time it should return {\u0026quot;status\u0026quot;:\u0026quot;ok\u0026quot;}\n\n### Exposes a GET API as \u0026quot;api/serverStatus\u0026quot;\n\nThis API returns all the running requests on the server with their time left for completion. E.g {\u0026quot;2\u0026quot;:\u0026quot;15\u0026quot;,\u0026quot;8\u0026quot;:\u0026quot;10\u0026quot;} where 2 and 8 are the connIds and 15 and 10 is the time remaining for the requests to complete (in seconds).\n\n### Exposes a PUT API as \u0026quot;api/kill\u0026quot; with payload as {\u0026quot;connId\u0026quot;:12}\n\nThis API will finish the running request with provided connId, so that the finished request returns {\u0026quot;status\u0026quot;:\u0026quot;killed\u0026quot;} and the current request will return {\u0026quot;status\u0026quot;:\u0026quot;ok\u0026quot;}.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsehgalvibhor%2Fcelery_background_task_runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsehgalvibhor%2Fcelery_background_task_runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsehgalvibhor%2Fcelery_background_task_runner/lists"}