Skip to content

FFRI/FEXRD

Repository files navigation

Feature EXtractor for FFRI Dataset (FEXRD)

Checked with mypy python ci

Make feature vectors from FFRI Dataset

Requirements

  • Python (3.12)
  • Poetry (for building from scratch)

Install

You can install FEXRD as follows. We recommend that you create a virtual environment before the following instructions.

$ pip install https://github.com/FFRI/FEXRD/releases/download/v2024.2/fexrd-2024.2-py3-none-any.whl

Alternatively, you can build from source code as follows.

$ git clone https://github.com/FFRI/FEXRD.git
$ cd FEXRD
$ poetry install
$ python
>>> import json
>>> from fexrd import LiefFeatureExtractor
>>> lfe = LiefFeatureExtractor()
>>> fin = open("ffridataset_sample.json", "r")
>>> obj = json.loads(fin.read())
>>> lfe.get_features(obj["lief"])

How to use?

See the documentation for more details.

Author

Koh M. Nakagawa. © FFRI Security, Inc. 2020--2024

Yuki Mogi. © FFRI Security, Inc. 2024