|
Project Information
Featured
Links
|
wsloader: Webservice LoaderWebservice Loader (wsloader) is a WSGI application and protocol to allow exposing native Python interfaces as REST-like webservices without writing any HTTP/web-service specific code to expose a new service. ObjectivesThe objectives of wsloader are: - Minimal/Zero extra code and configuration to expose a Python module/class as a webservice
- Clean separation of webservice delivery mechanism and service implementation
- Full encapsulation of webservice protocols and mechanisms for authentication, authorisation, serialisation, end-point discovery and loading, logging and load balancing
FeaturesCurrently wsloader supports the following features: - loading any Python module/class as a service
- handling of service independent request and response marshalling via JSON
- automatic URL creation based on the module path (can be overridden)
- automatic enforcing of GET and POST methods for read and write endpoints
- proper HTTP error responses for service invocation failures
- high-performance application loading and state management
- apache error log access to module code via sys.stderr
See the Overview for more details and installation instructions, or see QuickStart for a short example on how to create a new service with wsloader.
|