{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/17"}],"enrichment":{"capability":"Generates sortable unique identifiers (KSUIDs) that combine a timestamp with random data, enabling time-ordered ID generation without external dependencies.","skillfed_tags":["id-generation","distributed-systems"],"use_cases":["Generate time-ordered event IDs in logging or audit systems where both uniqueness and chronological sorting are needed","Create sortable primary keys for database records that reflect insertion order without explicit timestamp columns","Assign unique identifiers in distributed systems where multiple nodes generate IDs independently without coordination","Serialize IDs to compact Base62 strings for use in URLs or user-facing identifiers","Replace UUID4 in applications where the 122-bit entropy of UUIDs is insufficient and time-ordering is valuable"],"what_it_does":"KSUID is a Python library for generating K-sorted unique identifiers\u201420-byte values combining a 4-byte timestamp with 16 bytes of random data. The timestamp component allows KSUIDs to be naturally sorted by creation time, addressing a key limitation of UUIDs. The library provides methods to extract the timestamp, convert to datetime objects, serialize to bytes, and encode/decode using Base62 for compact string representation.\n\nThe package has no runtime dependencies and is designed as a lightweight utility for applications needing distributed, time-ordered ID generation. It's particularly useful in systems where both uniqueness and temporal ordering matter, such as event logging, database record tracking, or distributed systems requiring causality-aware identifiers.","worth_installing":"Yes, if you need sortable unique identifiers and can tolerate source-only installation. The package is stable, dependency-free, and solves a real problem (time-ordered IDs) that standard UUIDs don't address. However, verify Python 3.x compatibility with your target version before committing, and be aware that no release has shipped since 2017 despite active repository maintenance\u2014this suggests the code is considered complete rather than actively developed."},"id":"ksuid","links":{"html":"https://skillfed.io/packages/ksuid","md":"https://skillfed.io/packages/ksuid.md","pypi":"https://pypi.org/project/ksuid/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2017-06-12","license_spdx":null,"license_treatment":"permissive","name":"ksuid","python_support":"unspecified","summary":"A small python package for creating ksuids"},"popularity":{"monthly_downloads":93447,"position":13385,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3"}
