Skip to main content

openvisuspy

Project description

Instructions

Important:

Installation

In Windows:

set PATH=c:\Python310;%PATH%
where python

python.exe -m venv .venv
.venv\Scripts\activate

python.exe -m pip install --upgrade pip
python.exe -m pip install -r requirements.txt

# install the latest version of OpenVisus
python.exe -m pip install --upgrade OpenVisusNoGui openvisuspy

In MacOs/Linux:

python3 -m venv .venv
source .venv/Scripts/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt

# install the latest version of OpenVisus
python3 -m pip install --upgrade OpenVisusNoGui openvisuspy

Dashboards

In Windows:

.venv\Scripts\activate
python.exe -m panel serve ./app --dev --args ./json/dashboards.json

In MacOs/Linux:

source .venv/bin/activate
python.exe -m panel serve ./app --dev --args ./json/dashboards.json

Notebooks

In Windows:

.venv\Scripts\activate
jupyter lab ./notebooks

In MacOs/Linux:

source .venv/bin/activate
jupyter lab ./notebooks

Important: if Panel is not working you may have to do:

pskill python
jupyter nbconvert --clear-output --inplace notebooks/test-panel.ipynb  
jupyter trust notebooks/test-panel.ipynb  

Volume rendering

python test/test-pyvista.py
python test/test-vtkvolume.py 

Developers only

Debug mode in Windows

.venv\Scripts\activate

set PATH=c:\Python310;%PATH%
set PYTHONPATH=C:\projects\OpenVisus\build\RelWithDebInfo;.\src
set BOKEH_ALLOW_WS_ORIGIN=*
set BOKEH_LOG_LEVEL=debug
set VISUS_CPP_VERBOSE=1
set VISUS_NETSERVICE_VERBOSE=1
set VISUS_VERBOSE_DISKACCESS=0
set VISUS_CACHE=c:/tmp/visus-cache

python.exe -m panel serve ./app --dev --args ./json/dashboards.debug.json
python.exe -m jupyter lab notebooks/ov-dashboards.ipynb

Deploy binaries

./scripts/new_tag.sh

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

openvisuspy-1.0.60-py3-none-any.whl (17.1 MB view hashes)

Uploaded Python 3

Supported by

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