flask-calibrestekje

Library prototyping based on Calibre with Flask


Keywords
calibre, calibrestekje, flask, python
License
GPL-3.0
Install
pip install flask-calibrestekje==0.0.1

Documentation

flask-calibrestekje

Repository license PyPI package Travis CI result Documentation status Support badge

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