openvisuspy
Project description
OpenViSUS Visualization project
The official OpenVisus C++ GitHub repository is here.
Install openvisuspy
Create a virtual environment. This step is optional, but best to avoid conflicts:
- for windows users you can do
doskey python3=python $*
and.venv/Scripts/activate.bat
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
Install python packages, technically only numpy
is stricly needed, but to access cloud storage and show dashboards/notebooks, you need additional packages too.
python3 -m pip install numpy boto3 xmltodict colorcet requests scikit-image matplotlib bokeh panel itkwidgets[all] pyvista vtk jupyter
Next, nstall Openvisus packages.
If you do not need the OpenVisus viewer (or if you are in Windows WSL):
python3 -m pip install --upgrade OpenVisusNoGui
python3 -m pip install --upgrade openvisuspy
if you do need the OpenVisus viewer:
python3 -m pip install --upgrade OpenVisus
python3 -m OpenVisus configure
python3 -m pip install --upgrade openvisuspy
if you are in debugging mode you may want to reference your local packages:
export PYTHONPATH=./src;/projects/OpenVisus/build/RelWithDebInfo
Examples
Bokeh Dashboards
python3 -m bokeh serve "examples/dashboards/run.py" --dev --address localhost --args --single
python3 -m bokeh serve "examples/dashboards/run.py" --dev --address localhost --args --multi
python3 -m bokeh serve "examples/dashboards/nasa.py" --dev --address localhost --args --single
Other misc examples:
python -m bokeh serve "examples/dashboards/run.py" --dev --args --dataset "https://atlantis.sci.utah.edu/mod_visus?dataset=david_subsampled&cached=1" --palette Greys256 --palette-range "[0, 255]"
python -m bokeh serve "examples/dashboards/run.py" --dev --args --dataset "https://atlantis.sci.utah.edu/mod_visus?dataset=2kbit1&cached=1" --palette Greys256 --palette-range "[0, 255]"
python -m bokeh serve "examples/dashboards/run.py" --dev --args --dataset "https://atlantis.sci.utah.edu/mod_visus?dataset=chess-zip&cached=1" --palette Viridis256 --palette-range "[-0.017141795, 0.012004322]" --num-views 3
Panel Dashboards
python -m panel serve "examples/dashboards/run.py" --dev --address localhost --args --single
python -m panel serve "examples/dashboards/run.py" --dev --address localhost --args --multi
python -m panel serve "examples/dashboards/nasa.py" --dev --address localhost --args --single
Jupyter Notebooks
python3 -m jupyter notebook ./examples/notebooks
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for openvisuspy-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee80c029e4ef50d07160aa2fe1bdf0e66f51fbf805b4078711ed52b0b1947db |
|
MD5 | e041abc760219d53c7591b57bfc7f4f0 |
|
BLAKE2b-256 | b0d92beb92d505396d836dfa5f3e5da1672e30a0795d20b21b932be407898836 |