Skip to main content

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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sonyflake_py-1.0.0-py3.8.egg (3.1 kB view details)

Uploaded Egg

sonyflake_py-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file sonyflake-py-1.0.0.tar.gz.

File metadata

  • Download URL: sonyflake-py-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for sonyflake-py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 31545f1f771a7edfeb9552bc3fb945a1e93127709b883e2cf4910e6ee1c6cd8c
MD5 8bea4970432159334eeaf2c4d459403f
BLAKE2b-256 e2be3266abe5cfce823ca775aac88129db33500368a6ed1ef4ec2802eb60914f

See more details on using hashes here.

File details

Details for the file sonyflake_py-1.0.0-py3.8.egg.

File metadata

  • Download URL: sonyflake_py-1.0.0-py3.8.egg
  • Upload date:
  • Size: 3.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for sonyflake_py-1.0.0-py3.8.egg
Algorithm Hash digest
SHA256 66080cdba4211116b7e5e6a2218e4e94853d54926808de2f413712593e0b8061
MD5 2cbab80bcebcaa78ca27a4d7b6bab4ec
BLAKE2b-256 ba7b8995b2343fc2236e6ee281abaed6c2ffe751775b6a80a7bba6ed4a28cbc4

See more details on using hashes here.

File details

Details for the file sonyflake_py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sonyflake_py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for sonyflake_py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01b98fd0f34ec784adf27c772cf123491bd997e9d4105c569a2337b1124fc8c5
MD5 9acebbda4d593186ff1195ccee422218
BLAKE2b-256 6dc519e3c69767382f686155a4411e585ef8a14f27331663381cd43f694dddb7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page