Generic Eventlet WSGI Server
- date:
2013-05-01 14:22
- tags:
cloud, api, flask, wsgi, eventlet
- category:
*nix
Eventlet WSGI Server
The purpose of this repository is to provide for a general purpose eventlet server that can power just about any Application. It is my hope that is used to rapidly spin up a WSGI server which has support for many common configurations while also being performant enough to server your content without having to setup a more heavy weight web server.
This is a great tool for embedded applications where Apache and or NGINX may not be an option.
Usage
To use ewsgi simply build your application and then pass the application and the relevant configuration to the server. Everything else is handled from there on in.
For an example on how an app could look like please go here: https://github.com/cloudnull/eventlet_wsgi/tree/master/example_app
However, if you would like to know how to make the server work, minimally, you can simply instantiate the server and run it:
# Assuming you have a built app import it and pass it to eswgi
from ewsgi import run
# This import would be your app
import app
# Run the new application with all of the relevant configuration bits
run.preload_and_start(
app_name=app.APPNAME, # Name of your app
load_app=app.APP, # The prebuilt app object
config_path=os.getcwd(), # The path to your configuration files
loggers=[app.APPNAME] # List of log handlers for the app
)
Metadata
Release files for ewsgi 0.0.3
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 | Actions |
|---|---|---|---|---|
| ewsgi-0.0.3.tar.gz | 18.2 kB | Without provenance | Details for ewsgi-0.0.3.tar.gz |
Release files / ewsgi-0.0.3.tar.gz
| Download URL | ewsgi-0.0.3.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
059770d544dd2ac6f52a12c29ee9c5dd22521601a0e2d6540ec62c39bccaa053
|
|
BLAKE2b-256 checksum How to use checksums |
e1beb4fd94c80d830697cd5c78fe344b3e5134ae39bc605506b0f5297c84604d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ewsgi 0.0.3
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.