Package: ulid 0.4.0.1

ulid: Generate Universally Unique 'Lexicographically' 'Sortable' Identifiers

Universally unique identifiers ('UUIDs') can be sub-optimal for many uses-cases because they are not the most character efficient way of encoding 128 bits of randomness; v1/v2 versions are impractical in many environments, as they require access to a unique, stable MAC address; v3/v5 versions require a unique seed and produce randomly distributed IDs, which can cause fragmentation in many data structures; v4 provides no other information than randomness which can cause fragmentation in many data structures. Providing an alternative, 'ULIDs' (<https://github.com/ulid/spec>) have 128-bit compatibility with 'UUID', 1.21e+24 unique 'ULIDs' per millisecond, support standard (text) sorting, canonically encoded as a 26 character string, as opposed to the 36 character 'UUID', use 'base32' encoding for better efficiency and readability (5 bits per character), are case insensitive, have no special characters (i.e. are 'URL' safe) and have a monotonic sort order (correctly detects and handles the same millisecond).

Authors:Bob Rudis [aut], Suyash Verma [aut], Dirk Eddelbuettel [aut, cre]

ulid_0.4.0.1.tar.gz
ulid_0.4.0.1.zip(r-4.5)ulid_0.4.0.1.zip(r-4.4)ulid_0.4.0.1.zip(r-4.3)
ulid_0.4.0.1.tgz(r-4.5-x86_64)ulid_0.4.0.1.tgz(r-4.5-arm64)ulid_0.4.0.1.tgz(r-4.4-x86_64)ulid_0.4.0.1.tgz(r-4.4-arm64)ulid_0.4.0.1.tgz(r-4.3-x86_64)ulid_0.4.0.1.tgz(r-4.3-arm64)
ulid_0.4.0.1.tar.gz(r-4.5-noble)ulid_0.4.0.1.tar.gz(r-4.4-noble)
ulid.pdf |ulid.html
ulid/json (API)
NEWS

# Install 'ulid' in R:
install.packages('ulid', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/eddelbuettel/ulid/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

uliduuidcpp

4.88 score 30 stars 6 scripts 716 downloads 6 exports 1 dependencies

Last updated 8 months agofrom:1369c7d285. Checks:11 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 27 2025
R-4.5-win-x86_64OKFeb 19 2025
R-4.5-mac-x86_64OKJan 27 2025
R-4.5-mac-aarch64OKJan 27 2025
R-4.5-linux-x86_64OKJan 27 2025
R-4.4-win-x86_64OKJan 27 2025
R-4.4-mac-x86_64OKJan 27 2025
R-4.4-mac-aarch64OKJan 27 2025
R-4.3-win-x86_64OKJan 27 2025
R-4.3-mac-x86_64OKJan 27 2025
R-4.3-mac-aarch64OKJan 27 2025

Exports:generatets_generateulidulid_generateULIDgenerateunmarshal

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Generate ULIDulid-package generate ts_generate ulid ULIDgenerate ulid_generate unmarshal