Common Platform Enumeration for Python
CPE (this code) is a LGPL licensed Python package, implementing the CPE standards.
About the CPE standard
Common Platform Enumeration (CPE) is a standardized method of describing and identifying classes of applications, operating systems, and hardware devices present among an enterprise’s computing assets.
For more information, please visit the official website of CPE, developed by MITRE and maintained by NIST.
Features
CPE rich comparison.
CPE cross-version conversion.
CPE Language parsing and evaluation.
LGPL Licensed.
Semantic versioning.
Tests.
Installation

To install CPE execute:
$ pip install cpe
The latest stable version is always in PyPI.
Documentation
Documentation is available at ReadTheDocs.
Compatibility
Python: 2.7, 3.4
CPE: 1.1, 2.2, 2.3
CPE Formats: WFN, URI, FS.
Contribute

Follow the steps on the how to contribute document.
Release files for cpe 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cpe-1.3.1.tar.gz | 942.2 kB | Details |
Release files / cpe-1.3.1.tar.gz
| Download URL | cpe-1.3.1.tar.gz |
|---|---|
| Size | 942.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f30a97881b6eb74a6d630552aebce03df22cddb7a587d632a13b4e14b66b95b0
|
|
BLAKE2b-256 checksum How to use checksums |
a4309b907ff7e4af8c64d5461ab7e7beeff5dc53893dd1c70347069915c82eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|