I love how stupid this project is

si units and redefining speed metric as thrust/weight ratio
This commit is contained in:
2026-03-04 16:30:09 -06:00
parent 216879bdd5
commit 00cc8dd9ef
19 changed files with 494 additions and 341 deletions

View File

@@ -11,6 +11,7 @@ from flask import Flask, g
from physcom.db.schema import init_db
from physcom.db.repository import Repository
from physcom.units import format_quantity
DEFAULT_DB = Path("data/physcom.db")
@@ -101,6 +102,7 @@ def create_app() -> Flask:
app.secret_key = _load_or_generate_secret_key()
app.jinja_env.filters["si"] = _si_format
app.jinja_env.filters["qty"] = format_quantity
app.teardown_appcontext(close_db)