Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
» Changelog | PyPI | Issues | Source code | License
A standalone variant of packaging.version
, without anything else.
verlib is the implementation of PEP 386. verlib2 is the implementation of PEP 440.
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")
Tarek Ziadé, Donald Stufft, and all contributors to distutilsversion
, verlib
,
distutils
, distutils2
, packaging.version
, PEP-0386, PEP-0440, and most
probably 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 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.