Repository files navigation Python-based Task Manager
Project would be based on functional, that is done in Buisbot project
memcached for storing current tasks
PostgreSQL database for storing users information & system configurations
Usage of Webhook, connected to Flask web server
AsyncIO for running threaded tasks
PyTelegramBotAPI for connecting with Telegram Bot API
Pure urllib2.request http requests + AsyncIO for sending requests to VK API
Create TaskManager class, which contains:
func., that cuts list of tasks from cache - if task._time ~ current time (using threading & async)
func., that saves new task to cache (using threading & async)
dunder-methods
Create ProcessManager class, which contains:
funcs to Manage threads and AsyncTasks
Create AyncTask class, which contains:
funcs, that will start \"timer\" Jobs
Create BasicAPI class, which would help to send task to multiple APIs anf Bots
`pymemcache Cache class defined'
*Task* class defined
WebServers defined (Flask & aiohtttp)
Polling system:
ThreadPool 1>:
Telegram bot instance (polling)
ThreadPool 2:
VK bot instance (polling)
ThreadPool 3:
Main thread
Each thread connects processes update and connects to main thread and sends request to TaskManager instance
TaskManager instance starts (async?) request to database(if it's needed)
Returns result to Bot instance
Bot sends async requests bask to user
About
Exceptional task-manager
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.