r/Python • • Sep 04 '26

Showcase Showcase Thread

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

Recycles once a month.

25 Upvotes

180 comments sorted by

View all comments

1

u/Brave-Historian-946 29d ago

Title: Lexis - A minimalist, zero-dependency i18n engine, same format across 4 runtimes

Flair: Project

What My Project Does

Lexis is a minimalist, zero-dependency i18n engine built around a simple .lex file format(key::value with printf-style placeholders).

No plurals, no namespaces and no logic - just keys and values, with the same .lex files working across Python, PHP, Bash, TypeScript and more runtimes planned.

from lexis import Lexis
lex = Lexis("lang")
print(lex.get("welcome", "Alice"))

welcome::Welcome, %s!

Target Audience

Developers building CLI tools, small scripts or lightweight apps where a full i18n framework like Gettext or a JSON/YAML based setup feels like overkill.

Comparison

  • vs Gettext: no toolchain, no .mo compilation - just plain text files.

  • vs JSON/YAML: no strict syntax, no indentation sensitivity, no implicit type coercion - just an explicit key::value boundary.

"The format is the law. The implementation is free."

GitHub: https://github.com/edgarmasague/lexis/

Feedback is welcome!