Name Description Size Coverage
__init__.py 0 -
filters.py Filter by an exact Package URL string. The special "EMPTY" value allows retrieval of objects with an empty Package URL. This filter depends on `for_package_url` and `empty_package_url` methods to be available on the Model Manager, see for example `PackageURLQuerySetMixin`. When exact_match_only is True, the filter will match only exact Package URL strings. 2438 -
models.py Add Package URL filtering methods to a django.db.models.QuerySet. 5930 -
utils.py Return a lookups dictionary built from the provided `purl` (Package URL) string. These lookups can be used as QuerySet filters. If include_empty_fields is provided, the resulting dictionary will include fields with empty values. This is useful to get exact match. Note that empty values are always returned as empty strings as the model fields are defined with `blank=True` and `null=False`. 2547 -