A collection of functions useful in various 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.
Overview:
sentry_utils.pyhasfind_sentry_release_idwhich is used to automatically find the sentry release.urn_util.pycontains function for working with a specific type ("geni") of URN.validation_utils.pyhas functions to validate ssh keys, emails and UUIDsutils.pycontains a wide range of useful functions:normalize_depenvreturns "staging" or "production"datetime_nowreturns "now" as a timezone aware datetime. (naive datetimes are evil!)any_to_{opt_}boolconverts to boolduration_string_to_secondsparses string like "3 days" into a number of secondsdeep_update_dictmerges a dict into anotherstrip_null_from_json_dictstrips None and empty lists/dicts from a dict (useful to clean up json)
Links:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imecilabt_utils-1.6.1.tar.gz.
File metadata
- Download URL: imecilabt_utils-1.6.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c59502ef983211b6172a1850c7d746f3d6bc014fc44d9a2ad168d929b5308e93
|
|
| MD5 |
04ab9e37cb54967ceeb433d91cd1461f
|
|
| BLAKE2b-256 |
b8f54342063938055cee423ef554a81bcd245edbd5314075a794010d487b9ca4
|
File details
Details for the file imecilabt_utils-1.6.1-py3-none-any.whl.
File metadata
- Download URL: imecilabt_utils-1.6.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d701b13da0329750f49e3e2795665efd4fa3c13291be9099ab123d19369921f6
|
|
| MD5 |
5d5752667d5284e0f3c90d3f9203bff4
|
|
| BLAKE2b-256 |
4064cfaf53e8de27d547f0fab0968b32ec3802f52488b894c8edb1ba8cddafac
|