Discrete mathematical relation
A python class implementing a discrete, mathematical relationship. Supports all cardinalities:
1:M (and its inverse M:1)
M:M (or M:N if you insist)
Useful for all manners of invertible container goodness, including:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.