Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

th2-common-utils-py (2.0.0)

Python library with useful functions for developers and QA needs. Check the Wiki for instructions and examples.

Installation

pip install th2-common-utils

Release notes

2.0.0

Moved to books&pages (grpc v4)

  • Added create_event_batch function.

1.6.0

  • Updated th2-grpc-common minimal version to 3.12.0.
  • Optimized create_event_id() function.
  • Optimized create_event_body() function (migrated to orjson library).

1.5.0

  • Added the ability to create sorted TreeTable (ordered by default).
  • Added dict_values_to_value_filters and dict_to_metadata_filter functions (can be used to create PreFilter object from th2-grpc-check1).

1.4.3

  • Fixed memory leak.

1.4.2

  • Fixed conversion of Direction field of message_metadata.

1.4.1

  • Changed metadata conversion in message_to_dict function.

1.4.0

  • Added json_to_message function.

1.3.0

  • Changed structure of message_filter and metadata_filter fields in dict_to_root_message_filter function.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

th2_common_utils-2.0.0.dev3638932618.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file th2_common_utils-2.0.0.dev3638932618.tar.gz.

File metadata

File hashes

Hashes for th2_common_utils-2.0.0.dev3638932618.tar.gz
Algorithm Hash digest
SHA256 82a783133e70209ac706b41e1c0f80b23ef949090004e560d4a4b88fed1b26a6
MD5 50d5277c41bed59e3a516c278c56a78e
BLAKE2b-256 ebd6183abfb0d92b19204e3985f6754e6f7e98ca1b98743af8d0ea437e1ba469

See more details on using hashes here.

File details

Details for the file th2_common_utils-2.0.0.dev3638932618-py3-none-any.whl.

File metadata

File hashes

Hashes for th2_common_utils-2.0.0.dev3638932618-py3-none-any.whl
Algorithm Hash digest
SHA256 790c0e430ff476861f575b864168fe01a7d0347624aae2acaf89c553a6918433
MD5 2792e0cdff706640676a5644dc1cc878
BLAKE2b-256 be9fde0ad3e3e8d2f3c1c4a2386eb87ec29957ee77d87d6f34adf0f3a4052444

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page