$npx skillfedfor your agent

looseversion

Version numbering for anarchists and software realists

With conditionsPyPI Application FrameworksReleased Jul 20231.8M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — looseversion-1.3.0-py2.py3-none-any.whl
v1.3.0 · released 2023-07-05

Yes, if you need to compare non-PEP-440 version strings and want to avoid the deprecated distutils module. It has no dependencies, is actively maintained, and carries a permissive license. Skip it if you're only comparing Python package versions—use packaging.version.Version instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installs with no dependencies and has been actively maintained since its initial release.
  • The repository shows recent activity, making it a low-friction choice for projects that need LooseVersion functionality.

License · maintenance · safety

permissive license (permissive) — Licensed under the Python Software Foundation License, a permissive license that allows reproduction, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.

last release 2023-07-05 (1136 days) · last repo commit 2026-08-01 · 20 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,772,690 downloads/mo, #3,571 on PyPI

Verify before relying

pip install looseversion

from looseversion import LooseVersion
LooseVersion("1.0.0") < LooseVersion("2.0.0")  # Returns True
  • Whether this package is maintained as a long-term replacement or a temporary bridge during distutils deprecation
  • Performance characteristics when comparing very large numbers of version strings
Same gist for agents: .md · .json

What it is and what it does

looseversion is a standalone implementation of the version comparison logic from Python's deprecated `distutils.version.LooseVersion`. It handles version strings that don't conform to PEP-440, such as those with arbitrary separators, mixed alphanumeric components, or non-standard ordering schemes. The package is designed as a drop-in replacement, maintaining identical comparison semantics and even allowing direct comparison between looseversion and distutils LooseVersion instances, so tools don't need to coordinate migrations across their dependency tree.

You would use this when you need to parse and compare version numbers from external systems, legacy software, or heterogeneous sources that predate or ignore PEP-440. It's explicitly not recommended for comparing Python package versions—the description points to `packaging.version.Version` for that use case—but it's the right tool when you're working with version schemes outside your control.

Use it for

  • Compare versions from external APIs or systems that use non-standard version numbering schemes
  • Migrate away from distutils.version.LooseVersion without rewriting version comparison logic
  • Handle version strings from legacy software or heterogeneous sources in a single codebase
  • Maintain compatibility across dependencies that may still use the original distutils LooseVersion

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to compare non-PEP-440 version strings and want to avoid the deprecated distutils module.

It has no dependencies, is actively maintained, and carries a permissive license. Skip it if you're only comparing Python package versions—use packaging.version.Version instead.

Install

looseversion on PyPI

Before you install

Installs with no dependencies and has been actively maintained since its initial release. The repository shows recent activity, making it a low-friction choice for projects that need LooseVersion functionality.

License in practice

Licensed under the Python Software Foundation License, a permissive license that allows reproduction, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.

Quickstart

pip install looseversion

from looseversion import LooseVersion
LooseVersion("1.0.0") < LooseVersion("2.0.0")  # Returns True

Verify before relying

  • Whether this package is maintained as a long-term replacement or a temporary bridge during distutils deprecation
  • Performance characteristics when comparing very large numbers of version strings

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,136 days since the last release
Last repo commit
First released
Downloads1,772,690 / month, #3,571 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureLicense :: OSI Approved :: Python Software Foundation LicenseProgramming Language :: Python :: 3

Evidence: looseversion-1.3.0-py2.py3-none-any.whl

Tags

Capabilities
loose version comparisondistutils looseversion replacementnon-pep440 version parsingflexible version numberingversion string comparisonlegacy version schemesheterogeneous version formats
Topics
version-comparisondistutils-replacement

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “loose version comparison”

  • looseversionProvides a drop-in replacement for the deprecated…
  • verspecverspec parses and compares software version strings and version…
  • node-semverParses and compares semantic version strings using Node.js semver…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also verlib2 · setuptools-git-versioning · distribute · verspec · dep-logic · packaging · bumpver · parver · spacy-legacy · bump-my-version