Skip to main content

Flask-Generic-Views is a set of generic class-based views for the Flask microframework inspired by the ones in Django.

from flask import Flask
from flask.ext.generic_views import TemplateView

app = Flask(__name__)

index_view = TemplateView.as_view('index', template_file='index.html')

app.add_url_rule('/', index_view)

if __name__ == '__main__':
    app.run()

Database Support

Currently Flask-Generic-Views supports use of Models created with SQLAlchemy.

Installation

To install the basic views:

$ pip install flask-generic-views

To install optional SQLAlchemy support:

$ pip install flask-generic-views[sqlalchemy]

To install all optional packages:

$ pip install flask-generic-views[all]

Metadata

Release files for Flask-Generic-Views 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-Generic-Views 0.1.1
File Size Uploaded Provenance Actions
Flask-Generic-Views-0.1.1.tar.gz 12.4 kB Without provenance Details for Flask-Generic-Views-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Generic-Views 0.1.1
File Interpreter ABI Platform Actions
Flask_Generic_Views-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for Flask_Generic_Views-0.1.1-py2.py3-none-any.whl

Total release size: 27.8 kB

Release files / Flask-Generic-Views-0.1.1.tar.gz

Download URL Flask-Generic-Views-0.1.1.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3e94c9a593f4e02afa13eb9c17dbb28f5380bb8158723b6a2ae278477447411c
BLAKE2b-256 checksum
How to use checksums
1f7a173d772672738e9dee4722c63c3cd4e48957e7362030d0c42afd82ae6d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Flask_Generic_Views-0.1.1-py2.py3-none-any.whl

Download URL Flask_Generic_Views-0.1.1-py2.py3-none-any.whl
Size 15.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a44d3c6d16e95d4d295d1f1525c14de5778f789c3d0522b60f286daba570eb46
BLAKE2b-256 checksum
How to use checksums
a270e96a7d9dcb9b89aae6a522885f0e0749071001cd49960bd72512407a8395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-Generic-Views 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page