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 |
Metadata
Release files for django-cheroot 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-cheroot-1.0.2.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_cheroot-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / django-cheroot-1.0.2.tar.gz
| Download URL | django-cheroot-1.0.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c0c53d5d82188de0e898744f8f79aa1171b2ead1ccc31a6e99e420346ff820b
|
|
BLAKE2b-256 checksum How to use checksums |
d723af3ad0d3597a6af385cd6a4400932d0880aae116a7c560f91394397cdd7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / django_cheroot-1.0.2-py3-none-any.whl
| Download URL | django_cheroot-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f39920584b8c8b66cf8eecae883c1fc3d6d09ce0fa53e03dc7304d1115efb7d
|
|
BLAKE2b-256 checksum How to use checksums |
4aa5e8fee3637d13da68b5c2817ec3a6953032af1771c94ef72e823f65d8ad85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for django-cheroot 1.0.2
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.