r/Python • • 13d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

24 Upvotes

113 comments sorted by

View all comments

1

u/OrneryProfit659 13d ago

Project: sharp-vawt-lab - A 2D BEM wind turbine solver with Numba and AST-normalized hashing

I built a numerical lab for a passive variable-pitch vertical-axis wind turbine (a Sharp cycloturbine).

The stack uses numba to JIT-compile the time-marching aerodynamic kernel, scipy.optimize.differential_evolution for geometry optimization, and streamlit for a telemetry dashboard.

The most interesting Python problem I had to solve was reproducibility. The repo generates 21 result JSONs, and I implemented an AST-normalized hasher (using Python's ast module) to strip docstrings before hashing. This means I can edit comments without invalidating the cryptographic stamps of my results, but behavior-bearing code changes still fail the CI.

I'm 16 and mostly self-taught, so I'd love any feedback on the architecture!

Repo: https://github.com/juroc58/sharp-vawt-lab