Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.82 KB

File metadata and controls

79 lines (54 loc) · 1.82 KB

Installation

Solvis is intended to be used in the context of spatial data analysis, and as such has dependencies on libraries like NumPy, GeoPandas.

Solvis requires Python, and at the time of writing supports the following versions:

python

Depending on your use case, you may also wish to install Shapely and PyVista for certain functions (e.g. [geometry.section_distance][solvis.geometry.section_distance].)

For easy package installation, either pip or uv is recommended.

Stable release

A stable release of the Solvis package can be installed from the Python Package Index (PyPI).

Using pip

$ pip install solvis

Or to include scripts dependencies and PyVista with the Visualization Toolkit (VTK):

$ pip install solvis[scripts,vtk]

Adding to a uv project

$ uv add solvis

or to include the extras:

$ uv add solvis[scripts,vtk]

From source code

The source code for solvis can be downloaded from the Github repository.

You can clone down the public repository with:

$ git clone https://github.com/GNS-Science/solvis.git

Once you have a copy of the source, you can install the package into your Python environment:

$ pip install .

Or with uv (using --all-extras to install all extra dependencies is recommended for development):

$ uv sync --all-extras