No project description provided
Project description
EUVD - European Union Vulnerabilities Database python wrapper
This library provides a Python wrapper for the EUVD API, offering a streamlined and consistent way to interact with the service. It is particularly useful for integrating the service into other applications.
Installation
The library can be installed using pip:
pip install euvd
Usage
Clients
The euvd.clients module provides Python clients for interacting with the European Union Vulnerabilities Database (EUVD) API. These clients offer methods for retrieving vulnerabilities, advisories, and performing tailored searches with filters.
Synchronous Client
from euvd.clients import EUVDSyncClient
from euvd.models import EnisaVulnerability
with EUVDSyncClient() as client:
vulnerabilities: list[EnisaVulnerability] = client.get_latest_vulnerabilities()
print(vulnerabilities)
Asynchronous Client
import asyncio
from euvd.clients import EUVDAsyncClient
from euvd.models import EnisaVulnerability
async def main():
async with EUVDAsyncClient() as client:
vulnerabilities: list[EnisaVulnerability] = await client.get_latest_vulnerabilities()
print(vulnerabilities)
asyncio.run(main())
Data models
The library provides a euvd.models package with several classes to encapsulate the different data structures used by the API.
Official documentation
Refer to the official documentation for detailed information about the methods and their parameters.
Disclaimer
This is beta software, not recommended yet for production use.
As the actual EUVD API is in beta stage and prone to change, this library may stop working without warning.
Also, as there is no official documentation on the data structures used, the model structures and semantics were reverse-engineered and may contain errors.
License
This library is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file euvd-1.0.0a1.tar.gz.
File metadata
- Download URL: euvd-1.0.0a1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcd38c2c11704e6276ce1ad627de065ee9bfedff7819ac271d012343ce3e1263
|
|
| MD5 |
d38ff7331a359b9a8d44acb78d638cd1
|
|
| BLAKE2b-256 |
0fd7536fade25a8e6a4cf27e40158803ed6c82ed86a199bb5ee74fb1f7e1fb6d
|
File details
Details for the file euvd-1.0.0a1-py3-none-any.whl.
File metadata
- Download URL: euvd-1.0.0a1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06e45c78abe92fb12a8d37390512ca95eee94d08e0de7d23473d71f17fe6e9f6
|
|
| MD5 |
80e00f7f0b226b5fecf2cd27ed6b5332
|
|
| BLAKE2b-256 |
52a1554d128ef2084a91904c61b6fc3df2ba190e0f67645129a26db646912687
|