adtree-viz
Project description
adtree-viz
Intro
An Attack-Defense Tree modelling lib that allows user to model attack-defense scenarios using an internal DSL.
Project inspired by https://github.com/hyakuhei/attackTrees and https://github.com/tahti/ADTool2.
The main goals are:
- add support for AND nodes
- be able to break down a large tree into multiple subtrees.
- keep it simple, only Attack and Defense nodes
Usage
TODO
Getting started
Requirements:
Graphviz
Python 3.9
Create a venv
python3.9 -m venv venv
Activate
. venv/bin/activate
Install deps
pip install -r requirements.txt
Run tests
PYTHONPATH=src python -m pytest
Release to Github and PyPi
Create tag and push
./release.sh
Manually build and release
Run the below to generate a distributable archive:
python3 -m build
The adtree-viz-x.xx.x.tar.gz
archive can be found in the dist
folder.
Deploy to PyPi
python3 -m twine upload -r pypi dist/*
# Use __token__ as username
# Use PyPi API TOKEN as password
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
adtree-viz-0.0.3.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for adtree_viz-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09b9172fa5b2498bb6447bb5953cb3fa1521163238d35ed68d3550d6f36a25ea |
|
MD5 | 330c34b1e4f3aa5e49883b7b6d48330a |
|
BLAKE2b-256 | c4e67d8d0f749d538f540ae782c62ae037ba61e848a8327ab8d494b247e2470b |