Elektrine lite

← Feed

@bhuvnesh@fosstodon.org

2025-06-10 15:44 UTC

Made a small package using pure python which can generate around a million unique and chronologically sorted ids per second ! It uses the concept of bit masking and bit shifting on timestamp, sequence and few more configurable bits to generate a 128 bits unique id similar to twitter's snowflake. To install, you can simply run "pip install timeseed" or if you want to play around, you can checkout this project on github: https://github.com/devilsautumn/timeseed ☕

Replies (0)

No replies.