Skip to content

Releases: Cumulocity-IoT/cumulocity-python-api

Release 3.5.1

23 Oct 14:15

Choose a tag to compare

Fixed client-side filtering error handling for non-supporting projects.

Release 3.5.1-beta.1

14 Oct 14:48

Choose a tag to compare

Release 3.5.1-beta.1 Pre-release
Pre-release

Fixed client-side filtering error handling for non-supporting projects.

Release 3.5.0

14 Oct 08:30

Choose a tag to compare

Added client-side filtering to many of the standard API (wherever sensibly applicable); These APIs select
and get_all functions now feature optional include and exclude parameters which can be used to filter
the results before being wrapped into Python objects; Added multiple matchers including a JSONPath matcher
a JMESPath matcher and a PyDF (Python Display Filter) matcher with PyDF as default.

Release 3.4.0

12 Sep 13:51

Choose a tag to compare

  • Added QueueListener and AsyncQueueListener classes to the Notification 2.0 toolkit. These pre-defined
    listener implementation append new notifications to standard queues that can be monitored/listened to which
    makes Notification 2.0 solutions even simpler to implement.
  • Updated and rewrote Notification 2.0 listener implementation. Added additional parameters for more control:
    consumer_name, shared, auto_ack and auto_unsubscribe. Added unsubscribe function for removing
    subscribers on demand. Both AsyncListener and Listener now provide consistent start/stop functions
    which take care of coroutine and thread creation. The listen function can still be invoked directly if
    necessary.

Release 3.4.0-beta.1

21 Aug 16:03

Choose a tag to compare

Release 3.4.0-beta.1 Pre-release
Pre-release
  • Updated and rewrote Notification 2.0 listener implementation. Added additional parameters for more control:
    consumer_name, shared, auto_ack and auto_unsubscribe. Added unsubscribe function for removing
    subscribers on demand. Both AsyncListener and Listener now provide consistent start/stop functions
    which take care of coroutine and thread creation. The listen function can still be invoked directly if
    necessary.

Release 3.3.0

12 Aug 11:18

Choose a tag to compare

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 module c8y_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 with SubscriptionListener 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 to Operations API.
  • Added as_values parameter to get_all and select 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 the as_values parameter for select
    and get_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 API select and get_all functions.
  • Adding c8y_tk.analytics package with to_numpy, to_series and to_data_frame functions to
    ease incorporating Cumulocity data into standard analytics pipelines.

Version 3.3.0 RC2

01 Aug 14:03
6134a5f

Choose a tag to compare

Version 3.3.0 RC2 Pre-release
Pre-release
  • Added get_by function to inventory API to return a single object by query.
  • Added CumulocityApp class to module c8y_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 with SubscriptionListener 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 to Operations API.
  • Added as_values parameter to get_all and select 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 the as_values parameter for select
    and get_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 API select and get_all functions.
  • Adding c8y_tk.analytics package with to_numpy, to_series and to_data_frame functions to
    ease incorporating Cumulocity data into standard analytics pipelines.

Version 3.3.0 RC1

31 Jul 15:49

Choose a tag to compare

Version 3.3.0 RC1 Pre-release
Pre-release
  • Added CumulocityApp class to module c8y_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 with SubscriptionListener 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 to Operations API.
  • Added as_values parameter to get_all and select 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 the as_values parameter for select
    and get_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 API select and get_all functions.
  • Adding c8y_tk.analytics package with to_numpy, to_series and to_data_frame functions to
    ease incorporating Cumulocity data into standard analytics pipelines.

Release 3.3.0-beta.11

25 Jul 14:46
ee0cc7b

Choose a tag to compare

Release 3.3.0-beta.11 Pre-release
Pre-release
Merge pull request #78 from Cumulocity-IoT/feature/better-get_last

Feature/better get last

Release 3.3.0-beta.9

28 May 07:58

Choose a tag to compare

Release 3.3.0-beta.9 Pre-release
Pre-release

Updated typing to be more generic.