On this page
shimify
Prev: gitwriter | Up: projects | Next: homebrew-tap
Rel: wispsy, Tooling & Runtimes, echidnae
Ref: wispsy on GitHub
Tags: #public #wispsy #project #tooling #tier/specialized
Role
Source-level Python 3.14+ dependency analyzer and reducer (0.3.0, zero runtime deps)—explaining static import graphs (explain), extracting callable/class slices (extract), and generating auditable self-contained source bundles (modules) runnable under python -I -S.
Install
python -m pip install shimify==0.3.0
Quickstart
# Inspect static import graph, extract a slice, or emit an isolated bundle
shimify explain path/to/app.py --json
shimify extract path/to/app.py target_func --output build/slice.py
shimify modules path/to/app.py --output build/bundle
python -I -S build/bundle/run.py
When to Reach for It
- Auditing exactly which modules and licenses a Python script pulls in, or emitting minimal self-contained source bundles with a
SHIMIFY-MANIFEST.json.
Gotchas & Pitfalls
- Static import analysis only:
explain,extract, andmodulesanalyze Python AST imports (>=3.14, zero runtime deps); dynamicimportlib.import_module()or__import__()calls cannot be discovered statically and must be included explicitly. - Pure-Python bundles: Generated
python -I -Ssource bundles work for pure-Python modules; compiled C extensions cannot be inlined as source files. - Inspect
SHIMIFY-MANIFEST.json: Always review the emitted manifest and license inventory before redistributing reduced third-party source slices.
Pairs With
- echidnae — Targets compact, auditable offline bundles.
- evok — Complements pure-Python packaging and runtime tooling.
Metadata
type: project-card
slug: shimify
org: wispsy
repo: wispsy/shimify
package: shimify
version: 0.3.0
requires_python: ">=3.14"
layer: tooling
topic: wispsy-tooling
status: experimental
language: python
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/echidnae Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/evok Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/gitwriter Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/homebrew-tap Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/stack/tooling Linked here; links to this page; shared tags: #tier, #tooling, #wispsy
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy
- wiki/families links to this page; shared tags: #tier, #wispsy
- wiki/orgs/wispsy Linked here; shared tags: #tier, #wispsy
- tuts/third_party/python3/wispsy links to this page; shared tags: #tier