Better HN
topnewbestaskshowjobs
Log inSign up

xuraiis

2 karma · joined Jul 23, 2019 (7y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

Awesome project! Didn’t realise this existed when I took a stab at implementing a similar thing a few months back: https://github.com/nmichlo/pydependence using graph traversal of imports as well as naive support for lazy imports to generate optional extras as well as modify the pyproject.toml as part of pre-commit hooks.

Edit: the main goal was to generate optional extras for different entry points in a large codebase, find missing or extra imports, resolve dependencies across multiple repos, and see which files reference the mapped packages. Ideally if you have many internal repos which are not published and you cannot correctly use dependency resolution, then you can generate requirements before you pass them onto something like UV.

2.

Show HN: Ruck – Genetic Algorithms Inspired by PyTorch Lightning Modules(github.com ↗)

2 points · by xuraiis · 5y ago · discuss

comment 5y ago · link · parent

I imagine visual programming like this could be excellent for ML, designing the pipeline and models?

I just haven’t seen any high quality attempts?