Semantic version compare semver.py See the test next to the source for usage. Parse and compare semantic versions — no dependencies. No dependencies, no service to run — just the standard library.