2008-05-20

Pure-Python RAR and GIF handling

Posted in Geek Stuff, Site Updates at 1:18

Useful Hacks @ ssokolow.com

I just pushed my attempts at RAR and GIF handling in Python to my useful hacks page.

The GIF one functions as a partial validator, but it’s main designed purpose was to tell static from animated GIFs without a ton of dependencies.

The RAR one is only really useful for identifying RAR files by header and listing their contents so far, but I eventually hope to add support for extracting files which were stored without compression. (Usually video files, as the docstring says)

Enjoy.

Update: I’ve since been made aware of an alternative Python package for reading RAR files simply named rarfile. When I can find the time, I plan to examine it and, if it meets my needs or can be easily patched to do so, plan a migration and retirement path for my own rar.py.

2008-05-17

Status update

Posted in Geek Stuff, Site Updates at 0:15

Well, exams are over and the “no obligations” portion of my vacation is roughly half-way through. I’m not in a blogging mood at the moment, but I did write up a new Useful Hacks page on a whim.

Given how automated it is, it’ll probably get updated frequently. (I just drag-and-drop files into the FTP client and it does the rest)

Enjoy.

Bad Behavior has blocked 172 access attempts in the last 7 days.