Skip to content

Commit

Permalink
Preparing for pypi release
Browse files Browse the repository at this point in the history
  • Loading branch information
safreita1 committed Feb 18, 2021
1 parent 54f7a5d commit 0c3e62b
Show file tree
Hide file tree
Showing 24 changed files with 64 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ To quickly get started download [TIGER](https://github.com/safreita1/TIGER.git)

To use the built-in graph dataset helper functions, do the following:
1. create a folder called "dataset" in the main directory.
2. call the function [get_graph_urls()](graphs.py) to get a list of urls containing the datasets used in all our
2. call the function [get_graph_urls()](graph-tiger/graphs.py) to get a list of urls containing the datasets used in all our
experiments.
3. run [wget](https://www.gnu.org/software/wget/) "url goes here" and place the downloaded graph inside the dataset folder.


### Examples
Inside the [experiments](experiments) folder we provide extensive examples on how to use TIGER.
Inside the [experiments](graph-tiger/experiments) folder we provide extensive examples on how to use TIGER.
Below we'll discuss few examples to get you started (all results should auto-populate in a folder called "plots"):


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added setup.cfg.py
Empty file.
62 changes: 62 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

from setuptools import find_packages, setup

install_requires = ["numpy",
"networkx",
"tqdm",
"python-louvain",
"scikit-learn",
"scipy",
"pygsp",
"gensim==3.8.3",
"pandas",
"six"]


setup_requires = ['pytest-runner']


tests_require = ['pytest',
'pytest-cov',
'mock']


keywords = ["data-science",
"machine-learning",
"networkx",
"graph",
"data-mining",
"attack",
"simulation",
"vulnerability",
"networks",
"epidemics",
"defense",
"graph-mining",
"diffusion",
"robustness",
"graph-attack",
"adversarial-attacks",
"network-attack",
"cascading-failures",
"netshield"]


setup(
name="graph-tiger",
packages=find_packages(),
version="0.1.0",
license="MIT",
description="A general purpose library for graph vulnerability and robustness analysis.",
author="Scott Freitas",
author_email="[email protected]",
url="https://github.com/safreita1/TIGER",
keywords=keywords,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
classifiers=["Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6"],
)

0 comments on commit 0c3e62b

Please sign in to comment.