Anentropic

Projects on GitHub


django-conditional-aggregates

Django aggregate functions which operate conditionally (i.e. generate SQL CASE statements) ...useful when combining aggregate functions with a GROUP BY clause. eg ConditionalSum.
For Django 1.5/1.6 only.
(From Django 1.8 onwards this feature is now provided by the Django ORM)

depop/django-concurrent-test-helper

Helpers for executing Django app code concurrently within Django tests.
If you're using SQLite in your tests then this workaround is not needed. But at Depop we had a suite of integration tests running against actual Postgres and Mongo servers and this utility helped us to reproduce several race conditions and confirm when successfully fixed.

factoryboy-gaendb

Factoryboy base factories and helpers for Google App Engine ndb models. To help with unit testing projects using App Engine datastore.

django-cas-cache

Django cache backends supporting CAS (compare-and-set) operation. Memcache, Redis and Dummy backends. CAS allows updating a value without risk of race condition bugs.

django-exclusivebooleanfield

Provides an ExclusiveBooleanField which is a boolean (database) field where only one row in the table (or optionally, a subset of rows based on value of other fields) is True and all the other rows are False.

dirtyebay

An eBay API client which respects XSD schema and talks SOAP, but doesn't use Suds. With a clean and simple interface and low memory usage (unlike Suds+WSDL...).

django-tempocal

An extension of the Python stdlib's calendar.HTMLCalendar that makes use of Django templates to customise the output. After all, it's pretty lame having hard-coded HTML output.