Packageurl-python

Latest version: v0.15.0

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

0.9.4

------------------

- Fix Python 2 compatibility issue 57

0.9.3

------------------

- 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`.

0.9.2

------------------

- 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

0.9.1

------------------

- 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.

0.9.0

------------------

- 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)

0.8.7

------------------

- Add max length validation to the Django model contrib.

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.