Metadata-Version: 2.1
Name: flask-dt
Version: 0.0.1.2
Summary: Display Tables
Home-page: https://github.com/GreatDt1/flaskdt
Author: Donatus
Author-email: flaskdt@gmail.com
License: UNKNOWN
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 FlaskDt
        
        # after declaring your Flask app and SQLAlchemy db instances plus any other additional instances  
        # assuming your SQLAlchemy db instance is named db
        
        dt = FlaskDt(db)
        
        
        # This will be called when specifying your routes
        @app.route('/tables/<string:tablename>')
        @dt.display_table
        def your_func():
            pass
        ```
        You will find a simple flask application that utilises flask-dt [here](https://github.com/GreatDt1/Flaskdt_App)
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Natural Language :: English
Description-Content-Type: text/markdown
Provides-Extra: dev
