python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
core.py
Go to the documentation of this file.
1 from .base import importer
2 from ..parsers.tgs import parse_tgs
3 
4 
5 @importer("Lottie JSON / Telegram Sticker", ["json", "tgs"], slug="lottie")
6 def import_tgs(file, *a, **kw):
7  return parse_tgs(file, *a, **kw)
lottie.parsers.tgs.parse_tgs
def parse_tgs(filename)
Reads both tgs and lottie files.
Definition: tgs.py:41
lottie.importers.core.import_tgs
def import_tgs(file, *a, **kw)
Definition: core.py:6
lottie.importers.base.importer
importer
Definition: base.py:21