
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
A backwards/forwards-compatible fork of distutils.version.LooseVersion
,
for times when PEP-440 isn't what you need.
The goal of this package is to be a drop-in replacement for the original LooseVersion
.
It implements an identical interface and comparison logic to LooseVersion
.
The only major change is that a looseversion.LooseVersion
is comparable to a
distutils.version.LooseVersion
, which means tools should not need to worry whether
all dependencies that use LooseVersion have migrated.
If you are simply comparing versions of Python packages, consider moving to
packaging.version.Version,
which follows PEP-440.
LooseVersion
is better suited to interacting with heterogeneous version schemes that
do not follow PEP-440.
pip install looseversion
git clone https://github.com/effigies/looseversion.git
pip install looseversion/
>>> from looseversion import LooseVersion
>>> LooseVersion("1.0.0") < LooseVersion("2.0.0")
True
>>> LooseVersion("1.0.0") < "2"
True
FAQs
Version numbering for anarchists and software realists
We found that looseversion 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.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.