File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[project ]
22name = " lingua-loop"
3- version = " 0.1.3"
3+ version = " 0.1.4"
4+ authors = [
5+ {name =" Jared Frazier" , email =" cscidev001@gmail.com" }
6+ ]
47description = " A web application to train your listening skills by transcribing real speech from YouTube videos."
58readme = " README.md"
69license = " MIT"
710license-files = [ " LICENSE" ]
811requires-python = " >=3.12"
12+ classifiers = [
13+ " Programming Language :: Python :: 3" ,
14+ " Operating System :: OS Independent" ,
15+ ]
916dependencies = [
1017 " aiosqlite>=0.22.1" ,
1118 " fastapi[standard]>=0.135.1" ,
@@ -16,6 +23,9 @@ dependencies = [
1623[project .scripts ]
1724lingua-loop = " lingua_loop.scripts.run:run"
1825
26+ [project .urls ]
27+ Homepage = " https://github.com/jfdev001/lingua-loop"
28+
1929# https://github.com/astral-sh/uv/issues/9271#issuecomment-2488635515
2030[build-system ]
2131requires = [" setuptools>=42" ]
Original file line number Diff line number Diff line change 11from contextlib import asynccontextmanager
2+ from os import remove
23from typing import TypedDict
34
45from fastapi import FastAPI
@@ -30,6 +31,8 @@ async def lifespan(app: FastAPI):
3031 await create_db_and_tables (async_engine = async_engine )
3132 yield {"async_session_maker" : async_session_maker }
3233 await shutdown (async_engine = async_engine )
34+ if async_engine .url .database : # TODO: basically in mem db for now
35+ remove (async_engine .url .database )
3336
3437
3538def create_app () -> FastAPI :
You can’t perform that action at this time.
0 commit comments