Skip to main content

Display Tables

Project description

Flask Dt

This is a script to help you display any of the tables in your db using SQLAlchemy in your Flask Routes

Installation

Run the following to install:

'''python pip install flask-dt '''

Usage

'''python from flask_dt import *

after declaring your Flask app and SQLAlchemy db instances plus any other additional instances

assuming your Flask app and SQLAlchemy db instances are named app and db respectively

dt = FlaskDt(app, db, "templatename.html", "route")

dt.display_table() '''

Developing Flask-dt

To install flask-dt, along with the tools you need to develop and run tests, run the following in your virtualenv:

'''bash $ pip install -e .[dev] '''

However this specific package requires a basic flask application setup The structure for running tests is something to be looked into

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

flask-dt-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

flask_dt-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file flask-dt-0.0.1.tar.gz.

File metadata

  • Download URL: flask-dt-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.4

File hashes

Hashes for flask-dt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 74f0faa188bd319342b68b42437c8b5db5daff5da252ceed4f0dd44968c8fb3c
MD5 cfe379c348712fdba9c6ac44b89d7435
BLAKE2b-256 a44f80a808a6f2fa4ef8c745c206f7b5d714ba1a257edc9a8080b78c3aae7885

See more details on using hashes here.

File details

Details for the file flask_dt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: flask_dt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.4

File hashes

Hashes for flask_dt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e2e41af23df0522e3e2b1a72f6f473d14e0de7cf1940823df0941a28042d2b8
MD5 3b505d3e0cb7c9a20ad58c38ee47e02e
BLAKE2b-256 48f561132776e8a35fa996ba0451cde0a084bf9204b017fd669c1bbb6fff460d

See more details on using hashes here.

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