Metadata-Version: 2.1
Name: cpeparser
Version: 0.0.1
Summary: CPE - Common platform enumeration parser in Python
Home-page: https://github.com/sabuhish/fastapi-mail
License: MIT
Author: sabuhish
Author-email: sabuhi.shukurov@gmail.com
Requires-Python: >=3.8.12,<4.0.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/sabuhish/fastapi-mail
Description-Content-Type: text/markdown


# Cpe-parser

The cpe-parser libray is a parses for CPE value. This cpe value can be either uri biding cpe or formatted binding value.


###  🔨  Installation ###

```sh
 $ pip install cpe-parser
```


### Guide


```python
from cpeparser import CpeParser
cpe = CpeParser()
result = cpe.parser("cpe:2.3:a:ipython:ipython:*:*:*:*:*:*:*:*")
print(result)
{
    'part': 'a',
    'vendor': 'ipython',
    'product': 'ipython',
    'version': '*',
    'update': '*',
    'edition': '*',
    'language': '*',
    'sw_edition': '*',
    'target_sw': '*',
    'target_hw': '*',
    'other': '*'
}
```
Default values are returned as asterisks '*' that represent ANY.

### NIST Documentation
This library follows the guidelines outline here: 
https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir7695.pdf
