Skip to main content

Graphomaly

Automatic tool for Anti-Money Laundering (AML) and detecting abnormal behavior in computer networks. Find abnormal data in graph and network structures.

Official package documentation here.

This work was initially supported by the Graphomaly Research Grant and later partially supported by the Netalert Research Grant.

Installation and setup

Install via pip from the PyPi repository:

pip install graphomaly

or for the latest changes not yet in the official release:

pip install git+https://gitlab.com/unibuc/graphomaly/graphomaly

Install via docker from the DockerHub repository

docker pull pirofti/graphomaly

For using the GPU pull the dedicated image:

docker pull pirofti/graphomaly:latest_gpu

Usage

The package follows the sklearn API and can be included in your projects via

from graphomaly.estimator import GraphomalyEstimator

which will provide you with a standard scikit-learn estimator that you can use in your pipeline.

For configuration and tweaks please consult the YAML file for now until documentation matures.

Development and testing

First clone the repository and change directory to the root of your fresh checkout.

0. Install Prerequisites

Install PyPA’s build:

python3 -m pip install --upgrade build

1. Build

Inside the Graphomaly directory

python -m build

2. Virtual Environment

Create a virtual environment with Python:

python -m venv venv

Activate the environment:

source venv/bin/activate

For Windows execute instead:

venv\Scripts\activate

3. Install

Inside the virtual environment execute:

pip install dist/graphomaly-*.whl

Running unit tests

First create the results directory:

mkdir -p tests/results/synthetic

Run the initial test on synthetic data to make sure things installed ok:

cd tests && python test_synthetic

Then run the other unit tests by hand as above or via pytest:

pytest  # add -v for verbose, add -s to print(...) to console from tests

Metadata

Release files for graphomaly 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphomaly 0.3.2
File Size Uploaded
graphomaly-0.3.2.tar.gz 71.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for graphomaly 0.3.2
File Interpreter ABI Platform
graphomaly-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 160.5 kB

Release files / graphomaly-0.3.2.tar.gz

Download URL graphomaly-0.3.2.tar.gz
Size 71.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7cdf8b64eb8e9d7c110d47a53b12c5d3483275b7743c95708f1be3ddf4d2f30a
BLAKE2b-256 checksum
How to use checksums
e76197da753bd2fb3d531cf7b3c9f58889178f25b55b79e2c2679a374d73a55e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / graphomaly-0.3.2-py3-none-any.whl

Download URL graphomaly-0.3.2-py3-none-any.whl
Size 89.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e4e8be2112b7b02d2158103ad17799696ed19857c7a58d54bfbb897d3b2dab7
BLAKE2b-256 checksum
How to use checksums
c770546e7700e329442de40f242e29a521e7c37367ea5b6faf4a58efb37f28f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page