Skip to main content

Django simpletask2 handler server.

Project description

django-simpletask2-server

The server program used with django-simpletask2. After startup, it can automatically process the asynchronous processing tasks generated by django-simpletask2.

Install

pip install django-simpletask2-server

Usage

C:\test\django-simpletask2>django-simpletask2-server --help
Usage: django-simpletask2-server [OPTIONS] COMMAND [ARGS]...

Options:
  --logfmt TEXT
  --logfile TEXT
  --loglevel TEXT
  --pidfile TEXT                  pidfile file path.
  --workspace TEXT                Set running folder
  --daemon / --no-daemon          Run application in background or in
                                  foreground.

  -c, --config TEXT               Config file path. Application will search
                                  config file if this option is missing. Use
                                  sub-command show-config-fileapaths to get
                                  the searching tactics.

  --error-sleep INTEGER
  --idle-sleep INTEGER
  -t, --threads INTEGER
  --auto-reset-task-interval INTEGER
  --do-auto-reset-task / --no-do-auto-reset-task
  --task-pull-timeout INTEGER
  --task-pull-engine TEXT
  --channel-flags-template TEXT
  --channel-name-strip-regex TEXT
  --channel-name-template TEXT
  -c, --channels TEXT
  -r, --redis TEXT
  -a, --aclkey TEXT
  -s, --server TEXT
  --help                          Show this message and exit.

Commands:
  restart                Restart Daemon application.
  show-config-filepaths  Print out the config searching paths.
  start                  Start daemon application.
  stop                   Stop daemon application.

Config items

  • server: Required. Default to: http://127.0.0.1:8000/django-simpletask2/。
  • aclkey: Required. No default value.
  • channels: Required. Default to "default".
  • threads: Required. Default to 1.
  • task-pull-engine Required. Default to "redis". Other options are: api.
  • idle_sleep: Default to 5 seconds.
  • error_sleep: Default to 5 seconds.

Releases

v0.0.7

  • Fix --channels option short name conflict problem.

v0.0.6

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-simpletask2-server-0.0.7.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-simpletask2-server-0.0.7.tar.gz.

File metadata

  • Download URL: django-simpletask2-server-0.0.7.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for django-simpletask2-server-0.0.7.tar.gz
Algorithm Hash digest
SHA256 3a4dd1445d81a9e3fb85de25c3c6aa8c970658515c9cd9ec1fba148c05b82922
MD5 39b1e831a4fb3963cdc38b06e2c042d3
BLAKE2b-256 1c6048676ac4f390709adbfdc8f8457a2a538c68552c633893943eda8a7c6652

See more details on using hashes here.

File details

Details for the file django_simpletask2_server-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: django_simpletask2_server-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for django_simpletask2_server-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 857a9219b79ff40fbc601960a7ec8a23be85978c30d04fef8e1e07fcffe73ea7
MD5 7c83fe78d17582b00f85b57fe0562d54
BLAKE2b-256 c1714c0775714d4aa35ec9c95fd0793e050373acf77cc0277c42980da8f550b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page