X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/f1dec72014657ab33bffa8f68064d85cc862ea65..23f3187945d1cf4f3a9cdc43462be2ca39e7023a:/spec.py diff --git a/spec.py b/spec.py new file mode 100644 index 0000000..1322897 --- /dev/null +++ b/spec.py @@ -0,0 +1,21 @@ +# paperdoorknob: Print glowfic +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, version 3. + + +from dataclasses import dataclass + +from typing import IO + +from fetch import Fetcher +from texify import Texifier + + +@dataclass(frozen=True) +class Spec: + url: str + fetcher: Fetcher + texifier: Texifier + texout: IO[bytes]