Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Ages ago, I wrote https://github.com/barrycarter/bcapps/blob/master/bc-quikbak.pl (Perl not Python) which simply creates a large file of appended timestamped patches. When something goes wrong, I just quikbak the latest version and then look at the latest patch to see what I changed. In many cases, I don't even need to recover the old version, just see the changes. This is almost certainly the wrong way to do it, but back in the day...
Pure python implementation of git. https://github.com/jelmer/dulwich I haven't tested this, but git is mostly just a data structure and can be written in any language.
https://github.com/FriendCode/gittle higher level implementation that is probably more user friendly https://wyag.thb.lt/ also you can roll your own
Related posts
- To the programmers in London: There is an open-source Python package named after Dulwich
- TIL that there is an open-source Python package called "Dulwich", and why it's named after an area in London: It's a pure Python version of Git, and the name comes from a Monty Python sketch, where the characters Mr. and Mrs. Git live and occasionally attend to cocktail parties.
- Running Vim on Windows 10 @ Work - Need Assistance With _vimrc
- I Parsed Git Statistics
- How to setup Black and pre-commit in python for auto text-formatting on commit