Metadata-Version: 2.1
Name: django-command-queue
Version: 0.0.0
Summary: Django redis Push Pull models and management commands
Keywords: django
Classifier: Framework :: Django
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: Django
Requires-Dist: setuptools

### Installation
```bash
$ pip install django-command-queue
```

#### `settings.py`
```python
INSTALLED_APPS+=['django_command_queue']
```

#### `migrate`
```bash
$ python manage.py migrate
```

### Features
+   mutiple workers
    +   custom settings
    +   worker status
+   command calls log
+   exceptions logging

### Models
model|db_table|fields/columns
-|-|-
`Queue`|`django`|`id`,`worker`,`name`
`Worker`|`redis_push`|`id`,`worker`,`restart_interval`,`sleep_interval`
`WorkerException`|`redis_push`|`id`,`worker`,`exc_class`,`exc_message`,`exc_traceback`,`created_at`
`WorkerStatus`|`redis_push`|`id`,`worker_id`,`started_at`,`updated_at`

### Management commands
name|description
-|-
`command_queue_worker`|queue worker

### Examples
```bash
$ python manage.py command_queue_worker "name"
```

