drathier/stack-overflow-import
Import arbitrary code from Stack Overflow as Python modules. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3597
- days_rel: n/a
- days_push: 1698
- n_releases_24m: 0
Adoption not part of the score
3731 stars · 130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python import hook that fetches code from Stack Overflow search results and imports it as modules, e.g. `from stackoverflow import quick_sort`. It picks the highest-voted answer's largest syntactically valid code block and exposes it as a module.
Use cases
- import quicksort implementation from stack overflow
- copy-paste from stack overflow automatically in python
- fetch code snippets as python modules
- prototype using code from stack overflow answers
- joke import tool for python
When to choose
- you want a fun novelty demo of import hooks
- you're prototyping throwaway code and don't mind unvetted snippets
When to avoid
- production code
- security-sensitive projects since imported code is unvetted
- projects requiring clear licensing of dependencies
Facets
library · maturity maintenance
package-manager developer-tools parser developer-tools programming-languages python cross-platform stackoverflow novelty import-hook code-reuse automation
1 source
- readme: https://github.com/drathier/stack-overflow-import · fetched 2026-08-28 · 07b79e8fc69f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| drathier/stack-overflow-import | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="drathier/stack-overflow-import")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem