Skip to main content

Webviz config containers for subsurface data

Project description

PyPI version Build Status Codacy Badge Python 3.6+ Code style: black

Webviz subsurface configuration

Introduction

This repository contains subsurface specific standard webviz containers, which are used as plugins in webviz-config.

Installation

As Dash is using Python3-only functionality, you should create a Python3 virtual environment before installation. One way of doing this is

PATH_TO_VENV='./my_new_venv'
python3 -m virtualenv $PATH_TO_VENV
source $PATH_TO_VENV/bin/activate

The easiest way of installing this package is to run

pip install webviz-subsurface

If you want to install the latest code you can instead run

git clone git@github.com:Equinor/webviz-subsurface.git
cd webviz-subsurface
pip install .

Usage and documentation

For general usage, see the documentation on webviz-config. Take a look at this configuration example for something subsurface specific.

End-user documentation for the subsurface containers are automatically built and hosted on the github pages for this repository.

Creating new elements

If you are interested in creating new elements which can be configured through the configuration file, take a look at the webviz-config contribution guide.

You can do automatic linting of your code changes by running

black --check webviz_subsurface tests # Check code style
pylint webviz_subsurface tests # Check code quality
bandit -r -c ./bandit.yml webviz_subsurface tests  # Check Python security best practice

Disclaimer

This is a tool under heavy development. The current configuration file layout, also for subsurface pages, will therefore see large changes.

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 Distribution

webviz-subsurface-0.0.17.tar.gz (91.2 kB view details)

Uploaded Source

File details

Details for the file webviz-subsurface-0.0.17.tar.gz.

File metadata

  • Download URL: webviz-subsurface-0.0.17.tar.gz
  • Upload date:
  • Size: 91.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for webviz-subsurface-0.0.17.tar.gz
Algorithm Hash digest
SHA256 aa4c4b643e650e509f081b88383a7996b579fa59f51cf83d1532bf04624397d2
MD5 82618b78bbe80ed3ed448d6d1f1a06d1
BLAKE2b-256 ee9f3a0f18c9d33a3f2fe55b29ba7ae5fc9e8fb14d696c90c588fdf123c27794

See more details on using hashes here.

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