Stitch your module into a single file.
Because packaging is overrated.
Serger is a Python module stitcher that combines multiple source files into a single executable script. It’s purely focused on stitching — no file copying, no complex build systems, just clean, config-driven module combination.
The self-contained executable script lives at bin/serger.py.
The only requirement is Python 3.10+ — no pip, no dependencies.
Download or copy that one file anywhere and run it directly:
python3 serger.py
That’s it. ✨
Serger includes a built-in self-check — no pytest required.
You can verify that the script works correctly on your system by running:
python3 serger.py --selftest
This creates a tiny temporary project, stitches a few test files, and confirms it completes successfully.
If you see a ✅ “Self-test passed” message, your installation is working perfectly.
You’re free to use, copy, and modify the script under the standard MIT terms.
The additional rider simply requests that this project not be used to train or fine-tune AI/ML systems until the author deems fair compensation frameworks exist.
Normal use, packaging, and redistribution for human developers are unaffected.