Metadata-Version: 2.1
Name: py-cvedb
Version: 0.0.1
Summary: A simple CVE database written in Python
Home-page: https://github.com/BoxHezi/cvedb
Author: Box Hezi
Author-email: hezipypi.yixdpu@bumpmail.io
Description-Content-Type: text/markdown
Requires-Dist: nvdlib
Requires-Dist: tqdm

# cvedb

A local CVE db repository

1. Clone the [cvelistV5](https://github.com/CVEProject/cvelistV5) github repo
2. loop through all CVEs
   1. CVE instance will be created based on CVE json file
      1. If the CVE json file contains metrics entry, create Metrics for the CVE
      2. Otherwise, if `--create-metrics` argument is given, fetch metrics from NVD and create Metrics for the CVE
3. store in local database (python pickle)


### Use it in python project

```python
>>> from cvedb import cvedb
>>>
>>> db = cvedb.init_db()
>>> type(db) # <class 'cvedb.cvedb.CVEdb'>
```
