main APIs

This commit is contained in:
Fabien LOISON 2017-12-13 11:35:47 +01:00
parent 2575a32e31
commit 21c925f760
No known key found for this signature in database
GPG Key ID: FF90CA148348048E
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,2 @@
from . import image # noqa
from . import model # noqa

View File

@ -0,0 +1,8 @@
from .options import normalize_options
def optimize(input_file, output_file, options={}):
options = normalize_options(options)
# TODO input_file -> string (path), bytes, file-like
# TODO output_file -> string (path), file-like
raise NotImplementedError() # TODO

View File

@ -0,0 +1,5 @@
def optimize(input_file, output_file, options={}):
# TODO normalize options
# TODO input_file -> string (path), bytes, file-like
# TODO output_file -> string (path), file-like
raise NotImplementedError() # TODO