Skip to main content

Library prototyping based on Calibre with Flask

Project description

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

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page