diff --git a/src/python/flowmetal/__main__.py b/src/python/flowmetal/__main__.py deleted file mode 100644 index 7fd4e13..0000000 --- a/src/python/flowmetal/__main__.py +++ /dev/null @@ -1,26 +0,0 @@ -""" -The Flowmetal server entry point. -""" - -import click -from flowmetal import ( - frontend, - interpreter, - reaper, - scheduler, -) - - -@click.group() -def cli(): - pass - - -cli.add_command(frontend.cli, name="frontend") -cli.add_command(interpreter.cli, name="interpreter") -cli.add_command(scheduler.cli, name="scheduler") -cli.add_command(reaper.cli, name="reaper") - - -if __name__ == "__main__": - cli() diff --git a/src/python/flowmetal/db/base.py b/src/python/flowmetal/db/base.py deleted file mode 100644 index 13e8023..0000000 --- a/src/python/flowmetal/db/base.py +++ /dev/null @@ -1,28 +0,0 @@ -""" -An abstract or base Flowmetal DB. -""" - -from abc import ( - abstractclassmethod, - abstractmethod, -) - - -class Db(ABC): - """An abstract Flowmetal DB.""" - - @abstractclassmethod - def connect(cls, config): - """Build and return a connected DB.""" - - @abstractmethod - def disconnect(self): - """Disconnect from the underlying DB.""" - - def close(self): - """An alias for disconnect allowing for it to quack as a closable.""" - self.disconnect() - - @abstractmethod - def reconnect(self): - """Attempt to reconnect; either after an error or disconnecting.""" diff --git a/src/python/flowmetal/db/redis.py b/src/python/flowmetal/db/redis.py deleted file mode 100644 index 7294778..0000000 --- a/src/python/flowmetal/db/redis.py +++ /dev/null @@ -1,3 +0,0 @@ -""" -An implementation of the Flowmetal DB backed by Redis. -""" diff --git a/src/python/flowmetal/frontend.py b/src/python/flowmetal/frontend.py deleted file mode 100644 index 82475bb..0000000 --- a/src/python/flowmetal/frontend.py +++ /dev/null @@ -1,9 +0,0 @@ -""" -""" - -import click - - -@click.group() -def cli(): - pass diff --git a/src/python/flowmetal/interpreter.py b/src/python/flowmetal/interpreter.py deleted file mode 100644 index 82475bb..0000000 --- a/src/python/flowmetal/interpreter.py +++ /dev/null @@ -1,9 +0,0 @@ -""" -""" - -import click - - -@click.group() -def cli(): - pass diff --git a/src/python/flowmetal/models.py b/src/python/flowmetal/models.py deleted file mode 100644 index ebf7bee..0000000 --- a/src/python/flowmetal/models.py +++ /dev/null @@ -1,3 +0,0 @@ -""" -Somewhat generic models of Flowmetal programs. -""" diff --git a/src/python/flowmetal/reaper.py b/src/python/flowmetal/reaper.py deleted file mode 100644 index 82475bb..0000000 --- a/src/python/flowmetal/reaper.py +++ /dev/null @@ -1,9 +0,0 @@ -""" -""" - -import click - - -@click.group() -def cli(): - pass diff --git a/src/python/flowmetal/scheduler.py b/src/python/flowmetal/scheduler.py deleted file mode 100644 index 82475bb..0000000 --- a/src/python/flowmetal/scheduler.py +++ /dev/null @@ -1,9 +0,0 @@ -""" -""" - -import click - - -@click.group() -def cli(): - pass