Skip to main content

Django Cheroot provides a bridge to use Cheroot which is the high-performance, pure-Python HTTP server used by CherryPy

Project description

Django Cheroot

Django Cheroot provides a bridge to use Cheroot which is the high-performance, pure-Python HTTP server used by CherryPy.

Alternative for other WSGI servers like Gunicorn, etc.

Install

pip install django-cheroot

In settings.py add application to INSTALLED_APPS

INSTALLED_APPS = [
  ...
  'django_cheroot',
]

Usage

Simplest usage with default settings is:

python manage.py cheroot

Default arguments

python manage.py cheroot -h 127.0.0.1 -p 8000 -w 40 -t 30 -c 20
python manage.py cheroot --host 127.0.0.1 --port 8000 --maxthreads 40 --minthreads 30 --connections 20

Arguments

Name Short Long Type Default
IP Address -ip --hostip str 127.0.0.1
Port -p --port int 8000
Max Worker Threads -w --maxthreads int 40
Min Threads in Thread Pool -t --minthreads int 30
Max Queued Connections -c --connections int 20

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-cheroot-1.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

django_cheroot-1.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file django-cheroot-1.0.2.tar.gz.

File metadata

  • Download URL: django-cheroot-1.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for django-cheroot-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4c0c53d5d82188de0e898744f8f79aa1171b2ead1ccc31a6e99e420346ff820b
MD5 3db816b42083cb3a4c818776f8b04de2
BLAKE2b-256 d723af3ad0d3597a6af385cd6a4400932d0880aae116a7c560f91394397cdd7b

See more details on using hashes here.

File details

Details for the file django_cheroot-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: django_cheroot-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for django_cheroot-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f39920584b8c8b66cf8eecae883c1fc3d6d09ce0fa53e03dc7304d1115efb7d
MD5 a7079f028b64e47318cded55b65a4ba8
BLAKE2b-256 4aa5e8fee3637d13da68b5c2817ec3a6953032af1771c94ef72e823f65d8ad85

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