Latest / Developer tools

Modshim

github.com · Package · Maintained

Customize Python packages with an overlay module instead of forking them

Visit github.com ↗Share

  • monkey patching
  • module
  • python monkey patch alternat
  • overlay python module
  • python package override
  • modify python package
Stars
482
Forks
6
Open issues
0
Last commit
Found
13 months ago

GitHub figures as of . They are context, not a ranking.

Modshim lets you change a third-party Python module by writing your modifications in a separate upper module that is combined with the original in a virtual module. It rewrites imports with AST transformations, which keeps the global namespace clean. It suits developers who need package changes without maintaining a fork.

Repository description on GitHub: “Override and customize Python packages without touching their code”

What it does

  • Overlays changes onto a third-party Python module without forking it
  • Rewrites imports with AST transformations
  • Combines the original and overlay modules into a virtual module

Good for

  • Patch a third-party Python package without vendoring it
  • Add behavior to a dependency without maintaining a fork

Suits: Python developers who need package changes without forking.

What you can try

Read the README on GitHub and install from source.

Install

pip install modshim

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Modshim on , when joouha posted it to Show HN. GitHub listed no published releases for joouha/modshim when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 109 points, 30 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 109 points, 30 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: joouha/modshim
  2. Found: joouha posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Modshim released?
No dated release record is available. Kip found it on Show HN on 16 Oct 2025.
Is Modshim open source?
Its source is public on GitHub at joouha/modshim under the MIT licence.
What does Modshim run on?
Library.
Is Modshim free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Modshim still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryjoouha/modshim
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-45604013. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.