IdeaCredIdeaCred

pro-grammer-SD/autonumba

47

โšก Auto-JIT your Python code with Numba @njit + optional AOT compilation ๐Ÿš€ Numeric-heavy code, boosted fast ๐ŸŽ๏ธ

What's novel

โšก Auto-JIT your Python code with Numba @njit + optional AOT compilation ๐Ÿš€ Numeric-heavy code, boosted fast ๐ŸŽ๏ธ

Code Analysis

8 files read ยท 3 rounds

A CLI tool that uses Python's ast module to parse source files and inject @njit decorators onto all function definitions, then optionally compiles the result with Cython or Nuitka.

Strengths

The AST-based injection approach is clean and correct in principle, and the project is small enough to be fully understood in minutes. The CLI interface with progress bars and the #nonumba escape hatch are practical touches.

Weaknesses

ast.unparse() destroys all comments, docstrings-as-comments, and formatting, making the output unsuitable for real codebases. The flag logic is broken (args.cache or True always evaluates True), Cython is imported but not declared as a dependency, the example code would crash under Numba due to random.random(), and there are zero tests.

Score Breakdown

Innovation
4 (25%)
Craft
44 (35%)
Traction
20 (15%)
Scope
45 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci-1
Tests-1
Polish+1
Releases+0
Has License+5
Code Quality+11
Readme Quality+15
Recent Activity+4
Structure Quality+5
Commit Consistency+0
Has Dependency Mgmt+5

Traction

Forks+0
Stars+12
Hn Points+0
Watchers+3
Early Traction+5
Devto Reactions+0
Community Contribs+0

Scope

Commits+3
Languages+3
Subsystems+5
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+8
Readme Code Match+3
Architecture Depth+3
Implementation Depth+8

Evidence

Commits

6

Contributors

1

Files

16

Active weeks

2

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

5

Forks

0

License

MIT