flayyer lib

Repository: https://github.com/flayyer/flayyer-python

Learn how to ingrate Flayyer with any Python framework. Here you will find the required documentation to use your templates on your websites. Note: Python 3.6+ is required.

We have created a library that can help you creating valid Flayyer URLs and so avoiding any potential issues with manually encoding values.

It is built as a Python package and is very lightweight and has zero dependencies. You can check the source-code on our GitHub: flayyer/flayyer-python.

Install it with Poetry, the modern package manager.

poetry add flayyer

After installing the package you can format URL as:

from flayyer import Flayyer
flayyer = Flayyer(
variables={"title": "Hello world!"},
# Use this image in your <head/> tags
url = flayyer.href()
# > https://flayyer.io/v2/tenant/deck/template.jpeg?__v=1596906866&title=Hello+world%21

For additional information about variables and other terminology please read Concepts.

Last updated on by Patricio López Juri