Installation
Requirements
pandas>=1.3.0
numpy>=1.20.0
geopandas>=0.10.0
shapely>=1.8.0
pyproj>=3.0.0
networkx>=2.6.0
matplotlib>=3.5.0
plotly>=5.0.0
nltk>=3.6.0
sentence-transformers>=2.0.0
scikit-learn>=1.0.0
graphviz>=0.20.0
swifter>=1.3.0
typing-extensions>=4.0.0
hatchling>=1.0.0
In addition, when using the second and third modules, you will need to install tscluster and ppandas respectively.
Keep reading this section for instructions on installing those packages.
Installing piccard
To install the current released version:
pip install piccard
To install the pre-release version via git:
pip install git+https://github.com/fcorbin567/piccard2.git
Then import:
from piccard import piccard as pc
Installing tscluster
Note that you will need a Gurobi licence when using OptTSCluster with large model size. See here for more about Gurobi licences.
To install the current released version:
pip install tscluster
To install the pre-release version via git:
pip install git+https://github.com/tscluster-project/tscluster.git
Installing ppandas
To install via git:
pip install git+https://github.com/fcorbin567/ppandas.git