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 details)
Built Distribution
File details
Details for the file django-cheroot-1.0.0.tar.gz
.
File metadata
- Download URL: django-cheroot-1.0.0.tar.gz
- Upload date:
- Size: 3.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a34d31ead0ca02bd3dae044ba220b073dd92dff703ddff648f3daf42d699f359 |
|
MD5 | ac2e09340ab725c2c7b10540742eaf22 |
|
BLAKE2b-256 | ea078062579cc762a2c21a4ce8940388d0165d7547e08d5322b43307d279a5ad |
File details
Details for the file django_cheroot-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: django_cheroot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb7944e1f8c5fbcbab34515f4eda99ee62803409e3760e4f9b826bf0fd06e92 |
|
MD5 | 9649abdabecd6d9215e84f8f19f111cb |
|
BLAKE2b-256 | 4780843939e4eeb63490a8166bbdd0a3d657957f53803610720c8d99a3bf6c4d |