2 projects
django-sortedone2many
Provide a one-to-many relationship that also remembers the order of related objects.
midict
MIDict (Multi-Index Dict) can be indexed by any "keys" or "values", suitable as a bidirectional/inverse dict or a multi-key/multi-value dict (a drop-in replacement for dict in Python 2 & 3).