All Projects → waqasjaved160 → flask-djcelery

waqasjaved160 / flask-djcelery

Licence: MIT License
An example project for configuring Djcelery with Flask application and dynamically changing tasks via REST API and through django admin

Programming Languages

c
50402 projects - #5 most used programming language
tcl
693 projects
HTML
75241 projects
perl
6916 projects
ruby
36898 projects - #4 most used programming language
M4
1887 projects

Projects that are alternatives of or similar to flask-djcelery

django-google-optimize
Django-google-optimize is a Django application designed to make running server side Google Optimize A/B tests easy.
Stars: ✭ 37 (+184.62%)
Mutual labels:  django-admin
kerkoapp
A web application that provides a faceted search interface for bibliographies managed with Zotero.
Stars: ✭ 30 (+130.77%)
Mutual labels:  flask-application
pyrrha
A language independant post correction app for POS and lemmatization
Stars: ✭ 14 (+7.69%)
Mutual labels:  flask-application
Chatbot
A Deep-Learning multi-purpose chatbot made using Python3
Stars: ✭ 36 (+176.92%)
Mutual labels:  flask-application
codechef-rank-comparator
Web application hosted on Heroku cloud platform based on web scraping in python using lxml library (XML Path Language).
Stars: ✭ 23 (+76.92%)
Mutual labels:  flask-application
flask heroku example
How to deploy a Flask application using Heroku
Stars: ✭ 34 (+161.54%)
Mutual labels:  flask-application
django-admin-autocomplete-list-filter
Ajax autocomplete list filter for Django admin
Stars: ✭ 68 (+423.08%)
Mutual labels:  django-admin
flask-boilerplate-flaskplay
FlaskPlay Boilerplate - Open-Source Web App coded in Flask | AppSeed
Stars: ✭ 17 (+30.77%)
Mutual labels:  flask-application
username-availability-checker
Live at : https://username-check.herokuapp.com/
Stars: ✭ 84 (+546.15%)
Mutual labels:  flask-application
django-admin-page-lock
Page Lock for Django Admin allows developers to implement customizable locking pages.
Stars: ✭ 13 (+0%)
Mutual labels:  django-admin
restaurant-finder-featureReviews
Build a Flask web application to help users retrieve key restaurant information and feature-based reviews (generated by applying market-basket model – Apriori algorithm and NLP on user reviews).
Stars: ✭ 21 (+61.54%)
Mutual labels:  flask-application
django-admin-actions
Display Django admin custom actions in changelist, changeview or per row in changelist.
Stars: ✭ 30 (+130.77%)
Mutual labels:  django-admin
Bank-Note-Authentication
💸 Authenticate Bank Notes on the basis of Genuity and Forged using Sklearn and deployed on Heroku and FastAPI Server 💳 💲
Stars: ✭ 17 (+30.77%)
Mutual labels:  flask-application
django-streamfield
This is a simple realisation of StreamField's idea from Wagtail CMS for plain Django admin or with Grappelli skin.
Stars: ✭ 62 (+376.92%)
Mutual labels:  django-admin
Monica
Chat Bot for finding places to eat.
Stars: ✭ 17 (+30.77%)
Mutual labels:  flask-application
robotframework-historic
Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.
Stars: ✭ 70 (+438.46%)
Mutual labels:  flask-application
rasa-site-bot
A chatbot that fetches events details from a conference's website
Stars: ✭ 81 (+523.08%)
Mutual labels:  flask-application
stuoe
轻论坛软件。界面简洁,迅速,开源
Stars: ✭ 17 (+30.77%)
Mutual labels:  flask-application
django-editorjs-fields
Django plugin for using Editor.js
Stars: ✭ 47 (+261.54%)
Mutual labels:  django-admin
flask-admin-boilerplate
Flask Admin Boilerplate with MongoDB
Stars: ✭ 63 (+384.62%)
Mutual labels:  flask-application

flask-djcelery

An example project for configuring Djcelery with Flask application and dynamically adding tasks

  • REST API
  • Django admin

Quick Setup

Django Admin

  1. Clone this repository.
  2. Create a virtualenv and install the requirements.
  3. Create database using command: PYTHONPATH=. django-admin.py migrate --settings=celeryconfig
  4. Start the django server using command: PYTHONPATH=. django-admin.py runserver --settings=celeryconfig
  5. Open second terminal window and start local Redis server using command: ./run-redis.sh.
  6. Start celery worker in another terminal window: env/bin/celery worker -A app.celery --loglevel=INFO.
  7. Start celery beat in another terminal window: PYTHONPATH=. django-admin.py celerybeat --settings=celeryconfig.
  8. Django Admin can be checked by visiting http://localhost:8000/ and celery tasks can be added/removed
  9. Flask application can be started as: python app.py

REST API

  1. Follow all the above steps

  2. GET /interval_schedules/ will list all the schedule intervals

  3. POST /interval_schedules/ will add a schedule interval

    POST Data (Example)
    • every: 90
    • period: seconds
  4. GET /periodic_tasks/ will list all the periodic tasks

  5. POST /periodic_tasks/ will add a new task

    POST Data (Example)
    • name: 'API Task'
    • task: 'app.add'
    • enabled: True
    • args: '[5,5]'
    • interval: 1 (would need to be created first using API)
  6. Similarly PUT /interval_schedules/1/ will change the interval for tasks on the run

    • every: 100
    • period: seconds
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].