/prisma-py-async-quickstart

Quickstart example from the Prisma Client Python documentation

Primary LanguagePython

Prisma Client Python Example

Open in Gitpod

This repository showcases the minimum steps required to get started using Prisma Client Python.

Usage

For a more detailed explanation see the Prisma Client Python documentation.

python3 -m venv .venv
source .venv/bin/activate
pip install -U -r requirements.txt
prisma db push

You can now run the python script

python main.py

And type check it with pyright

pyright