seomoz/simhash-db-py — pull request #6 by sistawendy (2013-07-02 18:57:51+00:00)
Title: Allow retention by weeks, not just months.

For when your MongoDB just can't handle a month's worth of data in a single DB.

I make sure that week boundaries are fixed at the start of day 0, which according dateutil.relativedelta is Monday.