Powerful yet discrete templates for CRUD controllers
Project description
I think you’re a very special young man, or I wouldn’t have asked you to help me, now would I ?
Installation
pip install crud-templates
Usage
A thorough documentation is in construction
The module provides template classes for CRUD controllers using SQLAlchemy connexions to a database. They are meant to provide easy to use methods for executing GET, PUT, PATCH, DELETE statements on single a table, or searches for entities using POST statements, within a model-views-controllers framework.
For all templates, the simplest usage is to inherit the template, supercharge the __init__ method to provide the target table and the SQLAlchemy session, and use the appropriate CRUD method.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for crud_templates-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15da52d1d9dbce1835b803b902e2fc0115b9bc3b9fdcb26c75f99ab94327952 |
|
MD5 | 10ae10be3cc7137019d6f41e2cf238c0 |
|
BLAKE2b-256 | 6c302fef00a87cbf60f51786b9456004806e823c44f9cbff30430f28640a647d |