Skip to content

Releases: yamcs/python-yamcs-client

yamcs-client 2.0.0

Choose a tag to compare

@fqqb fqqb released this 21 May 21:09
cdf906f
  • This release removes the external dependency to the protobuf package. Instead protobuf is embedded into this yamcs-client package. This avoids issues with other installed packages depending on conflicting versions of protobuf. #32

  • This release removes old-style imports. Reminder: all classes can be imported from yamcs.client module.

    For example, instead of:

    from yamcs.core.auth import Credentials
    from yamcs.client import YamcsClient
    
    credentials = Credentials(username="admin", password="admin")
    client = YamcsClient("http://localhost:8090", credentials=credentials)

    do instead:

    from yamcs.client import Credentials, YamcsClient
    
    credentials = Credentials(username="admin", password="admin")
    client = YamcsClient("http://localhost:8090", credentials=credentials)
  • TimelineClient: Add delete_items operation to batch-delete items. This is a lot faster than deleting items one-by-one.

  • TimelineClient: Default for the ItemBand setting space_between_items was changed from 0 to 7. And space_between_lines was changed from 2 to 7. This allows for a bit more whitespace between items, which gives the Yamcs Web UI some space to draw connections between depending activities.

  • TimelineClient: The code was adjusted to API changes in Yamcs 5.13.0. Backwards compatibility with older Yamcs versions is untested (and unlikely to succeed).

  • TimelineClient: The code to add/update items to the Yamcs Timeline was changed. A best-effort was made to keep old code functional, however that will emit deprecation warnings.

    In summary, instead of:

    item = Item()
    item.name = "Test"
    item.start = now
    item.duration = timedelta(seconds=3600)
    item.tags = ["abc"]
    timeline.save_item(item)

    do instead:

    item = TimelineEvent(
        name="Test",
        start=now,
        duration=timedelta(seconds=3600),
        tags=["abc"],
    )
    timeline.save_item(item)

    New classes are available for three different kinds of items: TimelineEvent, TimelineTask and TimelineActivity. See the online documentation for more on this topic.

yamcs-client 1.13.0

Choose a tag to compare

@fqqb fqqb released this 02 Apr 09:55
9fe026e
  • ArchiveClient: Added source option to export_parameter_values. By default this function will now use the Parameter Archive instead of doing a packet replay.

  • MDBClient: Added version option to export_space_system. This defaults to XTCE 1.2, but you could set it to 1.3 to use the newly introduced namespace.

  • If you are still using old-style imports, you will now start seeing deprecation warnings. Reminder: all classes can be imported from yamcs.client package.

    For example, instead of:

    from yamcs.core.auth import Credentials
    from yamcs.client import YamcsClient
    
    credentials = Credentials(username="admin", password="admin")
    client = YamcsClient("http://localhost:8090", credentials=credentials)

    do instead:

    from yamcs.client import Credentials, YamcsClient
    
    credentials = Credentials(username="admin", password="admin")
    client = YamcsClient("http://localhost:8090", credentials=credentials)
  • ArchiveClient: the method sample_parameter_values was renamed to downsample_mean. The previous method still works but will generate a deprecation warning. Likewise the Sample class was renamed to MeanSample.

  • Improves error handling when querying URLs that do not appear to be Yamcs URLs.

yamcs-client 1.12.1

Choose a tag to compare

@fqqb fqqb released this 05 Jan 09:41
777faec
  • Fixes a py3.8/py3.9 setuptools compatibility issue, introduced by 1.12.0 release

yamcs-client 1.12.0

Choose a tag to compare

@fqqb fqqb released this 30 Oct 11:03
5e72abe
  • LinkClient: Add methods for SDLS API interaction (thanks @thezeroalpha)
  • Avoid pkg_resources warnings with recent versions of setuptools #35
  • Rename yamcs.client.CommandStackActivity to yamcs.client.StackActivity. The previous name will remaining working for a while, but may generate deprecation warnings.

yamcs-client 1.11.3

Choose a tag to compare

@fqqb fqqb released this 27 Mar 15:24
24860c2
  • Archive: Make start/stop arguments on rebuild_parameter_archive optional
  • Add extension mechanism for non-core activities

yamcs-client 1.11.2

Choose a tag to compare

@fqqb fqqb released this 24 Feb 16:00
a1640b9
  • Timeline: add new band types ParameterPlot and ParameterStateBand for use with Yamcs 5.11.2 or higher
  • Parameter Archive: add operations to enable/disable automatic backfilling for use with Yamcs 5.11.1 or higher

yamcs-client 1.11.1

Choose a tag to compare

@fqqb fqqb released this 19 Nov 20:37
c2886a2
  • Fixes an issue introduced in v1.11.0 when using string arguments #30 (thanks @AnsgarSchmidt)

yamcs-client 1.11.0

Choose a tag to compare

@fqqb fqqb released this 10 Nov 23:50
2b9f725
  • For a few releases already, it has been possible to import all classes directly from the yamcs.client package. In this release, all docs and examples have been modified accordingly, and source files were physically moved under this package. Old-style imports continue to work, but will eventually be deprecated for removal (in the distant future).

    For example, instead of:

    from yamcs.core.auth import Credentials
    from yamcs.client import YamcsClient
    
    credentials = Credentials(username="admin", password="admin")
    client = YamcsClient("http://localhost:8090", credentials=credentials)

    prefer instead:

    from yamcs.client import Credentials, YamcsClient
    
    credentials = Credentials(username="admin", password="admin")
    client = YamcsClient("http://localhost:8090", credentials=credentials)
  • Fixes API issue when using array-type TC arguments

yamcs-client 1.10.0

Choose a tag to compare

@fqqb fqqb released this 20 Aug 08:32
248c66a
  • Fix compatibility issues with Yamcs 5.10.x
  • Require Python 3.8 or higher (Python 3.7 removed)
  • Fix circularity issue when using a deep import #28
  • Fix client close issue when no creds are used
  • MDB: provide access to command arguments and types
  • Archive: add CSV command export method\
  • Link subscription was adapted to changed server API. The subscription callback returns a List[Link] now, instead of LinkEvent, containing the state of all links.

yamcs-client 1.9.8

Choose a tag to compare

@fqqb fqqb released this 24 May 08:12
66ffdd1
  • YamcsClient: Add list_rdb_tablespaces and compact_rdb_column_family methods