$npx skillfedfor your agent

pksuid

Python package for generating prefixed ksuids.

SkipPyPI Software DevelopmentReleased May 2022359.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pksuid-1.1.2-py3-none-any.whl
v1.1.2 · released 2022-05-07 · Python >=3.6,<4.0 · 1 runtime deps: pybase62

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction; pure Python wheel with a single dependency (pybase62).
  • However, the package is abandoned—last release was 2022-05-07 and no commits since then.
  • No maintenance or security updates are forthcoming.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or redistribution in commercial or private projects.

last release 2022-05-07 (1560 days) · last repo commit 2022-05-07 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 359,190 downloads/mo, #7,252 on PyPI

Verify before relying

pip install pksuid

from pksuid import PKSUID

# Generate a new prefixed ID
uid = PKSUID('usr')
print(uid)  # e.g., 'usr_24OnhzwMpa4sh0NQmTmICTYuFaD'

# Extract components
print(uid.get_prefix())      # 'usr'
print(uid.get_timestamp())   # Unix timestamp
print(uid.get_datetime())    # Human-readable datetime

# Parse from string
uid_from_string = PKSUID.parse('usr_24OnhzwMpa4sh0NQmTmICTYuFaD')
print(uid_from_string.get_timestamp())
  • Whether the package remains compatible with Python versions released after 2022-05-07.
  • Whether pybase62 has received security or compatibility updates that pksuid does not track.
Same gist for agents: .md · .json

What it is and 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'—the prefix immediately signals the resource type, making logs and traces easier to read and debug.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

pksuid on PyPI

Before you install

Low install friction; pure Python wheel with a single dependency (pybase62). However, the package is abandoned—last release was 2022-05-07 and no commits since then. No maintenance or security updates are forthcoming.

License in practice

MIT license is permissive and imposes no restrictions on use, modification, or redistribution in commercial or private projects.

Quickstart

pip install pksuid

from pksuid import PKSUID

# Generate a new prefixed ID
uid = PKSUID('usr')
print(uid)  # e.g., 'usr_24OnhzwMpa4sh0NQmTmICTYuFaD'

# Extract components
print(uid.get_prefix())      # 'usr'
print(uid.get_timestamp())   # Unix timestamp
print(uid.get_datetime())    # Human-readable datetime

# Parse from string
uid_from_string = PKSUID.parse('usr_24OnhzwMpa4sh0NQmTmICTYuFaD')
print(uid_from_string.get_timestamp())

Verify before relying

  • Whether the package remains compatible with Python versions released after 2022-05-07.
  • Whether pybase62 has received security or compatibility updates that pksuid does not track.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pybase62
MaintenanceAbandoned 1,560 days since the last release
Last repo commit
First released
Downloads359,190 / month, #7,252 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: pksuid-1.1.2-py3-none-any.whl

Tags

Capabilities
prefixed unique identifier generationksuid with prefixsortable id generatorresource type prefix idstimestamp-based unique idshuman-readable unique identifiers
Topics
unique-identifiersabandoned
PyPI keywords
uiduuidksuidpksuid

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “prefixed unique identifier generation”

  • pksuidGenerates prefixed, k-sortable unique identifiers (PKSUIDs) that…
  • typeid-pythonGenerates and parses TypeIDs—type-safe, sortable identifiers based on…
  • uuidProvides UUID object creation and RFC 4122-compliant unique…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also ksuid · cyksuid · svix-ksuid · timeflake · ulid · ulid-py · python-ulid · uuid-extension · uuid · prefixed