python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.tgs Namespace Reference

Functions

def parse_tgs_json (file, encoding="utf-8")
 Reads both tgs and lottie files, returns the json structure. More...
 
def open_maybe_gzipped (file, on_open, encoding="utf-8")
 
def parse_tgs (filename, encoding="utf-8")
 Reads both tgs and lottie files. More...
 

Function Documentation

◆ open_maybe_gzipped()

def lottie.parsers.tgs.open_maybe_gzipped (   file,
  on_open,
  encoding = "utf-8" 
)

Definition at line 14 of file tgs.py.

◆ parse_tgs()

def lottie.parsers.tgs.parse_tgs (   filename,
  encoding = "utf-8" 
)

Reads both tgs and lottie files.

Definition at line 41 of file tgs.py.

◆ parse_tgs_json()

def lottie.parsers.tgs.parse_tgs_json (   file,
  encoding = "utf-8" 
)

Reads both tgs and lottie files, returns the json structure.

Definition at line 7 of file tgs.py.