bryantower / topologic

A python library for intelligently building networks and network embeddings, and for analyzing connected data.

Home Page:https://topologic.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Topologic

Documentation Status PyPI

Release Status

Version 0.1.1 is released!

Installation Instructions

pip install topologic

Plans

Merger with the GraSPy library.

Bugs or Feature Requests

Please file a new issue if you find any bugs, either in the code or the documentation.

Development Setup Instructions

Topologic was developed for Python 3.6+ and makes extensive use of type hints throughout and f-strings throughout. Python 2.7 is not supported.

Topologic is known to work with Python x64 3.6, 3.7, and 3.8 on Windows and Ubuntu, and presumed to work on MacOS as well. Please submit a new issue with any issues found on any of these versions.

Windows

py -m venv venv
venv\Scripts\activate.bat
pip install -U setuptools wheel pip
pip install -r requirements.txt

It is possible that you will need to install Visual Studio Build Tools for some of the topologic dependencies. Some dependencies such as scipy and numpy have C code that must be compiled for your version of Python to work. Please follow the directions in your console if you have errors after installing the requirements and then try again after following these instructions.

MacOS

python3 -m venv venv
source venv/bin/activate
pip install -U setuptools wheel pip
pip install -r requirements.txt

Ubuntu

sudo apt-get update && sudo apt-get install python3-pip python3-dev
python3 -m venv venv
source venv/bin/activate
pip install -U setuptools wheel pip
pip install -r requirements.txt

Running Tests

mypy ./topologic
mypy ./tests
flake8 ./topologic ./tests
pytest tests topologic

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Privacy

topologic does not collect, store, or transmit any information of any kind back to Microsoft.

For your convenience, here is the link to the general Microsoft Privacy Statement.

About

A python library for intelligently building networks and network embeddings, and for analyzing connected data.

https://topologic.readthedocs.io

License:MIT License


Languages

Language:Python 69.2%Language:Jupyter Notebook 30.6%Language:Makefile 0.2%