Skip to content

Latest commit

 

History

History
executable file
·
30 lines (18 loc) · 660 Bytes

README.rst

File metadata and controls

executable file
·
30 lines (18 loc) · 660 Bytes

Flask-OSA

Integrates the osa SOAP client GitHub into Flask.

Installation

Flask-osa is pip installable:

$ pip install Flask-osa

Configure

The only configuration is OSA_WSDL and must be set. You can pass any kwargs to OSA() for further configuration. The kwargs will be passed to osa.client.Client().

Usage

Import the extension into your Flask project and initialize:

from flask.ext.osa import OSA

osa = OSA(app)

Development

Source code is hosted on GitHub (contributions are welcome).