![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
A standalone variant of `distutils.version` and `packaging.version`, without anything else.
» Changelog | PyPI | Issues | Source code | License
A standalone variant of distutils.version
and packaging.version
,
without anything else.
verlib is the implementation of PEP 386.
verlib2 is the implementation of PEP 440.
It also includes the original distutils.version
implementation,
for those who need it going forward.
Everyone needs to compare versions, but no one wants to add packaging
as a dependency.
distutils
is deprecated, and Python 3.12 removed it from the standard library.
pip install verlib2
from verlib2 import Version
assert Version("1.0.dev456") < Version("1!1.2.rev33+123456")
Note: verlib2.Version
provides packaging's Version
, while
both implementations can be accessed like this:
from verlib2.distutils.version import LooseVersion, StrictVersion
from verlib2.packaging.version import Version
Greg Stein, Greg Ward, Donald Stufft, Tarek Ziadé, and all contributors to
distutilsversion
, verlib
, distutils
, distutils2
, packaging.version
,
PEP-0386, PEP-0440, and most probably many more.
Set up package in development mode.
python3 -m venv .venv
source .venv/bin/activate
pip install --editable='.[develop,test]'
Run software tests.
poe check
FAQs
A standalone variant of `distutils.version` and `packaging.version`, without anything else.
We found that verlib2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.