An efficient derivation tree implementation for grammar fuzzing and other applications.
Project description
DerivationTree: An Efficient, Trie-Based Derivation Tree Implementation
TODO
Build, Run, Install
DerivationTree requires Python 3.10.
Install
Usually, a simple pip install derivationtree
should suffice.
We recommend installing DerivationTree inside a virtual environment (virtualenv):
python3.10 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install derivationtree
Build
DerivationTree is built locally as follows:
git clone https://github.com/rindPHI/derivationtree.git
cd derivationtree/
python3.10 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install --upgrade build
python3 -m build
Then, you will find the built wheel (*.whl
) in the dist/
directory.
Testing & Development
For development, we recommend using DerivationTree inside a virtual environment ( virtualenv). By thing the following steps in a standard shell (bash), one can run the ISLa tests:
git clone https://github.com/rindPHI/derivationtree.git
cd derivationtree/
python3.10 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements_test.txt
# Run tests
pip install -e .[dev,test]
python3 -m pytest tests
Changelog
See CHANGELOG.md.
Copyright, Authors and License
Copyright © 2022 CISPA Helmholtz Center for Information Security.
The DerivationTree code and documentation was, unless otherwise indicated, authored by Dominic Steinhöfel.
DerivationTree is released under the GNU General Public License v3.0 ( see COPYING).
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
Built Distribution
Hashes for derivationtree-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6bc9c9e301cb19bc7332112d0e0508e3fc55a0f859f44b547457283059c7f66 |
|
MD5 | fd5f633dce3abf3fd828187f1d82e2b7 |
|
BLAKE2b-256 | 329a3f4d9a1b095c7dfc43587d2ac1268a121852fab1f59d821fd22feb95d8c9 |