init commit with repo structure and basic files
This commit is contained in:
parent
41ad34550b
commit
2fda40860a
13 changed files with 393 additions and 0 deletions
15
labeler/interfaces.py
Normal file
15
labeler/interfaces.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue