Skip to main content

Web-based database management tool.

Project description

DB Studio

A web-based database management tool that allows you to manage your databases, tables, and data.

It is designed to be embedded into your Python web applications, is currently compatible with FastAPI, Starlette, SQLAlchemy and SQLModel.

Get started

Install DB Studio from PyPI using pip or your favorite package manager:

pip install dbstudio

After configuring DB Studio, the UI will be available at http://<your-server>/dbstudio.

FastAPI

from fastapi import FastAPI
from dbstudio.fastapi import get_fastapi_router

# Be sure to import your DB models before initializing DBStudio
import .models

app = FastAPI()

# The router must be mounted at /dbstudio
app.mount("/dbstudio", get_fastapi_router(engine))

Starlette

from starlette.applications import Starlette
from dbstudio.starlette import get_startlette_mount

# Be sure to import your DB models before initializing DBStudio
import .models

app = Starlette(
    routes=[get_startlette_mount(engine)],
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbstudio-0.1.1.tar.gz (112.6 kB view hashes)

Uploaded Source

Built Distribution

dbstudio-0.1.1-py3-none-any.whl (112.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page