A Python implementation of fractional indexing for generating ordering strings (keys) between others, commonly used for sortable IDs in collaborative applications. Current version 0.1.3, stable maintenance mode.
pip install fractional-indexingVerified import paths — ran on the pinned version, not inferred.
Basic usage of generate_key to create ordering strings.
Ensure single-threaded or use a locking mechanism if generating keys in a multithreaded context.
Do not reuse keys across different datasets without proper context separation; generate a fresh initial key for each independent ordering.
If you need custom encoding, consider forking the library or using another approach.
No dependency data recorded yet.