Sandman inspired database and schema agnostic automatic REST API creator and data viewer/analyser
Project description
Introduction
As stated above this project was inspired by Sandman by Jeff Knupp. At the same time damvitool improves on the original in a few important areas:
Support for compound queries (both for REST API and UI)
Extremely flexible and powerful UI (query builder wizard) thanks to SmartClient library by Isomorphic
Support for column summaries
Unlimited resulting grid (sorted&filtered) export to CSV file
Resources
Frameworks and libraries used
SQLAlchemy v0.9.8+
Morepath v0.9+
AngularJS v1.2.1+
Isomorphic SmartClient v9.1+
ng_isc v0.2+
Versioning
Todo
Ability to save queries
Extended authorisation support with fine grained control of access to queries/tables
Editing of records
Charting engine for data visualization
Quick start
Installation
Use pip to install damvitool:
$ pip install damvitool
Run damvitool from command line:
$ damvitool
When you run damvitool from command line without parameters it connects by default to the demo Chinook Database for SQLite.
To connect to your legacy database run damvitool with your database URL as parameter, like so:
$ damvitool --database sqlite:///damvitool/data/Chinook_Sqlite.sqlite
where sqlite:///damvitool/data/Chinook_Sqlite.sqlite is database URL in SQLAlchemy format (http://docs.sqlalchemy.org/en/rel_0_9/core/engines.html#database-urls).
Admin panel access
Default admin panel URL is http://localhost:8080
Build new database request
Click Wizard button.
Login with the following credentials: user1/password1.
Choose root entity for your data query. If tables needed for your query don’t have relations between them you can add another root entity to your query.
Choose relevant entities fields.
Set filter criteria.
View results.
Changelog
Version 0.2.0
Move RESTful API from /proxy/* to /api/*
Improved documentation
Fix backend and frontend e2e tests
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
File details
Details for the file damvitool-0.2.0.tar.gz
.
File metadata
- Download URL: damvitool-0.2.0.tar.gz
- Upload date:
- Size: 15.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caebfc5a50e63fc569d964f63c0fc904ead685a1d1be51c8aaffa7cafde2dd47 |
|
MD5 | 615849a26ffbf97015afb36133bbc10e |
|
BLAKE2b-256 | c487bef3edfb5850f2920a31e7381f836d80f8efb4cf8459b472a79704a96a0c |