C3 is a stand-alone Python module designed for the characterization of organic and metallocage cavities. It employs scientific programming libraries, including NumPy, SciPy, and scikitlearn. Optional functionalities can be enabled using the chemical programming libraries RDKit, MDAnalysis, OpenBabel, and cgbind, which facilitate the handling of chemical structures, including the identification of functional group and the calculation of molecular properties.