python-opensource Example: from opensource import licenses for license in licenses.tagged("copyleft"): print(license['name'])