semvec/pypi-packages huggingface dataset:
SnykVulndb 0.1.2
This library used for searching cve by package name and version using SNYK database. Basically it parse HTML from SNYK page
License: MIT
Keywords: cve,snyk,snyk api

SnykVulndb
==========

SnykVulndb is library that used to check CVE for specific library by
given library category (pip,npm,maven,composer), library name, and
library by extracting html response from snyk.io page without any
API-Key or registration.

**Disclaimer** *This library is not official library from snyk. Use it
as is without any guarantee or warranty. Your use of information from
this library is at your own risk*

How to Use
----------

Installation
~~~~~~~~~~~~

.. code:: bash

   pip install SnykVulndb

Usage
~~~~~

.. code:: python

   from SnykVulndb.CveChecker import CveChecker
   checker = CveChecker()
   ##example 
   # checker.getCveList(category,package_name,package_version)
   checker.getCveList('pip','tensorflow','2.4.0')

.. code:: json

   [{'id': 'CVE-2021-41214', 'score': '7.8'}, {'id': 'CVE-2021-41209', 'score': '5.5'}, {'id': 'CVE-2021-41199', 'score': '5.5'}, {'id': 'CVE-2021-41198', 'score': '5.5'}, {'id': 'CVE-2021-41197', 'score': '5.5'}, {'id': 'CVE-2021-41196', 'score': '5.5'}, {'id': 'CVE-2021-41200', 'score': '5.5'}, {'id': 'CVE-2021-41223', 'score': '7.1'}, {'id': 'CVE-2021-41205', 'score': '7.1'}, {'id': 'CVE-2021-41224', 'score': '7.1'}, {'id': 'CVE-2021-41216', 'score': '5.5'}, {'id': 'CVE-2021-41211', 'score': '7.1'}, {'id': 'CVE-2021-41201', 'score': '7.8'}, {'id': 'CVE-2021-41210', 'score': '7.1'}, {'id': 'CVE-2021-41204', 'score': '5.5'}, {'id': 'CVE-2021-41219', 'score': '7.8'}, {'id': 'CVE-2021-41215', 'score': '5.5'}, {'id': 'CVE-2021-41212', 'score': '7.1'}, {'id': 'CVE-2021-41221', 'score': '7.8'}, {'id': 'CVE-2021-41203', 'score': '7.8'}, {'id': 'CVE-2021-41213', 'score': '5.5'}, {'id': 'CVE-2021-41207', 'score': '5.5'}, {'id': 'CVE-2021-41227', 'score': '6.6'}, {'id': 'CVE-2021-41208', 'score': '8.8'}, {'id': 'CVE-2021-41202', 'score': '5.5'}]

Currently, supported categories are: pip, composer, npm, and maven

Contact
-------

mail: aryya.widigdha@yahoo.com

License
-------

MIT License
django-url-or-relative-url-field 0.2.0
This package provides a Django model field that can store both absolute and relative URLs
License: MIT
Requires Python: >=3.6,<4.0

# Django URL or Relative URL Field

This package extends default Django URLField to support relative URLs.


## Installation

1. Install the python package django-url-or-relative-url-field from pip:

    ``pip install django-url-or-relative-url-field``

    Alternatively, you can install download or clone this repo and call ``pip install -e .``.
  
2. Add to INSTALLED_APPS in your **settings.py**:

    `'url_or_relative_url_field',`
  
## Usage  
  
Add field to the model:

```python
from django.db import models
from url_or_relative_url_field.fields import URLOrRelativeURLField

class Redirect(models.Model):
   url = URLOrRelativeURLField()
```

Now your model will accept both absolute and relative URLs into the ``url`` field.