Some checks failed
CI / skinny-install (aco) (push) Successful in 1m12s
CI / skinny-install (api) (push) Successful in 30s
CI / skinny-install (bcda) (push) Successful in 36s
CI / skinny-install (bib) (push) Successful in 35s
CI / skinny-install (bls) (push) Successful in 27s
CI / skinny-install (ccw) (push) Successful in 32s
CI / skinny-install (cli) (push) Successful in 41s
CI / skinny-install (cms) (push) Successful in 37s
CI / skinny-install (conf) (push) Successful in 38s
CI / skinny-install (opps) (push) Successful in 33s
CI / skinny-install (perf) (push) Successful in 38s
CI / skinny-install (pfs) (push) Successful in 38s
CI / skinny-install (rex) (push) Successful in 34s
Deploy / build-scan-report (push) Failing after 46s
Infra CI / notebooks (push) Failing after 25s
Infra CI / zotero (push) Successful in 12s
Infra CI / docs (push) Failing after 16s
CI / lint-test (push) Failing after 11m2s
Infra CI / mc (push) Successful in 21s
Infra CI / api (push) Successful in 29s
Package Supply Chain / pkg-supply-chain (push) Failing after 41s
Mail: Maddy on DO (corwins.media+Resend, fhirworx.io+Postmark), touchless/stateless/idempotent. Gitea SMTP via env_file. CMS inbox at cmsupdates@mail.fhirworx.io with IMAP→bib poller. Bib: regulations.gov v4 client, Federal Register discovery, 164K comment backfill (running), IMAP email ingest, Zotero sync routing. PRISMA: altcha PoW solver, CrossRef DOI resolution, 83/129 PDFs. Zotero: schema parity, ops module, CLI, fail-fast guard. CI: docs.Dockerfile COPY glob fix (tracks #341). Infra: Gitea+marimo fhirworx themes, IOM/OIG modules.
58 lines
1.0 KiB
Python
58 lines
1.0 KiB
Python
import marimo
|
|
|
|
__generated_with = "0.20.4"
|
|
app = marimo.App(width="full")
|
|
|
|
|
|
@app.cell(hide_code=True)
|
|
def _():
|
|
import marimo as mo
|
|
|
|
return (mo,)
|
|
|
|
|
|
@app.cell(hide_code=True)
|
|
def _():
|
|
import altair as alt
|
|
import polars as pl
|
|
|
|
from conf import connect
|
|
|
|
connect.theme()
|
|
|
|
con = connect.duckdb()
|
|
_s3 = connect.obstore() # noqa: F841 — marimo auto-discovers in Files panel
|
|
|
|
def q(sql):
|
|
"""Run SQL and return a Polars DataFrame."""
|
|
return con.execute(sql).pl()
|
|
|
|
return alt, con, pl, q
|
|
|
|
|
|
@app.cell(hide_code=True)
|
|
def _(mo):
|
|
mo.md("""
|
|
# Notebook Title
|
|
|
|
Description of the analysis.
|
|
""")
|
|
return
|
|
|
|
|
|
@app.cell(hide_code=True)
|
|
def _(mo, q):
|
|
schemas = q("""
|
|
SELECT table_schema AS schema, count(*) AS tables
|
|
FROM information_schema.tables
|
|
WHERE table_schema != 'information_schema'
|
|
GROUP BY table_schema
|
|
ORDER BY tables DESC
|
|
""")
|
|
mo.ui.table(schemas, label="Available Schemas")
|
|
return
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run()
|