Python Restful API : <p>I have written a python script that will connect to the oracle database using cx_oracle and gets data and performs some action on it. </p>

<p>I want to expose this python script as a Restful API. In google, I read that using flask we can deploy a Python script as a Web service.</p>

<p>What I am not clear </p>

<ol>
<li>The flask itself behaves like a server? </li>
<li>Can I deploy the python Webservice in the Web logic server?</li>
<li>I want to deploy this Webservice in production. How can I provide security to this?</li>
<li>In another site, I read using Connection, Swagger we can implement it. </li>
<li>I am actually written using flask, flask-jsonpify, flask-sqlalchemy, flask-restful. </li>
<li>Please suggest which packages i need to use to deploy it as WebService.</li>
</ol>

<p>Let me know in case of any other details needed. Thanks in advance for your suggestions and guidance. </p>

<p>Vijay</p>
