Skip to content

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

License

Notifications You must be signed in to change notification settings

modbender/django-cheroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -ip 127.0.0.1 -p 8000 -w 40 -t 30 -c 20
python manage.py cheroot --hostip 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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages