This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-01 01:49:43 +00:00
2020-03-01 01:45:18 +00:00
2020-03-01 01:49:43 +00:00
2020-03-01 01:49:43 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 01:42:36 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 01:49:43 +00:00
2020-03-01 01:42:45 +00:00
2020-03-01 01:38:37 +00:00
2020-03-01 00:57:33 +00:00
2020-03-01 01:49:43 +00:00

.. _header:

*******************
flask-calibrestekje
*******************

.. image:: https://img.shields.io/badge/license-GPL-brightgreen.svg
   :target: LICENSE
   :alt: Repository license

.. image:: https://badge.fury.io/py/flask-calibrestekje.svg
   :target: https://badge.fury.io/py/flask-calibrestekje
   :alt: PyPI package

.. image:: https://travis-ci.com/decentral1se/flask-calibrestekje.svg?branch=master
   :target: https://travis-ci.com/decentral1se/flask-calibrestekje
   :alt: Travis CI result

.. image:: https://readthedocs.org/projects/calibrestekje/badge/?version=latest
   :target: https://calibrestekje.readthedocs.io/en/latest/
   :alt: Documentation status

.. image:: http://img.shields.io/liberapay/patrons/decentral1se.svg?logo=liberapay
   :target: https://liberapay.com/decentral1se
   :alt: Support badge

.. _introduction:

Library prototyping based on Calibre with Flask
-----------------------------------------------

.. _example:

Example
*******

.. code-block:: python

    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:

Documentation
*************

* https://calibrestekje.readthedocs.io/
Description
Library prototyping based on Calibre with Flask
Readme 74 KiB
Languages
Python 100%