pomponchik/astrologic

Автоматическая оптимизация кода на уровне AST

38
/ 100
Emerging

Performs runtime function optimization and synthesis by extracting source code, parsing it into an AST using Python's `ast` module, applying transformations (tail recursion optimization, function inlining, conditional code blocks), recompiling to bytecode, and executing via `exec()` with preserved namespace context. Integrates with Python's introspection tools (`inspect.getsource`) and `importlib` to maintain access to original module dependencies, though the approach carries significant trade-offs including altered stack traces, initialization overhead, and semantic divergence from written code.

No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 11 / 25
Maturity 18 / 25
Community 9 / 25

How are scores calculated?

Stars

18

Forks

2

Language

Python

License

MIT

Last pushed

Mar 10, 2025

Monthly downloads

186

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/pomponchik/astrologic"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.