All Projects → timonwong → cyksuid

timonwong / cyksuid

Licence: other
Fast Python implementation of KSUID (K-Sortable Globally Unique IDs) using Cython

Programming Languages

c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to cyksuid

Ksuid
K-Sortable Globally Unique IDs
Stars: ✭ 3,202 (+10941.38%)
Mutual labels:  uuid, coordination, ksuid
uuix
A tiny (<1KB) and fast UUID (v4) generator for Crystal
Stars: ✭ 17 (-41.38%)
Mutual labels:  uuid
gobarber-api-gostack11
API GoBarber / NodeJS / Express / Typescript / SOLID
Stars: ✭ 39 (+34.48%)
Mutual labels:  uuid
ksuid-go
K-Sortable globally Unique ID
Stars: ✭ 15 (-48.28%)
Mutual labels:  uuid
godot-uuid
Unique identifier generation v4 for Godot Engine
Stars: ✭ 96 (+231.03%)
Mutual labels:  uuid
micell
A collection of functions for front-end development
Stars: ✭ 16 (-44.83%)
Mutual labels:  uuid
rulid.rs
Rust Universally Unique Lexicographically Sortable Identifier
Stars: ✭ 40 (+37.93%)
Mutual labels:  uuid
sid
Generate Sortable Identifiers
Stars: ✭ 26 (-10.34%)
Mutual labels:  sortable
ulid-creator
A Java library for generating Universally Unique Lexicographically Sortable Identifiers (ULID)
Stars: ✭ 38 (+31.03%)
Mutual labels:  uuid
livewire-sortablejs
A Laravel Livewire plugin that makes it easy to use Sortable.js
Stars: ✭ 68 (+134.48%)
Mutual labels:  sortable
php-tools
Some code snippets that are often used in PHP
Stars: ✭ 25 (-13.79%)
Mutual labels:  uuid
eav-bundle
A Symfony bundle for basic EAV management
Stars: ✭ 19 (-34.48%)
Mutual labels:  uuid
user
A domain layer providing basic user management
Stars: ✭ 14 (-51.72%)
Mutual labels:  uuid
graphql-type-uuid
UUID scalar type for GraphQL.js
Stars: ✭ 23 (-20.69%)
Mutual labels:  uuid
monoton
Highly scalable, single/multi node, sortable, predictable and incremental unique id generator with zero allocation magic on the sequential generation
Stars: ✭ 21 (-27.59%)
Mutual labels:  ksuid
fuuid
Functional UUIDs for Python.
Stars: ✭ 145 (+400%)
Mutual labels:  uuid
KSUID
Sortable UIDs in Python
Stars: ✭ 83 (+186.21%)
Mutual labels:  sortable
Butterfly
分布式ID生成器框架:超高性能的发号器框架。通过引入多种新的方案,彻底解决雪花算法的时间回拨等问题,并将雪花算法原生QPS提高最少十几~二十倍
Stars: ✭ 111 (+282.76%)
Mutual labels:  uuid
twitch-chat-visualizer
A Node.js Project. Would you like to see your chat stream with a custom design? This is for you!
Stars: ✭ 14 (-51.72%)
Mutual labels:  uuid
vue-uuid
Add UUID to Vue instance.
Stars: ✭ 55 (+89.66%)
Mutual labels:  uuid

CyKSUID

Cython implementation of KSUID (K-Sortable Globally Unique IDs).

LICENSE

New BSD. See License File.

Install

cyksuid is on the Python Package Index (PyPI):

pip install cyksuid

Dependencies

cyksuid supports Python 2.7+ and Python 3.5+ with a common codebase. It is developed in Cython, but requires no dependecies other than CPython and a C compiler.

Sample Usage

from cyksuid import ksuid

uid = ksuid.ksuid()

uid.bytes       # b'\x05\xe1\x035\xa8\xbe\xe2\xb5\x0e\x08\xd0\x05\x01L\xe0;\x9a\xed\xc7\xd0'
uid.hex         # 05e10335a8bee2b50e08d005014ce03b9aedc7d0
uid.datetime    # datetime.datetime(2017, 6, 28, 6, 48, 21)
uid.encoded     # b'0q0TPwNTFKyzJKAX1ZRh7rxXiim'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].