Skip to main content

Approximate fuzzy subgraph matching in polynomial time

Project description

Fornax

CircleCI Coverage Status Known Vulnerabilities Documentation Status

An implementation of NeMa: Fast Graph Search with Label Similarity using python3 and sqlite or postgres.

FORNAX

Install

Via pip:

pip install fornax

Note that Fornax requires numpy to be installed (part of the SciPy ecosystem) which in turn has non python dependencies. The available options for installing SciPy packages are listed here.

We recomend installing fornax via anaconda

conda create --name myenv python=3.6
source activate myenv
pip install fornax

Install (Dev)

From the root directory:

# install dev dependencies
pip install -r requirements/dev.txt

# install fornax
pip install -e .

View the Docs

View the docs at: fornax.readthedocs.io

Test

From the root directory

python run_test.py

Tutorials

See the tutorials for a full working example.

  • Part 1 - Download a small graph dataset
  • Part 2 - Search the dataset using fornax

Install Tutorial Dependencies (using conda)

The following tutorials use jupyter notebooks to create a worked example. We recommend you use the anaconda python distribution to run the notebooks.

conda env create -f environment.yml

Run the Tutorials

source activate fornax_tutorial
cd docs/tutorial
jupyter-notebook

Documentation

Build the Docs

# install docs dependencies
pip install -r requirements/docs.txt
# install fornax
pip install .

# build
cd docs
make html

View the Docs Locally

cd _build/html
python3 -m http.server

navigate to 0.0.0.0:8000 in your browser.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fornax-0.1.1.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fornax-0.1.1-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file fornax-0.1.1.tar.gz.

File metadata

  • Download URL: fornax-0.1.1.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for fornax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1692afdafb85edb873b28a2b30c47993b6a478efed48bb838b4e3f7337509420
MD5 393661b865fed99537f76c4b3fcacb0a
BLAKE2b-256 2b9c6076982bdf88eb502d530cfde17493fe95bc71a864d588762faf07db4149

See more details on using hashes here.

File details

Details for the file fornax-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fornax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for fornax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c682c8d8a61ed4ff155d3710d56f520d0038931bc0d614cff6123e7dbc3cafb1
MD5 278aecad3cb84805d9b6d2748d6d6104
BLAKE2b-256 e0e5ca4d0fad49e765c1e2c0557e5ff9d239aeadc96f15f8703c058660fa15af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page