ripex 0.2.0

Multi-language structural parsing and fact extraction.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""ripex-lang-test: Python config — typed constants, f-strings (gap: exprs dropped)."""
import os
from typing import Final, List

APP_NAME: Final[str] = "RipexLangTest"
VERSION: Final[str] = "1.0.0"
DEBUG: Final[bool] = os.environ.get("RIPEX_DEBUG", "false").lower() == "true"
MAX_RETRIES: Final[int] = 3
ALLOWED_ORIGINS: Final[List[str]] = ["http://localhost:3000"]


def get_db_url() -> str:
    return os.environ.get("DATABASE_URL", "sqlite:///ripex.db")


def report() -> str:
    # f-string with embedded expression — known silent drop in ripex
    return f"{APP_NAME} v{VERSION} (debug={DEBUG})"