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
Release files for flask-calibrestekje 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask-calibrestekje-0.0.1.tar.gz | 19.4 kB | Details |
Release files / flask-calibrestekje-0.0.1.tar.gz
| Download URL | flask-calibrestekje-0.0.1.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12441faf3b69767481cf89de1976a77f4a04daf5d4a122a0163c4c80a72a8f3c
|
|
BLAKE2b-256 checksum How to use checksums |
e3fcf3f96664a6536a956e54edca33531a743f9c41298219911916e95169622b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|