CAT instance

How do I get and set information about my CAT instance?

Most important usage related to CAT instance is setting a license key and veryfing it was set correctly. Use these functions for that:

function purpose
get_instance gets information about the instance (license key, restrictions, version, implemented providers and expectations and others)
set_instance sets a license key

Examples

instance = cat.get_instance()
# what Plan (Personal, Business or Enterprise) was evaluated from License key
print(instance.Plan) 
# info about the key (returns only a part of the key)
print(instance.LicenseKey)

To set a license key:

cat.set_instance(license_key = 'your-license-key-comes-here')