A short time ago, I discovered the LinuxFromScratch project. After getting a system up and working (after much struggling), I realized that if I wanted to continue using LFS, some sort of package management would be quite nice. Of course I could have installed Pacman, apt-get, rpm, etc. like any sane person, perhaps. Instead, I was interested in creating my own simple 'package management' system that would keep track of files that belonged to a certain package, etcetera.
and here is md5_gen.pymd5_gen.py (the idea for this code was found by searching Google for something like md5 python
"md5 python"):
Sample .crate file:Sample .crate file: