Get started in under a minute
Use Davia to visually edit and deploy your Python tools while your code stays private on your device. Follow these steps to begin.
1
Install DaviaWe built an open source package on top of FastAPI.
Run this in your terminal (locally, in your IDE):
>
2
Add your first Python taskCreate a Python file in your IDE and paste this code:
from davia import Davia
app = Davia()
@app.task
def get_welcome_message(name: str = "there") -> str:
"""
Return a personalized welcome message.
"""
return f"Hi {name}! Welcome to Davia !"
if __name__ == "__main__":
app.run()
When you run your Python file, Davia will automatically open the platform in your browser.
How does it work? There is one server that runs on your machine (localhost) and a secure connection is established between your local server and the editor.
If you want to customize your backend, you can checkout the documentation.
How does it work? There is one server that runs on your machine (localhost) and a secure connection is established between your local server and the editor.
If you want to customize your backend, you can checkout the documentation.
3
Describe your appOnce on the Davia platform, you can describe your app and Davia will generate the frontend for you.
4
DeployDeploy both your frontend and backend with Davia in one click. Your app is securely hosted and instantly shareable.
See it in action
