frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Find hidden binary dependencies & subprocess calls in Python packages

https://surfactant.readthedocs.io/en/latest/pypi_dependency_analyzer.html
1•rmast•1h ago
Hi everyone!

I maintain an open source project (Surfactant) where I aim to keep the core framework "pure Python" to maximize portability. I specifically want to avoid surprises where a new Python version drops and a transitive dependency fails to install because it lacks an abi3 wheel or an sdist fallback (looking at you, LIEF).

Existing visualizers didn't offer a way to filter specifically for native/compiled code, so I built this client-side tool to help audit my dependencies.

  1) Tree Visualization: Fetches metadata from PyPI to build the interactive graph.

  2) Binary Detection: Highlights packages that are binary wheels only, missing sdists, or lack stable ABI tags (abi3).

  3) Deep Scan: Optionally downloads wheels to memory and scans for subprocess or os.system calls using regex, to catch "implicit" system dependencies (or dependencies that are just a Python wrapper around another tool).
I've also been interested in getting Python tools running in the browser via Pyodide, and this has helped me locate dependencies that would be problematic in a WASM environment.

The source code is a single HTML file: https://github.com/llnl/Surfactant/blob/main/docs/_static_ht...

(I prototyped with Claude/Gemini, and iterated manually some to resolve edge cases like aliased imports and CSS styling quirks.)

Ideas for improvements are welcome! Dependency resolution (like uv) would be amazing, though that likely requires cross-compiling pubgrub-rs to WebAssembly.

Comments

rmast•53m ago
unblob is a pretty good one to try if you need inspiration - it pulls in both lief (no abi3 wheels or sdist), and rarfile (subprocess spawning using import “as”).

Comparison of 14 data analytics agents

https://thenewaiorder.substack.com/p/i-tested-14-analytics-agents-so-you
1•blef•1m ago•0 comments

Stablecoin Narrow Banking

https://www.bloomberg.com/opinion/newsletters/2026-01-15/stablecoin-narrow-banking
1•feross•4m ago•0 comments

Offline voice input keyboard for Android using Nvidia's Parakeet v3

https://github.com/notune/android_transcribe_app
1•fittingopposite•4m ago•1 comments

Show HN: Jtpck sends your Claude Code, Codex, and Gemini CLI back to you

https://JTPCK.com
1•piratebroadcast•4m ago•0 comments

Dell warns against reusing SSDs as flash shortages bite

https://blocksandfiles.com/2026/01/15/dell-flash-reclaim/
1•tanelpoder•8m ago•0 comments

2026: This is AGI

https://sequoiacap.com/article/2026-this-is-agi/
2•tfincannon•8m ago•2 comments

Systemd, Vsock, & OpenSSH-Server

https://blog.nsrun.io/2026/01/15/systemd-vsock-openssh-server/
1•nyrikki•10m ago•1 comments

The Golden Thread

https://roe.dev/blog/the-golden-thread
2•rmason•12m ago•0 comments

Data Science Weekly – Issue 634

https://datascienceweekly.substack.com/p/data-science-weekly-issue-634
1•sebg•14m ago•0 comments

Depth-First Unary Degree Sequence

https://bruceediger.com/posts/dfuds/
1•todsacerdoti•15m ago•0 comments

The foundation powering modern AI agents

https://starterbase.dev
1•edihasaj•17m ago•0 comments

BugStalker for Rust

https://godzie44.github.io/BugStalker/
1•electronsoup•20m ago•0 comments

Google to pay $8.25mm to settle lawsuit alleging children's privacy violations

https://therecord.media/google-youtube-lawsuit-settle
2•WaitWaitWha•20m ago•1 comments

Senegal's Spear-Wielding Savannah Chimps Yield Clues on Humanity's Past

https://www.barrons.com/news/senegal-s-spear-wielding-savannah-chimps-yield-clues-on-humanity-s-p...
2•wjb3•21m ago•0 comments

DHS Secretary Kristi Noem Says People Should Be Prepared to Prove US Citizenship

https://www.newsweek.com/kristi-noem-ice-us-citizenship-minnesota-shooting-identity-11366671
16•throw0101c•23m ago•6 comments

Skin Implant That Glows Green May Help Detect Illness in Advance

https://talker.news/2026/01/12/japanese-scientists-living-skin-implant-glows-to-warn-of-illness/
1•wjb3•23m ago•0 comments

Solving for ambiguity as a staff software engineer

https://ashgaikwad.substack.com/p/solving-for-ambiguity
1•ashgkwd•23m ago•0 comments

'Star Wars' Boss [Kathleen Kennedy] Departs, Ending an Asteroid-Filled Reign

https://www.nytimes.com/2026/01/15/business/star-wars-lucasfilm-kathleen-kennedy.htmlu6
2•falcor84•24m ago•2 comments

Aspartame decreases fat but reduces cognitive performance and enlarges heart

https://www.sciencedirect.com/science/article/pii/S0753332225010856
2•PaulHoule•25m ago•0 comments

Cursor CEO Built a Browser Using AI, but Does It Work?

https://www.finalroundai.com/blog/cursor-ceo-browser-made-using-ai
1•signa11•27m ago•0 comments

Ask HN: Did OpenAI just disable codex CLI login for workspace accounts?

2•amluto•27m ago•0 comments

A polyhedral structure controls programmable self-assembly

https://www.nature.com/articles/s41567-025-03120-3
2•bookofjoe•30m ago•0 comments

UAT-8837 (probably CCP) targets critical infrastructure sectors in North America

https://blog.talosintelligence.com/uat-8837/
1•737min•31m ago•0 comments

How the Dutch Lost Their Empire (and Why the US Is Next) [video]

https://www.youtube.com/watch?v=qc4WKnvThX4
3•barbazoo•32m ago•0 comments

Culture warriors cancel new U of A law dean before she started

https://arktimes.com/arkansas-blog/2026/01/15/culture-warriors-cancel-new-u-of-a-law-dean-before-...
6•petethomas•32m ago•0 comments

What a Wolf Pup's Stomach Revealed About the Woolly Rhino's Extinction

https://www.nytimes.com/2026/01/14/science/woolly-rhino-wolf-stomach-dna.html
1•Hooke•34m ago•0 comments

Show HN: Run Dia2 TTS Without a GPU

https://github.com/khariha/dia2-easy-tts
1•quicheshore2003•34m ago•0 comments

Gaming on Linux just got a bump with new Wine 11 improvements

https://www.pcgamer.com/hardware/gaming-on-linux-just-got-a-bump-with-new-wine-11-improvements-th...
5•evo_9•37m ago•0 comments

Show HN: Lifescreen – An Android app that shows your life on one screen

https://play.google.com/store/apps/details?id=com.bor96dev.lifescreen&hl=en_US
1•borboz96•38m ago•0 comments

When protections outlive their purpose: Managing defense systems at scale

https://github.blog/engineering/infrastructure/when-protections-outlive-their-purpose-a-lesson-on...
2•edmorley•40m ago•0 comments