Skip to content

Kamforka/TheHive4py

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Python 100.0%