Adds Tryton support to FastAPI application
Project description
FastAPI-Tryton
Adds Tryton support to FastAPI application.
By default transactions are readonly except for PUT, POST, DELETE and PATCH
request methods.
It provides also 2 routing converters record
and records
.
Setting the configure_jinja
flag adds the following filters on jinja
templates: numberformat
, dateformat
, currencyformat
and
timedeltaformat
. The filters apply the same formatting as Tryton reports.
Nutshell
TODO: Add examples of use, and docs, all collaboration is welcome!, but for now you can see test_api.py file where there is examples ;)
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
fastapi_tryton-0.2.3.tar.gz
(19.5 kB
view hashes)
Built Distribution
fastapi_tryton-0.2.3-py3.10.egg
(13.9 kB
view hashes)