init commit with repo structure and basic files

This commit is contained in:
Hubert Bryłkowski 2023-07-09 14:24:31 +02:00 committed by Piotr Gaczkowski
parent 41ad34550b
commit 662e82f46e
14 changed files with 393 additions and 0 deletions

15
labeler/interfaces.py Normal file
View file

@ -0,0 +1,15 @@
import abc
from labeler.domain.objects import LabelDefinition, Image, MediaDefinition
class Renderer(abc.ABC):
@abc.abstractmethod
def render_label(self, label_definition: LabelDefinition) -> Image:
pass
class Printer(abc.ABC):
@abc.abstractmethod
def get_installed_media(self) -> MediaDefinition:
pass