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
Release history Release notifications | RSS feed
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 details)
Built Distribution
dbstudio-0.1.1-py3-none-any.whl
(112.9 kB
view details)
File details
Details for the file dbstudio-0.1.1.tar.gz
.
File metadata
- Download URL: dbstudio-0.1.1.tar.gz
- Upload date:
- Size: 112.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952804e17e97b20ed5490955bb4b486f14c548f5774defa225e3e1c76939cb64 |
|
MD5 | e42fa6e18df633abc32c708cbda8b09b |
|
BLAKE2b-256 | bcc8e0916602f73db02997c020a69bffc54cfb302221ffd42a1c718bf31a42b4 |
File details
Details for the file dbstudio-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dbstudio-0.1.1-py3-none-any.whl
- Upload date:
- Size: 112.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c17f05d757985ed807171a7fdc7132b5483bb6cb622e54ae3bb3fac98a39f7 |
|
MD5 | 0b76c4bfcb8aaf726721689417d4d632 |
|
BLAKE2b-256 | 3044b49b14ebb72e9b01ec2c327203a8f79794fef50e84febf7d437fd2e9c024 |