{"library":"packvers","title":"packvers","description":"Core utilities for Python package versioning. A fork of `packaging` version 21.3 that reintroduces `LegacyVersion` and supports PEP 440 / legacy comparison. Latest version 21.5, requires Python >=3.6.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install packvers"],"cli":null},"imports":["from packvers.version import LegacyVersion","from packvers.version import Version","from packvers.specifiers import SpecifierSet"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from packvers.version import Version, LegacyVersion\nfrom packvers.specifiers import SpecifierSet\n\nv = Version('1.2.3')\nprint(v)  # 1.2.3\nprint(SpecifierSet('>=1.0').contains(v))  # True\n\n# Legacy version support\nlv = LegacyVersion('1.2.3a')\nprint(lv)  # 1.2.3a","lang":"python","description":"Basic usage: parse and compare versions, including legacy format.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}