derivationtree-0.4.3
توضیحات
An efficient derivation tree implementation for grammar fuzzing and other applications.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | derivationtree-0.4.3 |
| نام | derivationtree |
| نسخه کتابخانه | 0.4.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dominic Steinhoefel |
| ایمیل نویسنده | Dominic Steinhoefel <dominic.steinhoefel@cispa.de> |
| آدرس صفحه اصلی | https://github.com/rindPHI/derivationtree |
| آدرس اینترنتی | https://pypi.org/project/derivationtree/ |
| مجوز | - |
DerivationTree: An Efficient, Trie-Based Derivation Tree Implementation
=======================================================================
[](https://pypi.python.org/pypi/derivationtree/)
[](https://pypi.python.org/pypi/derivationtree/)
[](https://github.com/rindPHI/derivationtree/actions/workflows/test-derivationtree.yml)
[](https://github.com/psf/black)
**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):
```shell
python3.10 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install derivationtree
```
### Build
DerivationTree is built locally as follows:
```shell
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:
```shell
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](CHANGELOG.md).
## Copyright, Authors and License
Copyright © 2022 [CISPA Helmholtz Center for Information Security](https://cispa.de/en).
The DerivationTree code and documentation was, unless otherwise indicated, authored by
[Dominic Steinhöfel](https://www.dominic-steinhoefel.de).
DerivationTree is released under the GNU General Public License v3.0 (
see [COPYING](COPYING)).
نیازمندی
| مقدار | نام |
|---|---|
| >=0.8.2 | datrie |
| >=0.1.14 | grammar-graph |
| >=0.20.1 | graphviz |
| >=22.10.0 | black |
| >=0.9.0 | build |
| >=6.0.0 | flake8 |
| >=4.0.2 | twine |
| >=6.5.0 | coverage |
| >=7.2.0 | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl derivationtree-0.4.3:
pip install derivationtree-0.4.3.whl
نصب پکیج tar.gz derivationtree-0.4.3:
pip install derivationtree-0.4.3.tar.gz