Skip to main content

Python client for TheHive5

Project description

thehive4py

IMPORTANT: The library is still under development and is in beta phase. Use it with caution and expect breaking changes before the first stable release!

Rebooted version of thehive4py for TheHive5! Stay tuned, more to come!

Development

Setting up a virtual environment (optional)

You can setup a venv (see the official docs for this:

# Create and activate venv
python3 -m venv <path_of_venv>
source <path_of_venv>/bin/activate

Install the package for development

To install the package with the dev dependencies one can run:

pip install -e '.[dev]'

Run CI checks before pushing changes

To check the integrity of changes made one can run:

python scripts/ci.py 

or to execute the checks automatically just install the pre-commit hooks come with the repo:

pre-commit install

Run CD commands to build and publish

To build the package one can run:

python scripts/cd.py build

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

thehive4py-2.0.0b4.tar.gz (39.2 kB view hashes)

Uploaded Source

Built Distribution

thehive4py-2.0.0b4-py3-none-any.whl (40.3 kB view hashes)

Uploaded Python 3

Supported by

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