Skip to main content
Python 3 package licensing 0.54. Reviewed source revision.

increment_int_value_to_key

Increase a license data object’s integer value, optionally enforcing an upper bound.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

decrement_int_value_to_key

Decrease a license data object’s integer value, optionally enforcing a lower bound.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

add_data_object_to_key

Add a data object to a license.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

remove_data_object_to_key

Remove a data object from a license.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

add_data_object_to_machine

Add a data object to a registered activation.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

remove_data_object_to_machine

Remove a data object from an activation.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

list_machine_data_objects

List an activation’s data objects.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

list_key_data_objects

List a license’s data objects.

Parameters

Result

Returns (response_dict, ''). Read the result fields described in the linked API reference from that dictionary. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference. Python SDK Reference