Releases: Cumulocity-IoT/cumulocity-python-api
Releases · Cumulocity-IoT/cumulocity-python-api
Release 3.4.0-beta.1
- Updated and rewrote Notification 2.0 listener implementation. Added additional parameters for more control:
consumer_name
,shared
,auto_ack
andauto_unsubscribe
. Addedunsubscribe
function for removing
subscribers on demand. BothAsyncListener
andListener
now provide consistentstart
/stop
functions
which take care of coroutine and thread creation. Thelisten
function can still be invoked directly if
necessary.
Release 3.3.0
This release includes many usability and stability fixes:
- Added
get_by
function to inventory API to return a single object by query. - Added
CumulocityApp
class to modulec8y_tk.app
which allows working with Cumulocity interactively, e.g. in a
Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
c8y-go-cli tool. - Added
c8y_tk.app
packages withSubscriptionListener
class to ease development of multi_tenant microservices
which need to act on all subscribed tenants or on added/removed subscriptions alike. - Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
- Single and multi tenant applications now automatically set the
application_key
property from the standard
APPLICATION_KEY
environment variable. - Added
get_count
function toOperations
API. - Added
as_values
parameter toget_all
andselect
functions of the Inventory, DeviceInventory,
DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API. - Added code coverage reporting to
test
target for invoke. - Updated
as_tuple
for complex objects as well as theas_values
parameter forselect
andget_all
functions to work with strings or 2-tuples. The use of a dictionary
was removed as dictionaries don't define an order. - Added
as_values
parameter to the Measurements APIselect
andget_all
functions. - Adding
c8y_tk.analytics
package withto_numpy
,to_series
andto_data_frame
functions to
ease incorporating Cumulocity data into standard analytics pipelines.
Version 3.3.0 RC2
- Added
get_by
function to inventory API to return a single object by query. - Added
CumulocityApp
class to modulec8y_tk.app
which allows working with Cumulocity interactively, e.g. in a
Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
c8y-go-cli tool. - Added
c8y_tk.app
packages withSubscriptionListener
class to ease development of multi_tenant microservices
which need to act on all subscribed tenants or on added/removed subscriptions alike. - Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
- Single and multi tenant applications now automatically set the
application_key
property from the standard
APPLICATION_KEY
environment variable. - Added
get_count
function toOperations
API. - Added
as_values
parameter toget_all
andselect
functions of the Inventory, DeviceInventory,
DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API. - Added code coverage reporting to
test
target for invoke. - Updated
as_tuple
for complex objects as well as theas_values
parameter forselect
andget_all
functions to work with strings or 2-tuples. The use of a dictionary
was removed as dictionaries don't define an order. - Added
as_values
parameter to the Measurements APIselect
andget_all
functions. - Adding
c8y_tk.analytics
package withto_numpy
,to_series
andto_data_frame
functions to
ease incorporating Cumulocity data into standard analytics pipelines.
Version 3.3.0 RC1
- Added
CumulocityApp
class to modulec8y_tk.app
which allows working with Cumulocity interactively, e.g. in a
Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
c8y-go-cli tool. - Added
c8y_tk.app
packages withSubscriptionListener
class to ease development of multi_tenant microservices
which need to act on all subscribed tenants or on added/removed subscriptions alike. - Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
- Single and multi tenant applications now automatically set the
application_key
property from the standard
APPLICATION_KEY
environment variable. - Added
get_count
function toOperations
API. - Added
as_values
parameter toget_all
andselect
functions of the Inventory, DeviceInventory,
DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API. - Added code coverage reporting to
test
target for invoke. - Updated
as_tuple
for complex objects as well as theas_values
parameter forselect
andget_all
functions to work with strings or 2-tuples. The use of a dictionary
was removed as dictionaries don't define an order. - Added
as_values
parameter to the Measurements APIselect
andget_all
functions. - Adding
c8y_tk.analytics
package withto_numpy
,to_series
andto_data_frame
functions to
ease incorporating Cumulocity data into standard analytics pipelines.
Release 3.3.0-beta.11
Merge pull request #78 from Cumulocity-IoT/feature/better-get_last Feature/better get last
Release 3.3.0-beta.9
Updated typing to be more generic.
Release 3.3.0-beta.10
Fixed application key to be optional for injected environments.
Release 3.3.0-beta.8
Single and multi tenant applications now automatically set the application_key property from the standard APPLICATION_KEY environment variable.
Release 3.3.0-beta.7
- Added release candidate version of subscription listener extension.
Release 3.3.0-beta.6
- Adding preview version of new subscription listener extension