summaryrefslogtreecommitdiff
path: root/shopdb/_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'shopdb/_base.py')
-rw-r--r--shopdb/_base.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/shopdb/_base.py b/shopdb/_base.py
new file mode 100644
index 0000000..d337790
--- /dev/null
+++ b/shopdb/_base.py
@@ -0,0 +1,8 @@
+__all__ = ["engine", "Base"]
+
+
+import sqlalchemy
+
+
+engine = sqlalchemy.create_engine('sqlite:///:memory:', echo=True)
+Base = sqlalchemy.ext.declarative.declarative_base