31ece2e99a
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
489 B
Python
24 lines
489 B
Python
from pathlib import Path
|
|
import sys
|
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
if str(ROOT) not in sys.path:
|
|
sys.path.insert(0, str(ROOT))
|
|
|
|
MODELS_DIR = ROOT / "src" / "models"
|
|
|
|
|
|
def main() -> None:
|
|
model_files = sorted(
|
|
path.stem
|
|
for path in MODELS_DIR.glob("*.py")
|
|
if path.is_file() and path.stem != "__init__"
|
|
)
|
|
print(f"model exports: {len(model_files)}")
|
|
for name in model_files:
|
|
print(name)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|