Package to communicate with the HOZINT API
Project description
HOZINT API Client
An Python REST APIClient to query the HOZINT API.
Usage
Set up an .env file with the credentials for your HOZINT API subscription.
HOZINT_APICLIENT_USER="your@domain.org"
HOZINT_APICLIENT_PASSWORD="yourpassword"
HOZINT_APICLIENT_CSRF_TOKEN="your-selected-csrf-token"
To query the api and download the respective reports into a subfolder (by default ./reports):
$>hozint-apiclient query --from-time 2026-04-18 --output-dir reports
Testing
Install the project and use the predefined default test environment:
pytest tests
Contributing
This project is open to contributions. For details on how to contribute please check the Contribution Guidelines
License
This project is licensed under the BSD-3-Clause License.
Copyright
Copyright (c) 2026 Simula Research Laboratory, Oslo, Norway
Acknowledgments
The development of this library is part of the EU-project AI4COPSEC which receives funding from the Horizon Europe framework programme under Grant Agreement N. 101190021.
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 hozint_apiclient-0.1.0.tar.gz.
File metadata
- Download URL: hozint_apiclient-0.1.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c465efcf4518ec8a6e85b45a90a69383cf649d6ef0ad33880f352693a02ab0a8
|
|
| MD5 |
9bcfd6ae8f21b6e15e9a2fe7d56861f0
|
|
| BLAKE2b-256 |
87a1148753daf1dec569c2b451ac64d087705e1b74226cd85296383607f0f18e
|
Provenance
The following attestation bundles were made for hozint_apiclient-0.1.0.tar.gz:
Publisher:
build-wheel.yml on ai4copsec/hozint-apiclient
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hozint_apiclient-0.1.0.tar.gz -
Subject digest:
c465efcf4518ec8a6e85b45a90a69383cf649d6ef0ad33880f352693a02ab0a8 - Sigstore transparency entry: 1369901477
- Sigstore integration time:
-
Permalink:
ai4copsec/hozint-apiclient@7c4e57f0015fef2e2261b5a9e555feb93eb1d06a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ai4copsec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheel.yml@7c4e57f0015fef2e2261b5a9e555feb93eb1d06a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file hozint_apiclient-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hozint_apiclient-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41a0713da9b32df4eb0e75d62c97422c772b1504ac781b5bdb364f67e805d998
|
|
| MD5 |
a41ee931a9e13edb1f2f76fa312f3d55
|
|
| BLAKE2b-256 |
088156b764e15e941a4d8620006d4959576a8a79ec0d85bc8ecc20e3e39ae2f6
|
Provenance
The following attestation bundles were made for hozint_apiclient-0.1.0-py3-none-any.whl:
Publisher:
build-wheel.yml on ai4copsec/hozint-apiclient
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hozint_apiclient-0.1.0-py3-none-any.whl -
Subject digest:
41a0713da9b32df4eb0e75d62c97422c772b1504ac781b5bdb364f67e805d998 - Sigstore transparency entry: 1369901536
- Sigstore integration time:
-
Permalink:
ai4copsec/hozint-apiclient@7c4e57f0015fef2e2261b5a9e555feb93eb1d06a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ai4copsec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-wheel.yml@7c4e57f0015fef2e2261b5a9e555feb93eb1d06a -
Trigger Event:
workflow_dispatch
-
Statement type: