dms-0.0.3
توضیحات
database management service dashboard
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | dms-0.0.3 |
| نام | dms |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | ['ambrozic'] |
| ایمیل نگهدارنده | ['ambrozic@gmail.com'] |
| نویسنده | ambrozic |
| ایمیل نویسنده | ambrozic@gmail.com |
| آدرس صفحه اصلی | https://github.com/ambrozic/dms |
| آدرس اینترنتی | https://pypi.org/project/dms/ |
| مجوز | BSD |
# dms
Database Management Service dashboard
## Features
- standalone and independent as a service
- only a simple json configuration for dashboard
- no database model definitions written in python
- very generic from database perspective
- limited to `uuid` and `integer` for primary keys values
- limited to `datetime` or `date` for auto created or updated field values
- support for sqlite and postgres
- use as a docker container
## Configuration
### Dashboard
For an example dashboard configuration look at [docs/dms.json](https://github.com/ambrozic/dms/blob/master/docs/dms.json).
### Service
Service configuration can be done using environmental variables or by `.env` file mounted into container.
## Usage
Simple docker compose configuration
```
services:
dms:
image: ambrozic/dms:latest
ports:
- "8000:8000"
volumes:
- /path/to/your/dms.json:/srv/app/dms.json
environment:
- DMS_HOST=0.0.0.0
- DMS_SECRET_KEY=<secret-key>
- DMS_DATABASE=postgresql://postgres@db:5432/db
```
and open `http://0.0.0.0:8000`
## Screenshots
[here](https://raw.githubusercontent.com/ambrozic/dms/master/docs/ss.png)
نیازمندی
| مقدار | نام |
|---|---|
| ==0.2.6 | databases |
| ==1.1.0 | itsdangerous |
| ==2.10.3 | jinja2 |
| ==1.7.2 | passlib |
| ==0.0.5 | python-multipart |
| ==1.3.12 | sqlalchemy |
| ==0.13.0 | starlette |
| ==0.11.1 | uvicorn |
| ==4.4.3 | mkdocs-material |
| ==1.0.4 | mkdocs |
| ==2.5.2 | pygments |
| ==6.1 | pymdown-extensions |
| ==0.20.0 | asyncpg |
| ==2.8.4 | psycopg2-binary |
| ==0.11.0 | aiosqlite |
| ==19.10b0 | black |
| <3.0,>=2.0 | codecov |
| <5.0,>4.0 | isort |
| <1.0,>=0.13 | pipdeptree |
| ==0.10.0 | pytest-asyncio |
| <3.0,>=2.7 | pytest-cov |
| <6.0,>=5.0 | pytest |
| ==0.36.1 | sqlalchemy-utils |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dms-0.0.3:
pip install dms-0.0.3.whl
نصب پکیج tar.gz dms-0.0.3:
pip install dms-0.0.3.tar.gz