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
Arguments
Name | Short | Long | Type | Default |
---|---|---|---|---|
IP Address | -h | --host | 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
Release history Release notifications | RSS feed
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.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for django_cheroot-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb7944e1f8c5fbcbab34515f4eda99ee62803409e3760e4f9b826bf0fd06e92 |
|
MD5 | 9649abdabecd6d9215e84f8f19f111cb |
|
BLAKE2b-256 | 4780843939e4eeb63490a8166bbdd0a3d657957f53803610720c8d99a3bf6c4d |