Skip to main content

Provides access to the vulndb information

Project description

Python SDK to access the [vulnerability database](https://github.com/vulndb/data)

Build status: [![Circle CI](https://circleci.com/gh/vulndb/python-sdk/tree/master.svg?style=svg)](https://circleci.com/gh/vulndb/python-sdk/tree/master)

## Installation
```bash
git clone https://github.com/vulndb/python-sdk.git
python setup.py install
```

## Usage

```python
>>> from vulndb import DBVuln
>>> dbv = DBVuln.from_id(42)
>>> dbv.get_title()
'SQL Injection'
>>> dbv.get_severity()
'High'
>>> r = dbv.get_references()[0]
>>> r.get_url()
'http://example.com/sqli-description.html'
>>> r.get_title()
'SQL injection cheat-sheet'
```

More methods and helpers available in the source code.

## Contributing
Send your [pull requests](https://help.github.com/articles/using-pull-requests/)
with improvements and bug fixes, making sure that all tests `PASS`:

```console
$ nosetests vulndb/
......
----------------------------------------------------------------------
Ran 6 test in 0.535s

OK
```

Install the test dependencies by running `pip install -r vulndb/requirements-dev.txt`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vulndb-0.0.1.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file vulndb-0.0.1.tar.gz.

File metadata

  • Download URL: vulndb-0.0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vulndb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b8b93e4bcbeb0a1b0cd2e5f5a1a5b584587f07bc09ea38e072854cc8e483af1c
MD5 b739d439c4015e020c1bbc4975d20b9e
BLAKE2b-256 285b35aafbbd614e0a8399b8e6d51cbd69332da6be80dc7fb6e3d0a0c957d495

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page