NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #509 most downloaded on PyPI
A purl aka. Package URL parser and builder
Latest stable
0.17.6
Last release 12 months ago
24 Nov 2025
Release timing varies
gaps range from 8 days to 8 months
Most releases are documented
notes for 42 of 55 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
57 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Add tests for latest purl-spec by @TG1999 in https://github.com/package-url/packageurl-python/pull/202
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.17.5...v0.17.6
Enhance url2purl to support commit hashes parsing (GitHub, GitLab, and Bitbucket) https://github.com/package-url/packageurl-python/pull/211
Adjust validation function https://github.com/package-url/packageurl-python/pull/206
Add validation function https://github.com/package-url/packageurl-python/pull/205
Your coding agent can read these notes before it upgrades. Set up the MCP server →
v0.17.6 Latest
Latest
Compare
Remove qpkg download URL purl2url support by @TG1999 in https://github.com/package-url/packageurl-python/pull/203
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.17.4...v0.17.5
Remove support for getting download URL for qpkg in purl2url. https://github.com/package-url/packageurl-python/pull/203
Add tests for latest purl-spec https://github.com/package-url/packageurl-python/pull/202
Collect more download URLs in purl2url by @TG1999 in https://github.com/package-url/packageurl-python/pull/201
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.17.3...v0.17.4
Add support for getting download URL for debian, apk, qpkg in purl2url. https://github.com/package-url/packageurl-python/pull/201
Collect more download URLs in purl2url by @TG1999 in https://github.com/package-url/packageurl-python/pull/199
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.17.2...v0.17.3
Add support for getting download URL for Luarocks, Conda, Alpm in purl2url. https://github.com/package-url/packageurl-python/pull/199
Fix Incorrect download url from build_golang_download_url() https://github.com/package-url/packageurl-python/issues/198
Add encode kwarg to .to_string() by @jaimergp in https://github.com/package-url/packageurl-python/pull/191
encode kwarg to .to_string() by @jaimergp in https://github.com/package-url/packageurl-python/pull/191Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.17.1...v0.17.2
Add support for getting download URL for Golang, Hex, Pub and Swift in purl2url. https://github.com/package-url/packageurl-python/pull/195
Add Maven support for purl2url by @fafanoulele in https://github.com/package-url/packageurl-python/pull/177
pkg as a PackageURL class attribute by @jaimergp in https://github.com/package-url/packageurl-python/pull/184Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.17.0...v0.17.1
Define "pkg" as a PackageURL SCHEME class attribute. https://github.com/package-url/packageurl-python/issues/184
Add support for Maven in purl2url. https://github.com/package-url/packageurl-python/issues/177
fix: qualifiers type annotation by @jhoward-lm in https://github.com/package-url/packageurl-python/pull/172
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.16.0...v0.17.0
Fix qualifiers type annotations. https://github.com/package-url/packageurl-python/issues/169
Fix parsing of names and namespaces with colons. https://github.com/package-url/packageurl-python/issues/152
Drop support for Python 3.7 #160 by @tdruez in https://github.com/package-url/packageurl-python/pull/163
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.6...v0.16.0
Add support for Python 3.13.
Drop support for Python 3.7. https://github.com/package-url/packageurl-python/issues/160
Improve support for 3 path segments NPM URLs in url2purl. https://github.com/package-url/packageurl-python/issues/167
Refine support for GitHub /archive/refs/tags/ URLs in url2purl by @tdruez in https://github.com/package-url/packageurl-python/pull/161
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.5...v0.15.6
Refine support for GitHub /archive/refs/tags/ URLs in url2purl. The whole tag is now captured as the version. This allows to properly reconstruct valid URLs in purl2url.
Capture the whole git tag as the version for GutHub URL in url2purl by @tdruez in https://github.com/package-url/packageurl-python/pull/159
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.4...v0.15.5
Capture the whole git tag as the version for GutHub URL in url2purl instead of adding a version_prefix qualifier. Note that the version_prefix qualifier is still supported in purl2url for backward compatibility. https://github.com/package-url/packageurl-python/pull/159
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.3...v0.15.4
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.3...v0.15.4
Add with_package_url, without_package_url, and order_by_package_url to the PackageURLQuerySetMixin contrib class.
Add support for namespace in build_npm_download_url.
Add support for namespace in build_npm_download_url.
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.1...v0.15.2
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.1...v0.15.2
Update GitHub generated Download URL for maximum compatibility. https://github.com/package-url/packageurl-python/issues/157
Add support for Composer in purl2url by @camillem in https://github.com/package-url/packageurl-python/pull/144
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.15.0...v0.15.1
Add support for Composer in purl2url and url2purl. https://github.com/package-url/packageurl-python/pull/144
Add an option for exact_match purl QuerySet lookups in the ``PackageURLQuerySetMixin.for_package_url``method. https://github.com/package-url/packageurl-python/issues/118
url2purl: add cran ecosystem by @schischi in https://github.com/package-url/packageurl-python/pull/149
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.14.0...v0.15.0
Add support to get PackageURL from go_package or go module name version string as seen in a go.mod file. https://github.com/package-url/packageurl-python/pull/148
Add cran ecosystem support for url2purl https://github.com/package-url/packageurl-python/pull/149
Add utility to get golang purl from go package by @TG1999 in https://github.com/package-url/packageurl-python/pull/142
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.13.4...v0.14.0
Add support for getting golang purl from go import. https://github.com/nexB/purldb/issues/259
Fix the "gem" type in the README docs. https://github.com/package-url/packageurl-python/pull/114
Improve support for SourceForge URLs in url2purl. https://github.com/package-url/packageurl-python/issues/139
Improve support for SourceForge URLs in url2purl. https://github.com/package-url/packageurl-python/issues/139
Improve support for SourceForge URLs in url2purl. https://github.com/package-url/packageurl-python/issues/139
Improve support for SourceForge URLs in url2purl. https://github.com/package-url/packageurl-python/issues/139
Improve support for SourceForge URLs in url2purl. https://github.com/package-url/packageurl-python/issues/139
Improve support for SourceForge URLs in url2purl. https://github.com/package-url/packageurl-python/issues/139
Add support for Python 3.12 https://github.com/package-url/packageurl-python/pull/135
Add support for Python 3.12 https://github.com/package-url/packageurl-python/pull/135
Revert changes from https://github.com/package-url/packageurl-python/pull/115/ In above PR we dropped namespaces for a golang purl and stored whole na
Revert changes from https://github.com/package-url/packageurl-python/pull/115/ In above PR we dropped namespaces for a golang purl and stored whole namespace and name in name itself, which was further discussed again and decided we will like to keep namespace back.
Modified PackageURL.from_string to properly handle golang purls. https://github.com/package-url/packageurl-python/pull/115/
Modified PackageURL.from_string to properly handle golang purls. https://github.com/package-url/packageurl-python/pull/115/
Improve support for PyPI URLs in url2purl. https://github.com/package-url/packageurl-python/pull/128
Return the "gem" type instead of "rubygems" for "https://rubygems.org/" URLs in url2purl. The pkg:rubygems/ purls are backward-compatible in purl2url. https://github.com/package-url/packageurl-python/pull/114/
Add support for GitLab "/archive/" URLs in url2purl #133 by @tdruez in https://github.com/package-url/packageurl-python/pull/134
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.11.2...v0.11.3
Remove deprecated purl_to_lookups and without_empty_values import compatibility from packageurl.contrib.django.models. Replace those functions import…
Remove deprecated purl_to_lookups and without_empty_values import compatibility from packageurl.contrib.django.models. Replace those functions import using packageurl.contrib.django.utils.
Add download purl2url support for bitbucket and gitlab.
Add support for the golang type in purl2url.get_repo_url() #107
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.11.0rc1...v0.11.1
This is a major release that drops supports for Python 3.6, adds support for Python 3.11 and adds typing.
This is a major release that drops supports for Python 3.6, adds support for Python 3.11 and adds typing.
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.10.5rc1...v0.11.0rc1
Apply typing
Add support for Python 3.11
Fix minor typos
Drop Python 3.6
This is a minor bug fix release.
This is a minor bug fix release.
PackageURL.from_string to properly handle npm purls with namespace.Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.10.4...v0.10.5rc1
Refactor the purl2url functions and utilities #42
Refactor the purl2url functions and utilities #42
get_repo_url() and get_download_url() returning
accordingly a "Repository URL" and a "Download URL".get_inferred_urls function is available to get return all
inferred URLs (repository and download) values.purl_from_pattern().download_url qualifier is returned in get_download_url() when available.Usage of purl2url.purl2url and purl2url.get_url is still available for
backward compatibility but should be migrated to purl2url.get_repo_url.
Include the version_prefix ("v" or "V") as a qualifier in build_github_purl #42
This allow to infer valid URLs in the context of purl2url.
Fix named arguments in purl_to_lookups.
Fix named arguments in purl_to_lookups.
Fix purl lookups by @TG1999 in https://github.com/package-url/packageurl-python/pull/95
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.10.1...v0.10.2
Add encode option in purl_lookups #94 (purl_to_lookups, without_empty_values is moved from packageurl.contrib.django.models to packageurl.contrib.django.utils)
Add ability to filter objects with EMPTY purls in PackageURLFilter #92
Changes
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.10.0...v0.10.1
Upgrade virtualenv.pyz to latest version #85
Full Changelog: https://github.com/package-url/packageurl-python/compare/v0.9.9...v0.10.0
Update version to be semver compliant. No changes to the code have been made.
Fix generic sourceforge PackageURL generation #79
Do not create a generic PackageURL for URLs without a path in url2purl #72
Create a generic PackageURL for URLs that do not fit existing routes in url2purl #68
Add support for new github URLs in url2purl #47
Add support for "archive/refs/tags/" github URLs in url2purl #47
Add support for "archive/refs/tags/" github URLs in url2purl #47
Fix Python 2 compatibility issue #57
Fix Python 2 compatibility issue #57
Add QuerySet utils to lookup and filter along the PackageURLMixin Django class #48
Add QuerySet utils to lookup and filter along the PackageURLMixin Django class #48
Add a PackageURLFilter class for Django FilterSet implementations #48
Move the django_models module to django.models #48 Replace packageurl.contrib.django_models imports with packageurl.contrib.django.models.
Add support for GitHub "raw" URLs in url2purl #43
Document usage in README
Adopt SPDX license identifier
Add support for GitHub "raw" URLs in url2purl #43
Improve GitHub support for "v" prefixed version in url2purl #43
Add and improve URL <-> Package URL conversion for gitlab, github, cargo, bitbucket and hackage URL conversions
Add and improve URL <-> Package URL conversion for gitlab, github, cargo, bitbucket and hackage URL conversions
Add new purl2url conversion utility
Remove the null=True on Django CharField fields of the PackageURLMixin
PackageURL.to_dict() now takes an optional "empty" argument with the value that empty values to have. It defaults to None which was the current behaviour. For some use cases, having an empty string may be a better option and this enables this.
Increase the size of the Django model contrib version to 100 chars.
Make PackageURL hashable.
Add cargo type or url2purl
Increase the size of the Django model contrib version to 100 chars.
Remove Python 3 idioms (f strings)
Add max length validation to the Django model contrib.
Add max length validation to the Django model contrib.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.