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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| graphomaly-0.3.2.tar.gz | 71.5 kB | Without provenance | Details for graphomaly-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graphomaly-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for graphomaly-0.3.2-py3-none-any.whl |
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
|
Security for graphomaly 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.