pomponchik/astrologic
Автоматическая оптимизация кода на уровне AST
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.
Stars
18
Forks
2
Language
Python
License
MIT
Category
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.
Higher-rated alternatives
jenner/LstGen
Code-Generator für die Lohnsteuerberechnung aus PAP XML
wol-soft/php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
hiqdev/hidev
Automation tool mixed with code generator for easier continuous development
martin-helmich/php-schema2class
Generate PHP classes from JSON schemas
goetas-webservices/xsd2php
Convert XSD into PHP classes and JMS serializer definitions