django-command-queue


Namedjango-command-queue JSON
Version 0.0.0 PyPI version JSON
download
home_pageNone
SummaryDjango redis Push Pull models and management commands
upload_time2024-06-28 08:53:51
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords django
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ### 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"
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-command-queue",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "django",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/41/15/3180355291eb9792655d3d9a3385cf9840a960bde2b0c3d207710f22d948/django_command_queue-0.0.0.tar.gz",
    "platform": null,
    "description": "### Installation\n```bash\n$ pip install django-command-queue\n```\n\n#### `settings.py`\n```python\nINSTALLED_APPS+=['django_command_queue']\n```\n\n#### `migrate`\n```bash\n$ python manage.py migrate\n```\n\n### Features\n+   mutiple workers\n    +   custom settings\n    +   worker status\n+   command calls log\n+   exceptions logging\n\n### Models\nmodel|db_table|fields/columns\n-|-|-\n`Queue`|`django`|`id`,`worker`,`name`\n`Worker`|`redis_push`|`id`,`worker`,`restart_interval`,`sleep_interval`\n`WorkerException`|`redis_push`|`id`,`worker`,`exc_class`,`exc_message`,`exc_traceback`,`created_at`\n`WorkerStatus`|`redis_push`|`id`,`worker_id`,`started_at`,`updated_at`\n\n### Management commands\nname|description\n-|-\n`command_queue_worker`|queue worker\n\n### Examples\n```bash\n$ python manage.py command_queue_worker \"name\"\n```\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Django redis Push Pull models and management commands",
    "version": "0.0.0",
    "project_urls": null,
    "split_keywords": [
        "django"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41153180355291eb9792655d3d9a3385cf9840a960bde2b0c3d207710f22d948",
                "md5": "664b1d783802caa5d631e85653b225f6",
                "sha256": "0d654eee7df9d6b7ae41c4a834ca6552d95673b98a89f7a7f182a099893c4d25"
            },
            "downloads": -1,
            "filename": "django_command_queue-0.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "664b1d783802caa5d631e85653b225f6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3608,
            "upload_time": "2024-06-28T08:53:51",
            "upload_time_iso_8601": "2024-06-28T08:53:51.480042Z",
            "url": "https://files.pythonhosted.org/packages/41/15/3180355291eb9792655d3d9a3385cf9840a960bde2b0c3d207710f22d948/django_command_queue-0.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-28 08:53:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "django-command-queue"
}
        
Elapsed time: 0.99754s