Make sure you are using Python 3.6+ because Vibora takes advantage of some new Python features.

  1. Install Vibora: pip install vibora[fast]

It's highly recommended to install Vibora inside a virtualenv.

In case you have trouble with Vibora dependencies: pip install vibora to install it without the extra libraries.

  1. Create a file called with the following code:

from vibora import Vibora, JsonResponse

app = Vibora()

async def home():
    return JsonResponse({'hello': 'world'})

if __name__ == '__main__':"", port=8000)
  1. Run the server: python3

  2. Open your browser at

Creating a project

The previous example was just to show off how easy is it to spin up a server.

The recommended way to start a new project is by letting Vibora do it for you. Vibora is also a command-line tool, try it out: vibora new project_name

Last updated