Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_tryton-0.2.3-py3.10.egg (13.9 kB view details)

Uploaded Egg

File details

Details for the file fastapi_tryton-0.2.3.tar.gz.

File metadata

  • Download URL: fastapi_tryton-0.2.3.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.6

File hashes

Hashes for fastapi_tryton-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4a1462d61dd1a105e4260321bf67ed04a6a9641ababd0e4beff8b74d9194a6f4
MD5 464f9f63c9db58b453852e58413c4b8d
BLAKE2b-256 b7b1f8843bf0ae9d96c403d14ba0c1ce5c97592e4edefb58be4b7ead28aaff55

See more details on using hashes here.

File details

Details for the file fastapi_tryton-0.2.3-py3.10.egg.

File metadata

  • Download URL: fastapi_tryton-0.2.3-py3.10.egg
  • Upload date:
  • Size: 13.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.6

File hashes

Hashes for fastapi_tryton-0.2.3-py3.10.egg
Algorithm Hash digest
SHA256 d6b85a2ad2a2e443f11dc41656c3d8c9573cd752718f6834a8c5fcbb273e3171
MD5 6d07838f348037bdec4414669c030383
BLAKE2b-256 c17d7a607a1f94b3930b70d8419dd600cb77e944f538458940c02932ac5d81c5

See more details on using hashes here.

Supported by

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