{"id":31770234,"url":"https://github.com/champi-dev/example-flask-celery-redis","last_synced_at":"2026-02-18T17:03:10.368Z","repository":{"id":45122768,"uuid":"237519180","full_name":"champi-dev/example-flask-celery-redis","owner":"champi-dev","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-02T06:42:49.000Z","size":16,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T02:59:10.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/champi-dev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-31T21:28:32.000Z","updated_at":"2025-06-16T15:38:46.000Z","dependencies_parsed_at":"2025-10-10T02:58:49.294Z","dependency_job_id":"ef98c4fe-4cc5-47d7-ac34-54cd5fd89599","html_url":"https://github.com/champi-dev/example-flask-celery-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/champi-dev/example-flask-celery-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/champi-dev%2Fexample-flask-celery-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/champi-dev%2Fexample-flask-celery-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/champi-dev%2Fexample-flask-celery-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/champi-dev%2Fexample-flask-celery-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/champi-dev","download_url":"https://codeload.github.com/champi-dev/example-flask-celery-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/champi-dev%2Fexample-flask-celery-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29587066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-10-10T02:58:38.027Z","updated_at":"2026-02-18T17:03:10.334Z","avatar_url":"https://github.com/champi-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Using Celery with Flask\n=======================\n\nThis repository contains the example code for my blog article [Using Celery with Flask](http://blog.miguelgrinberg.com/post/using-celery-with-flask).\n\nThe application provides two examples of background tasks using Celery:\n\n- Example 1 sends emails asynchronously.\n- Example 2 launches one or more asynchronous jobs and shows progress updates in the web page.\n\nHere is a screenshot of this application:\n\n\u003ccenter\u003e\u003cimg src=\"http://blog.miguelgrinberg.com/static/images/flask-celery.png\"\u003e\u003c/center\u003e\n\nQuick Setup\n-----------\n\n1. Clone this repository.\n2. Create a virtualenv and install the requirements.\n3. Open a second terminal window and start a local Redis server (if you are on Linux or Mac, execute `run-redis.sh` to install and launch a private copy).\n4. Open a third terminal window. Set two environment variables `MAIL_USERNAME` and `MAIL_PASSWORD` to a valid Gmail account credentials (these will be used to send test emails). Then start a Celery worker: `venv/bin/celery worker -A app.celery --loglevel=info`.\n5. Start the Flask application on your original terminal window: `venv/bin/python app.py`.\n6. Go to `http://localhost:5000/` and enjoy this application!\n\nFor details on how this all works, see my article [Using Celery with Flask](http://blog.miguelgrinberg.com/post/using-celery-with-flask).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchampi-dev%2Fexample-flask-celery-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchampi-dev%2Fexample-flask-celery-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchampi-dev%2Fexample-flask-celery-redis/lists"}