cardinality.py
is a small tool written in Python for examining the cardinality of a relation between two datasets. All the code is contained within a single file that can be imported using Python's import mechanism or used as a command-line tool.
This is the initial release.