Skip to main content

Python API for CVE search.

Project description

Python application

Important Note: The API search endpoint has been removed from the public instance due to massive abusive behavior. You can use this API against a local version of CVE Search.

PyCVESearch is an easy to use wrapper around cve-search. Some of the calls will work against https://cve.circl.lu but for most of them, you need your own CVE Search instance. For the ones available on the public instance, see https://github.com/cve-search/PyCVESearch/blob/main/tests/tests.py.

This library is based on the work of Martin Simon and Kai Renken.

Installation:

From source use

    $ pip install pycvesearch

Documentation:

  • GET /api/browse/
  • GET /api/browse/vendor
>>> from pycvesearch import CVESearch
>>> cve = CVESearch()
>>> cve.browse(<vendor>)
  • GET /api/search/vendor/product
>>> cve.search('microsoft/office')
  • GET /api/cveid/cveid
>>> cve.id('CVE-2014-0160')
  • GET /api/last
>>> cve.last()
  • GET /api/dbInfo
>>> cve.dbinfo()
  • GET /api/cpe2.2/cpe
>>> cve.cpe22('cpe:/a:microsoft:office:2011::mac')
  • GET /api/cpe2.3/cpe
>>> cve.cpe23('cpe:2.3:a:microsoft:office:2011:-:mac')
  • GET /api/cvefor/cpe
>>> cve.cvefor('cpe:/a:microsoft:office:2011::mac')

License:

    Apache v2.0 License
    Copyright 2015-2016 Martin Simon
    Copyright 2015-2016 Kai Renken
    Copyright 2016 Raphaël Vinot

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.

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

pycvesearch-1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pycvesearch-1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pycvesearch-1.2.tar.gz.

File metadata

  • Download URL: pycvesearch-1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.4 Linux/5.15.0-41-generic

File hashes

Hashes for pycvesearch-1.2.tar.gz
Algorithm Hash digest
SHA256 ec5cea5541b9902ce89d870645396d5d7321257b5d7b1abe5999786c8656a9dc
MD5 5f575a261cf64ab80b805303d2601fc3
BLAKE2b-256 b20858942c19a94ec1b82cbb1d4ab0a16c9985f777d638a785af5d2aa47b22f1

See more details on using hashes here.

File details

Details for the file pycvesearch-1.2-py3-none-any.whl.

File metadata

  • Download URL: pycvesearch-1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.4 Linux/5.15.0-41-generic

File hashes

Hashes for pycvesearch-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8aada6de946f7a86875ab9fc4fb7d0fe8c189181867f89e77bd3ff5f8b529fec
MD5 5f95c295a413e3c89935a7fa8406d516
BLAKE2b-256 023f32cf4ffe403175e94042c53f408b81a8b5f197c0f192578c71147a20eef1

See more details on using hashes here.

Supported by

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