A distributed unique ID generator inspired by Twitter's Snowflake.
Project description
sonyflake-py
Sonyflake is a distributed unique ID generator inspired by Twitter's Snowflake.
This is a python rewrite of the original sony/sonyflake project, written in Go.
A Sonyflake ID is composed of
39 bits for time in units of 10 msec
8 bits for a sequence number
16 bits for a machine id
Installation
pip install sonyflake-py
License
The MIT License (MIT).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sonyflake-py-1.0.0.tar.gz
(3.0 kB
view hashes)
Built Distributions
sonyflake_py-1.0.0-py3.8.egg
(3.1 kB
view hashes)
Close
Hashes for sonyflake_py-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b98fd0f34ec784adf27c772cf123491bd997e9d4105c569a2337b1124fc8c5 |
|
MD5 | 9acebbda4d593186ff1195ccee422218 |
|
BLAKE2b-256 | 6dc519e3c69767382f686155a4411e585ef8a14f27331663381cd43f694dddb7 |