Python modulesLGPL3 GPL3
This page lists a few Python modules I've written; most stuff is fairly well documented with more information than I've given here. Within each section, I've ordered them, quite subjectively, in some sort of mix of interestingness, usefulness and recency, 'best' first.
My game engine contains some modules for making Pygame games that are somewhat reusable as standalone modules.
Possibly 3.0, 3.1 or 3.2. Go with 3.2 (or later) if you can.
- gcutil For managing GameCube filesystems.
- fsmanage (depends on PyGObject 3) A GTK3 file manager for an arbitrary filesystem backend. This is deprecated in favour of a rewritten version.
- srss Streaming RSS feed creator/maintainer.
2.6 or later 2.x; possibly 2.5 or something in cases, but don't count on it.
- cmdparse (depends on miscutil) A CLI command parser - stuff like
program command [options] [arguments]. Inspired by Mercurial, it accepts any unambiguous abbreviation of known commands.
- stringcompress Encode strings to an arbitrary character set, and get good compression for strings only using a few characters (especially if you know what those characters will be).
- htmlparse (depends on miscutil) Parse (X)HTML (and apply CSS selections to the result).
- dispman (depends on Pygame) Manage multiple displays on a single Pygame surface.
- tiler (depends on Pygame) Draw and manage a tiled grid in Pygame.
- fetch (depends on PycURL) Easy URL fetching with cookies and parallel transfers and stuff.
- sph A spatial hash implementation.
- gtkutil (depends on PyGTK) General PyGTK stuff.
- miscutil A few miscellaneous things.
- mwbot (depends on htmlparse, fetch, PycURL) Read from and write to MediaWiki installations: fetch and process data; perform edits, moves, deletions and the like. This
iswas going through a bit of a transformation and only the basics really work.