snowflake-id
The Snowflake generator done right
Decision gist · record as of 2026-08-14
Yes, if you need distributed ID generation without external dependencies. The package is lightweight, has no runtime dependencies, and is marked Production/Stable. Dormant maintenance (last commit 2024-06-12) is not a blocker for a stable utility library, but verify it meets your concurrency and performance requirements before adopting in high-throughput systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or above.
- Low friction: pure Python, no runtime dependencies, distributed as a wheel.
- Maintenance is dormant—last commit 2024-06-12, but the repository is not archived and the package is marked Production/Stable.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required. No restrictions on commercial or proprietary use.
last release 2024-04-17 (849 days) · last repo commit 2024-06-12 · 122 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 172,686 downloads/mo, #10,328 on PyPI
Alternatives
Verify before relying
pip install snowflake-id
from snowflake import SnowflakeGenerator
gen = SnowflakeGenerator(42)
for i in range(3):
print(next(gen))- Whether the package handles clock skew or out-of-order generation in concurrent scenarios.
- Performance characteristics under high-throughput ID generation.
- Compatibility with distributed systems beyond the basic generator/parser interface shown.
What it is and what it does
Snowflake-id is a pure-Python implementation of Snowflake ID generation and parsing. Snowflake IDs are distributed identifiers that encode a timestamp, instance identifier, and sequence number, making them suitable for generating unique IDs across multiple machines without central coordination. The package provides a SnowflakeGenerator class to produce sequential IDs and a Snowflake class to parse existing IDs back into their component parts (timestamp, instance, epoch, sequence, and datetime). It has no additional dependencies and supports Python 3.8, 3.9, 3.10, 3.11, and 3.12.
The package is straightforward to use: instantiate a generator with an instance ID, call next() to get sequential IDs, or parse an existing ID to inspect its components. The fact sheet shows examples of generating IDs in sequence and extracting timestamp and datetime information from a parsed ID. Maintenance is dormant but the code is marked Production/Stable and has not been archived.
Use it for
- Generate unique IDs for distributed database records without a central ID service.
- Parse existing Snowflake IDs to extract their timestamp and instance metadata.
- Reconstruct a generator's state from a previously generated ID to continue the sequence.
- Build microservice architectures where each instance generates its own unique IDs.
- Replace UUID generation when sortable, time-ordered IDs are preferred.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need distributed ID generation without external dependencies.
The package is lightweight, has no runtime dependencies, and is marked Production/Stable. Dormant maintenance (last commit 2024-06-12) is not a blocker for a stable utility library, but verify it meets your concurrency and performance requirements before adopting in high-throughput systems.
Install
snowflake-id on PyPI
Before you install
Low friction: pure Python, no runtime dependencies, distributed as a wheel. Maintenance is dormant—last commit 2024-06-12, but the repository is not archived and the package is marked Production/Stable.
Requires Python 3.8 or above.
License in practice
MIT License permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required. No restrictions on commercial or proprietary use.
Quickstart
pip install snowflake-id
from snowflake import SnowflakeGenerator
gen = SnowflakeGenerator(42)
for i in range(3):
print(next(gen))
Verify before relying
- Whether the package handles clock skew or out-of-order generation in concurrent scenarios.
- Performance characteristics under high-throughput ID generation.
- Compatibility with distributed systems beyond the basic generator/parser interface shown.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 849 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 172,686 / month, #10,328 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces |
Evidence: snowflake_id-1.0.2-py3-none-any.whl
Tags
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 › “snowflake id generator”
- snowflake-idGenerates and parses Snowflake IDs, distributed unique identifiers…
- django-snowflakeProvides a Django database backend that connects Django ORM to…
- nanoidGenerates cryptographically secure, URL-friendly unique IDs shorter…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also ulid-py · ulid · cuid · sqids · snowflake-cli · snowflake-sqlalchemy · snowflake.core · pulumi-snowflake · snowflake · snowflake-cli-labs