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 details)
File details
Details for the file flask-calibrestekje-0.0.1.tar.gz
.
File metadata
- Download URL: flask-calibrestekje-0.0.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12441faf3b69767481cf89de1976a77f4a04daf5d4a122a0163c4c80a72a8f3c |
|
MD5 | 0672b74224d9d9ed028f9ffc1061101c |
|
BLAKE2b-256 | e3fcf3f96664a6536a956e54edca33531a743f9c41298219911916e95169622b |