{"library":"lexid","type":"library","category":null,"description":"lexid is a micro library (version 2021.1006) designed to generate and increment lexically ordered numerical IDs. Its core functionality ensures that `older_id < newer_id` remains true throughout a sequence, whether dealing with integers or strings. This is achieved by special incrementing that uses the leftmost character/digit to maintain lexical order and prevent premature numerical overflow. It's useful for scenarios like build numbers or version strings that are often sorted by tools using simple lexical ordering, such as the UNIX sort command or JavaScript's string comparison. The library maintains an active status with updates as needed.","language":"python","status":"active","version":"2021.1006","tags":["id generator","lexical ordering","build numbers","versioning","micro library"],"last_verified":"Sun May 24","install":[{"cmd":"pip install lexid","imports":["import lexid","lexid.incr('1')"]}],"homepage":"https://matrix.org/bridges/p/lexid","github":"https://github.com/mbarkhau/lexid","docs":null,"changelog":null,"pypi":"https://pypi.org/project/lexid/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/lexid/compatibility"}}