Integrates the osa SOAP client GitHub into Flask.
Flask-osa is pip installable:
$ pip install Flask-osa
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()
.
Import the extension into your Flask project and initialize:
from flask.ext.osa import OSA
osa = OSA(app)
Source code is hosted on GitHub (contributions are welcome).