Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hozint_apiclient-0.1.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hozint_apiclient-0.1.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

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

Hashes for hozint_apiclient-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c465efcf4518ec8a6e85b45a90a69383cf649d6ef0ad33880f352693a02ab0a8
MD5 9bcfd6ae8f21b6e15e9a2fe7d56861f0
BLAKE2b-256 87a1148753daf1dec569c2b451ac64d087705e1b74226cd85296383607f0f18e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hozint_apiclient-0.1.0.tar.gz:

Publisher: build-wheel.yml on ai4copsec/hozint-apiclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hozint_apiclient-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hozint_apiclient-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41a0713da9b32df4eb0e75d62c97422c772b1504ac781b5bdb364f67e805d998
MD5 a41ee931a9e13edb1f2f76fa312f3d55
BLAKE2b-256 088156b764e15e941a4d8620006d4959576a8a79ec0d85bc8ecc20e3e39ae2f6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page