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
$ pip install cpe-parser
Guide
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
Release files for cpeparser 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cpeparser-0.0.2.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cpeparser-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / cpeparser-0.0.2.tar.gz
| Download URL | cpeparser-0.0.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17a48d4d609cec18dfed13568aecb837d8e84f2b0ad26e9ecf71390deaea4352
|
|
BLAKE2b-256 checksum How to use checksums |
c97511ae701c896e04cb223d937651e107e87edf48031c41e9d487ece3687ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Linux/5.13.0-1031-azure
|
Release files / cpeparser-0.0.2-py3-none-any.whl
| Download URL | cpeparser-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b95b20f36f0f2231107cff7eb618dd313fcc76a7c7b97f663e72325af9cba03c
|
|
BLAKE2b-256 checksum How to use checksums |
bf62d021638e01841503bafe8a33b44d526f952b3d4314110757dd3b35898482
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Linux/5.13.0-1031-azure
|