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)],
)
Metadata
Release files for dbstudio 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dbstudio-0.1.1.tar.gz | 112.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbstudio-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 225.5 kB
Release files / dbstudio-0.1.1.tar.gz
| Download URL | dbstudio-0.1.1.tar.gz |
|---|---|
| Size | 112.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
952804e17e97b20ed5490955bb4b486f14c548f5774defa225e3e1c76939cb64
|
|
BLAKE2b-256 checksum How to use checksums |
bcc8e0916602f73db02997c020a69bffc54cfb302221ffd42a1c718bf31a42b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / dbstudio-0.1.1-py3-none-any.whl
| Download URL | dbstudio-0.1.1-py3-none-any.whl |
|---|---|
| Size | 112.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51c17f05d757985ed807171a7fdc7132b5483bb6cb622e54ae3bb3fac98a39f7
|
|
BLAKE2b-256 checksum How to use checksums |
3044b49b14ebb72e9b01ec2c327203a8f79794fef50e84febf7d437fd2e9c024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|