$npx skillfedfor your agent

semver

Python helper for Semantic Versioning (https://semver.org)

Worth itPyPI Python ModulesReleased Jan 202591.0M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — semver-3.0.4-py3-none-any.whl
v3.0.4 · released 2025-01-24 · Python >=3.7

Yes. semver is a stable, well-maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. It solves a real problem—semantic version parsing and manipulation—cleanly and efficiently. Install it if you need to work with version strings programmatically.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • Low friction installation with no runtime dependencies.
  • Active maintenance with a recent commit on 2026-08-05 and steady development history since 2012-05-09.

License · maintenance · safety

permissive license (permissive) — BSD License (permissive). You can use, modify, and distribute this package freely in commercial and private projects, provided you retain the copyright notice and disclaimer.

last release 2025-01-24 (567 days) · last repo commit 2026-08-05 · 520 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 91,007,414 downloads/mo, #371 on PyPI

Verify before relying

pip install semver

import semver

ver = semver.Version.parse('1.2.3-pre.2+build.4')
print(ver.major, ver.minor, ver.patch)
print(semver.compare('1.0.0', '2.0.0'))
Same gist for agents: .md · .json

What it is and what it does

semver is a lightweight Python library for working with semantic versioning as defined by the semver.org specification. It provides utilities to parse version strings into their component parts (major, minor, patch, prerelease, build), compare versions, and programmatically bump version numbers. The library handles the full semver syntax including pre-release labels and build metadata.

The package is designed for developers who need to manage version strings in their applications—whether for dependency resolution, release management, or version-aware logic. It eliminates the need to write custom regex or string parsing for semantic versions and provides a clean API for version comparisons and increments.

Use it for

  • Parse version strings from package metadata or configuration files to extract and validate version components.
  • Compare two version strings to determine which is newer, for dependency resolution or compatibility checks.
  • Automatically bump major, minor, or patch version numbers during release workflows.
  • Validate that a version string conforms to semantic versioning before storing or publishing it.
  • Chain version bumps (e.g., bump_major().bump_minor()) to compute new versions in release pipelines.

Worth the install?

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

Worth it

Yes.

semver is a stable, well-maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. It solves a real problem—semantic version parsing and manipulation—cleanly and efficiently. Install it if you need to work with version strings programmatically.

Install

semver on PyPI

Before you install

Low friction installation with no runtime dependencies. Active maintenance with a recent commit on 2026-08-05 and steady development history since 2012-05-09.

Requires Python 3.7 or later.

License in practice

BSD License (permissive). You can use, modify, and distribute this package freely in commercial and private projects, provided you retain the copyright notice and disclaimer.

Quickstart

pip install semver

import semver

ver = semver.Version.parse('1.2.3-pre.2+build.4')
print(ver.major, ver.minor, ver.patch)
print(semver.compare('1.0.0', '2.0.0'))

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 567 days since the last release
Last repo commit
First released
Downloads91,007,414 / month, #371 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: semver-3.0.4-py3-none-any.whl

Tags

Capabilities
semantic versioning parserversion comparisonsemver parsingversion bumpingversion string manipulationMAJOR.MINOR.PATCHpre-release version handling
Topics
version-managementsemver

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 › “semantic versioning parser”

  • semverParse, compare, and manipulate semantic version strings following the…
  • semver4Parses and manipulates semantic versions with an optional fourth…
  • awesomeversionParse and compare version strings across multiple formats (semantic…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also node-semver · semantic-version · semver4 · version-parser · release-tag · versions · bumpver · python-semantic-release · autosemver · keepachangelog