Metadata-Version: 1.1
Name: kwsgi
Version: 0.0.1
Summary: Yet another WSGI server implementation.
Home-page: https://github.com/kobinpy/kwsgi
Author: Masashi Shibata
Author-email: contact@c-bata.link
License: MIT License
Description: =====
        kwsgi
        =====
        
        Yet another WSGI server implementation.
        
        
        Usage
        -----
        
        Usage is like this:
        
        .. code-block:: console
        
           $ kwsgi hello.py app --reload
        
        Options are below:
        
        .. code-block:: console
        
           $ kwsgi --help
           Usage: kwsgi [OPTIONS] FILEPATH WSGIAPP
        
             Example: kwsgi hello.py app -p 5000 --reload
        
           Options:
             -h, --host TEXT             The interface to bind to.
             -p, --port INTEGER          The port to bind to.
             --reload / --no-reload      Enable live reloading
             --interval INTEGER          Interval time to check file changed for
                                         reloading
             --validate / --no-validate  Validating your WSGI application complying with
                                         PEP3333 compliance.
             --help                      Show this message and exit.
        
        
        And you can integrate with kwsgi from python script:
        
        .. code-block:: python
        
           from kwsgi import WSGIServer
        
        
           def application(env, start_response):
               start_response('200 OK', [('Content-type', 'text/plain; charset=utf-8')])
               return [b'Hello World']
        
        
           if __name__ == '__main__':
               server = WSGIServer(application)
               server.run_forever()
        
        
        Development Roadmap
        -------------------
        
        These are the current planned major milestones:
        
        1. [DONE] Add minimum implementation (at least this can run django application).
        2. Optimize some important performance bottlenecks using C-extensions, mypyc or Rust.
        3. Add green threads implementation.
        
Keywords: web server wsgi http
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
