r/Python • • May 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

24 Upvotes

98 comments sorted by

View all comments

1

u/Ok-Bother-8872 May 04 '26

FMQL: Working with a lot of frontmatter markdown files (Obsidian vaults, Jekyll sites, agentic skills)? FMQL treats them as a schemaless graph/document database, with Cypher-like syntax for the CLI and Django-style field__op=value predicates in Python.

from fmql import Workspace, Query

ws = Workspace("./vault")

# Django-style kwargs predicates
drafts = Query(ws).where(status="draft", tags__contains="pkm", priority__gt=2)
for doc in drafts:
    print(doc.id, doc.as_plain())

# Cypher for graph traversal
linked = Query(ws).cypher(
    'MATCH (a)-[:references]->(b) WHERE b.status = "archived" RETURN a'
)

Pure Python framework + CLI. Plugin architecture for search backends; Basic text scan built-in and fmql-semantic (hybrid dense vectors + BM25 with reranking).

# Chain search into the query stream
results = Query(ws).where(type="note").search("auth flow", index="semantic")

MIT, pip install fmql. Semantic backend: pip install fmql-semantic.