$npx skillfedfor your agent

svix-ksuid

A pure-Python KSUID implementation

Worth itPyPI UtilitiesReleased Mar 2026269.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — svix_ksuid-0.7.0-py3-none-any.whl
v0.7.0 · released 2026-03-14 · Python >=3.10 · 1 runtime deps: python-baseconv

Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and installs with minimal friction. Install it if you need sortable IDs with embedded timestamps; skip it if standard UUIDs or database-generated sequences already fit your use case.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with a single pure-Python dependency.
  • The package is actively maintained with recent commits, and requires Python 3.10 or later.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.

last release 2026-03-14 (153 days) · last repo commit 2026-08-11 · 161 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 269,905 downloads/mo, #8,247 on PyPI

Verify before relying

pip install svix-ksuid

from ksuid import Ksuid

ksuid = Ksuid()
print(f"Base62: {ksuid}")
print(f"Timestamp: {ksuid.timestamp}")
print(f"Datetime: {ksuid.datetime}")
  • Whether the 4ms accuracy mode (KsuidMs) is suitable for your specific timing requirements compared to the 1-second default.
  • Performance characteristics when generating or parsing large volumes of KSUIDs in production workloads.
Same gist for agents: .md · .json

What it is and what it does

Svix-KSUID is a pure-Python implementation of K-sorted unique identifiers, a variant of UUIDs that embed a timestamp component. Unlike standard UUIDs, KSUIDs can be approximately sorted by their creation time without additional metadata. The library provides two modes: standard KSUIDs with 1-second timestamp accuracy, and KsuidMs for 4-millisecond accuracy by trading one byte of random payload. Both modes produce valid, compatible KSUIDs that can be serialized to base62 strings, raw bytes, or reconstructed from either format.

The package handles the full lifecycle of KSUID operations: generation with optional datetime specification, parsing from base62 strings or bytes, timestamp extraction, and comparison operations. It's designed as a lightweight utility for systems that need sortable identifiers with embedded temporal information, commonly used in event logging, database record identification, and distributed systems where ordering by creation time is valuable.

Use it for

  • Generate sortable event IDs in logging systems where chronological ordering is needed without separate timestamps.
  • Create database record identifiers that preserve insertion order for efficient range queries and pagination.
  • Build distributed system identifiers where multiple services generate IDs independently but need global ordering.
  • Replace UUIDs in APIs where clients need to infer approximate creation order from the ID alone.
  • Store webhook event identifiers that can be sorted by delivery time without additional metadata lookups.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and installs with minimal friction. Install it if you need sortable IDs with embedded timestamps; skip it if standard UUIDs or database-generated sequences already fit your use case.

Install

svix-ksuid on PyPI

Before you install

Low install friction with a single pure-Python dependency. The package is actively maintained with recent commits, and requires Python 3.10 or later.

Requires Python 3.10 or later.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.

Quickstart

pip install svix-ksuid

from ksuid import Ksuid

ksuid = Ksuid()
print(f"Base62: {ksuid}")
print(f"Timestamp: {ksuid.timestamp}")
print(f"Datetime: {ksuid.datetime}")

Verify before relying

  • Whether the 4ms accuracy mode (KsuidMs) is suitable for your specific timing requirements compared to the 1-second default.
  • Performance characteristics when generating or parsing large volumes of KSUIDs in production workloads.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
python-baseconv
MaintenanceActively maintained 153 days since the last release
Last repo commit
First released
Downloads269,905 / month, #8,247 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: svix_ksuid-0.7.0-py3-none-any.whl

Tags

Capabilities
ksuid generationsorted unique identifierstimestamp-based idssortable uid libraryk-sorted uid python
Topics
identifier-generationdistributed-systems
PyPI keywords
ksuidsvix

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 › “ksuid generation”

  • svix-ksuidGenerates and parses KSUIDs (K-sorted unique identifiers) that…
  • ksuidGenerates sortable unique identifiers (KSUIDs) that combine a…
  • cyksuidGenerates and parses KSUIDs (K-Sortable Globally Unique IDs) using a…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also ksuid · svix · cyksuid · pksuid · timeflake · ulid · ulid-py · uuid-v7 · typeid-python · uuid7-standard