paul.annesley.cc

uuid.py Gist on GitHub

Very light ID server, increments in memory, periodically flushes to disk asynchronously whilst guaranteeing uniqueness (with sequence gaps) across crashes.