{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"}],"enrichment":{"capability":"Generates lexically ordered numerical IDs that maintain sort order whether compared as integers or strings, useful for build numbers and version tags that need to sort correctly without special parsing.","skillfed_tags":["version-numbering","build-tools"],"use_cases":["Generate git version tags that sort correctly when listed with standard sort commands","Create build numbers for CI/CD systems that display versions without understanding semantic versioning","Produce sequential IDs for systems that rely on lexical string comparison for ordering","Maintain version sequences in environments where only basic string sorting is available"],"what_it_does":"lexid is a micro library that generates sequential IDs with a special property: they maintain lexical ordering across their entire sequence, whether you treat them as strings or numbers. This solves a real problem: most tools that read version tags or build numbers use simple string sorting, which fails for normal numeric sequences. lexid works by preemptively incrementing the leftmost digit and expanding padding when needed, so sequences like \"0999\" \u2192 \"11000\" preserve order even under naive string comparison.\n\nThe package provides both a command-line tool and a Python API. It has minimal dependencies\u2014only the standard library\u2014and supports Python 2 and 3. The use case is narrow but concrete: anywhere you need version or build numbers that will be sorted by tools without semantic version parsing, such as git tags read by shell scripts.","worth_installing":"Yes, but only if you have a specific need for lexically sortable sequential IDs and accept the maintenance risk. The package is abandoned (last commit 2021-05-13) and receives no updates, so it's suitable only for stable, self-contained use cases where you don't expect to need fixes or Python version compatibility updates."},"id":"lexid","links":{"html":"https://skillfed.io/packages/lexid","md":"https://skillfed.io/packages/lexid.md","pypi":"https://pypi.org/project/lexid/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-04-02","license_spdx":null,"license_treatment":"permissive","name":"lexid","python_support":"supports_current","summary":"Variable width build numbers with lexical ordering."},"popularity":{"monthly_downloads":534302,"position":6134,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2021.1006"}
