Skip to main content

A collection of functions useful in various projects iLab.t projects.

Project description

Imec iLab.t utils

A collection of functions useful in various projects iLab.t projects.

These assorted utils are all lightweight and have no dependencies. This is all MIT license, so you are free to copy only what you need.


  • has find_sentry_release_id which is used to automatically find the sentry release.
  • contains function for working with a specific type ("geni") of URN.
  • has functions to validate ssh keys, emails and UUIDs
  • contains a wide range of useful functions:
    • normalize_depenv returns "staging" or "production"
    • datetime_now returns "now" as a timezone aware datetime. (naive datetimes are evil!)
    • any_to_{opt_}bool converts to bool
    • duration_string_to_seconds parses string like "3 days" into a number of seconds
    • deep_update_dict merges a dict into another
    • strip_null_from_json_dict strips None and empty lists/dicts from a dict (useful to clean up json)


Project details

Download files

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

Source Distribution

imecilabt-utils-1.6.0.tar.gz (11.3 kB view hashes)

Uploaded Source

Built Distribution

imecilabt_utils-1.6.0-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

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