uuid7#
- scikitplot.corpus.uuid7()[source]#
Return a new RFC 9562 UUID version 7 from this process’s generator.
- Returns:
- uuid.UUID
Time-ordered: greater than every identifier this function returned before in this process.
- Raises:
- OverflowError
If the system clock is outside the 48-bit millisecond range.
- Return type:
See also
UUID7GeneratorThe generator, with an injectable clock and random source.
uuid7_unix_msThe millisecond timestamp an identifier carries.
Examples
>>> a, b = uuid7(), uuid7() >>> a < b and str(a) < str(b) and a.bytes < b.bytes True