Catalog PyPI
PACKAGE EXPLORERView in registry

ADTCreate

PyPI

ADT Create provides a general method to create and customize Attack-Defense Trees (ADTs), allowing users to visualize and analyse security scenarios. A user is able to create and customize ADTs from scratch, upload/download ADTs in XML format, generate ADTerms based on ADTs, compare ADTerms to determine equivalence using an equivalence threshold using the Levenshtein Distance, determine satisfiability of an ADT and generate statistics of an ADT

Versions collected1
Direct dependencies2From release 1.0.0rc5
Last observed20 Oct, 19:55 UTC

README

Version 1.0.0rc5 documentation

ADT Create

Welcome to ADT Create. This project aims to provide a general method to create and customize Attack-Defense Trees (ADTs), allowing users to visualize and analyse security scenarios. A user is able to create and customize ADTs from scratch, upload/download ADTs in XML format, generate ADTerms based on ADTs, compare ADTerms to determine equivalence using an equivalence threshold using the Levenshtein Distance, determine satisfiability of an ADT and generate statistics of an ADT.

Getting Started

This document will guide you through the project structure and the installation process of ADT Create.

Explore the unlimited possible ADTs and strenghten your defenses!

Project Structure

The files of the package can be found in folder ADTCreate/.
This folder contains the following files:

  • ADT.py: general functionalities for creation and construction of ADTs, contains the calls to other modules.
  • ADTXML.py: XML import and export functionalities.
  • ADTSatisfiability.py: Satisfiability functionalities.
  • GenerateADTerm.py: ADTerm Generation functionalities.
  • CompareADTerms.py: ADTerms Comparison functionalities.
  • MultisetList.py: Multiset implementation based on the List type.

The testprogram can be found in this project in file main.py
The changelog can be found in this project in file changelog.md.
The manual can be found in this project in file code_documentation.md.

Installation

Make sure you have installed Python version >= 3.7 and the pip package.
Open your Terminal (on UNIX systems), and run pip install ADTCreate.
Open up a Python file, and add from ADTCreate import ADT.

You have now succesfully installed ADT Create and imported it into your project.
Happy coding!

To create an ADT, use: adt_instance = ADT.initADT(type, refinement, label).
Use the features of ADT Create by performing them on adt_instance, such as adt_instance.addChild(...).

See code_documentation.md for instructions on how to use ADT Create, and changelog.md for the changelog on the GitHub repository of this project.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.0rc53 Jul 20242

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mainjay/adtpythonlibrary

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:55 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e4136c3d7c2b65cf6f34ed43da5ad93790da75dad0f27374583215e45e5fab01