{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"User Interfaces","url":"https://skillfed.io/packages/category/software-development-user-interfaces/2"}],"enrichment":{"capability":"Generates and parses Snowflake IDs, distributed unique identifiers composed of timestamp, instance, and sequence components.","skillfed_tags":["id-generation","distributed-systems"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"snowflake-id","links":{"html":"https://skillfed.io/packages/snowflake-id","md":"https://skillfed.io/packages/snowflake-id.md","pypi":"https://pypi.org/project/snowflake-id/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-17","license_spdx":null,"license_treatment":"permissive","name":"snowflake-id","python_support":"supports_current","summary":"The Snowflake generator done right"},"popularity":{"monthly_downloads":172686,"position":10328,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
