Library prototyping based on Calibre with Flask
Project description
Library prototyping based on Calibre with Flask
Example
from calibrestekje import Book
from flask import Flask, jsonify
from flask_calibrestekje import CalibreStekje
app = Flask(__name__)
app.config.from_pyfile("config.cfg")
db = CalibreStekje(app)
@app.route("/")
def home():
return jsonify({"book-count": db.session.query(Book).count()})
Documentation
Mirroring
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
flask-calibrestekje-0.0.1.tar.gz
(19.4 kB
view hashes)
Close
Hashes for flask-calibrestekje-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12441faf3b69767481cf89de1976a77f4a04daf5d4a122a0163c4c80a72a8f3c |
|
MD5 | 0672b74224d9d9ed028f9ffc1061101c |
|
BLAKE2b-256 | e3fcf3f96664a6536a956e54edca33531a743f9c41298219911916e95169622b |