meta.py 183 Bytes
Newer Older
Dylan Jones's avatar
Dylan Jones committed
1
2
3
4
5
6
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

engine = create_engine('sqlite:///db.sqlite3')  # TODO configurable

Session = sessionmaker(bind=engine)