Skip to main content

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

test@test django-simpletask2-server % 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
  --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.
  show-configs           Print out the final config items.
  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.
  • redis: It is required when task-pull-engine is "redis". The value format likes: redis://:password@redis-server:redis-port/redis-db?decode_responses=True (The option decode_responses=True is required)
  • 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.
  • Other config items like logdevel, logfile, logfmt, workspace, pidfile, daemon and so on, see details of daemon-application.

Releases

v0.0.8

  • Doc update.

v0.0.7

  • Fix --channels option short name conflict problem.

v0.0.6

  • First release.

Metadata

Release files for django-simpletask2-server 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-simpletask2-server 0.0.9
File Size Uploaded Provenance Actions
django-simpletask2-server-0.0.9.tar.gz 6.4 kB Without provenance Details for django-simpletask2-server-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-simpletask2-server 0.0.9
File Interpreter ABI Platform Actions
django_simpletask2_server-0.0.9-py3-none-any.whl Python 3 none any Details for django_simpletask2_server-0.0.9-py3-none-any.whl

Total release size: 12.4 kB

Release files / django-simpletask2-server-0.0.9.tar.gz

Download URL django-simpletask2-server-0.0.9.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0a132c28c6725416d9cf525ce53b2e18aacd00fbe92ddc5ffde95683c94def51
BLAKE2b-256 checksum
How to use checksums
a976c416738209d434dffbb0311c522f3037aef34c8ed47605633e07e0365c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / django_simpletask2_server-0.0.9-py3-none-any.whl

Download URL django_simpletask2_server-0.0.9-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdf592158fa070fe904cb787af7ace290965035f620ec226de044fc4b6520a6e
BLAKE2b-256 checksum
How to use checksums
f559e7fbcc6ad1699ac809455f2ba7d9dd548bfd8e5c829ee5f455d4feb03903
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for django-simpletask2-server 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page