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.2.0.tar.gz (13.5 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.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file hozint_apiclient-0.2.0.tar.gz.

File metadata

  • Download URL: hozint_apiclient-0.2.0.tar.gz
  • Upload date:
  • Size: 13.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 b6bb39e62d31e847b1ef94f877408bd6a49fb55a9c10dfcc64766e28176b9790
MD5 f3490945de534ed8dbbd11c4b4d271f9
BLAKE2b-256 bdc28aafeef8abc8fdebd52e5c4b8e3064ace3a6931bbd21321480ccb6efe62e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hozint_apiclient-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hozint_apiclient-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75541e8a7a3526e075dec89e4075acd687a8643cbb09e9ad698bd02cff7014c7
MD5 b203aca33a6f17c586c3222346b70197
BLAKE2b-256 1ccac7ceeecb935596edae0d5c41c8d2e98494a72822cafb2622074ed21f2f06

See more details on using hashes here.

Provenance

The following attestation bundles were made for hozint_apiclient-0.2.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