$npx skillfedfor your agent

ksuid

A small python package for creating ksuids

With conditionsPyPI Software DevelopmentReleased Jun 201793.4K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — ksuid-1.3.tar.gz · builds from source
v1.3 · released 2017-06-12

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—this suggests the code is considered complete rather than actively developed.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python 3.x required; currently only tested for Python 3.x per documentation.
  • High install friction due to source-only distribution (ksuid-1.3.tar.gz).
  • Repository shows active maintenance with recent commits (2026-04-13), but the package has not received a release update since 2017-06-12, suggesting the codebase is stable but not actively developed.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

last release 2017-06-12 (3350 days) · last repo commit 2026-04-13 · 98 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,447 downloads/mo, #13,385 on PyPI

Verify before relying

pip install ksuid
from ksuid import ksuid
x = ksuid()
print(x)
print(x.getTimestamp())
print(x.toBase62())
  • Whether the package works reliably with modern Python versions (3.10+) given no release since 2017
  • Performance characteristics under high-volume ID generation
  • Collision probability claims relative to UUID4 in production scenarios
Same gist for agents: .md · .json

What it is and what it does

KSUID is a Python library for generating K-sorted unique identifiers—20-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.

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

Use it for

  • 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

Worth the install?

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

With conditions

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—this suggests the code is considered complete rather than actively developed.

Install

ksuid on PyPI

Before you install

High install friction due to source-only distribution (ksuid-1.3.tar.gz). Repository shows active maintenance with recent commits (2026-04-13), but the package has not received a release update since 2017-06-12, suggesting the codebase is stable but not actively developed.

Python 3.x required; currently only tested for Python 3.x per documentation.

License in practice

MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

Quickstart

pip install ksuid
from ksuid import ksuid
x = ksuid()
print(x)
print(x.getTimestamp())
print(x.toBase62())

Verify before relying

  • Whether the package works reliably with modern Python versions (3.10+) given no release since 2017
  • Performance characteristics under high-volume ID generation
  • Collision probability claims relative to UUID4 in production scenarios

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceActively maintained 3,350 days since the last release
Last repo commit
First released
Downloads93,447 / month, #13,385 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: ksuid-1.3.tar.gz

Tags

Capabilities
sortable unique id generatortimestamp-based uidksuid pythontime-ordered identifierbase62 encoded iduuid alternativedistributed id generation
Topics
id-generationdistributed-systems

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 › “time-ordered identifier”

  • ksuidGenerates sortable unique identifiers (KSUIDs) that combine a…
  • timeflakeGenerates 128-bit, time-ordered, URL-safe unique identifiers (UUIDs)…
  • uuid-extensionGenerates UUID version 7 identifiers—time-ordered, RFC-compliant…

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 cyksuid · fractional-indexing · pksuid · svix-ksuid · timeflake · uuid-extension · python-ulid · ulid-py · ulid · uuid7-standard