Functions | |
| str | ulid (float|None timestamp=None) |
Variables | |
| list | __all__ |
Helpers to generate ulids.
| str homeassistant.util.ulid.ulid | ( | float | None | timestamp = None | ) |
Generate a ULID. This ulid should not be used for cryptographically secure operations. 01AN4Z07BY 79KA1307SR9X4MV3 |----------| |----------------| Timestamp Randomness 48bits 80bits This string can be loaded directly with https://github.com/ahawker/ulid import homeassistant.util.ulid as ulid_util import ulid ulid.parse(ulid_util.ulid())