{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"Generates prefixed, k-sortable unique identifiers (PKSUIDs) that combine a human-readable prefix with a timestamp and random payload, making resource types immediately visible in logs and traces.","skillfed_tags":["unique-identifiers","abandoned"],"use_cases":["Generate resource IDs in APIs or databases where you want the type visible at a glance (e.g., 'usr_...', 'txn_...').","Create sortable audit logs or event streams where IDs encode creation time and can be ordered without a separate timestamp field.","Parse and extract metadata (prefix, timestamp, payload) from existing PKSUIDs for debugging or resource tracking.","Replace generic UUIDs in microservices where human-readable prefixes improve operational visibility."],"what_it_does":"PKSUID is a Python implementation of prefixed k-sortable unique identifiers, extending the KSUID specification (originally from Segment.io) by adding a human-readable prefix inspired by Stripe's ID format. When you generate a PKSUID with a prefix like 'usr', you get an identifier such as 'usr_24OnhzwMpa4sh0NQmTmICTYuFaD'\u2014the prefix immediately signals the resource type, making logs and traces easier to read and debug.\n\nThe library encodes a timestamp and a random payload into each ID, making them sortable by creation time. You can extract the prefix, timestamp, datetime, and raw payload from any PKSUID, parse IDs back from string or byte representations, and compare IDs using standard comparison operators. The package depends only on pybase62 for base-62 encoding and is tested on Python 3.6 through 3.10.","worth_installing":"No. The package is abandoned (last release 2022-05-07, no commits since) and receives no maintenance or security updates. While the code is simple and low-friction to install, relying on unmaintained ID generation in production is a risk. For new projects, consider an actively maintained alternative; for existing code already using pksuid, evaluate whether you can migrate to a supported library."},"id":"pksuid","links":{"html":"https://skillfed.io/packages/pksuid","md":"https://skillfed.io/packages/pksuid.md","pypi":"https://pypi.org/project/pksuid/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-05-07","license_spdx":null,"license_treatment":"permissive","name":"pksuid","python_support":"supports_current","summary":"Python package for generating prefixed ksuids."},"popularity":{"monthly_downloads":359190,"position":7252,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
