{ "info": { "author": "R&T Equinor", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Visualization" ], "description": "[![PyPI version](https://badge.fury.io/py/webviz-subsurface-components.svg)](https://badge.fury.io/py/webviz-subsurface-components)\n[![Build Status](https://travis-ci.org/equinor/webviz-subsurface-components.svg?branch=master)](https://travis-ci.org/equinor/webviz-subsurface-components)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d89b3da9cd14462c9ee6b05f23ec75ee)](https://www.codacy.com/manual/webviz/webviz-subsurface-components?utm_source=github.com&utm_medium=referral&utm_content=equinor/webviz-subsurface-components&utm_campaign=Badge_Grade)\n[![Python 3.6+](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black%20%28Python%29-000000.svg)](https://github.com/psf/black)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier%20%28JavaScript%29-ff69b4.svg)](https://github.com/prettier/prettier)\n\n# Webviz subsurface components\n\n`webviz_subsurface_components` is a Dash/React component library for use in `webviz`,\nwhich have in common that they are geared towards subsurface dashboards.\n\n## How to install the components\n\nYou can quickly get started using the components in Dash by:\n\n1. Run `pip install webviz-subsurface-components`\n2. Run `python examples/example_hm.py`\n3. Visit http://localhost:8050 in your web browser\n\nThis project was originally generated by the\n[dash-component-boilerplate](https://github.com/plotly/dash-component-boilerplate).\n(with some modifications).\n\n## How to contribute\n\n### Install dependencies\n\nIf you want to build and develop yourself, you should fork + clone the repository, and\nthen:\n\n1. Install npm packages\n ```\n npm ci --ignore-scripts\n ```\n2. Run the project's own `postinstall` script\n ```\n npm run postinstall\n ```\n3. Install python packages required to build components.\n ```\n pip install .[dependencies]\n pip install dash[dev]\n ```\n4. Install the python packages for testing.\n ```\n pip install .[tests]\n pip install dash[testing]\n ```\n The second of these commands appears to be necessary as long as\n [this `pip` issue is open](https://github.com/pypa/pip/issues/4957).\n\n### Write component code in `src/lib/components/.react.js`\n\n- The demo app is in `src/demo` and is where you will import an example of your\n component. To start the existing demo app, run `npm start`.\n- To test your code in a Python environment:\n 1. Build your code\n ```\n npm run build:all\n ```\n 2. Install the Python pacakge in development mode (if not already done and\n assuming you are using a virtual environment):\n ```\n pip install -e .\n ```\n 3. Create a new example in `examples/` which uses your new component.\n\n- Write tests for your component.\n - Tests exist in `tests/`. Take a look at them to see how to write tests using\n the Dash test framework.\n - Run the tests with `pytest tests`.\n\n- Add custom styles to your component by putting your custom CSS files into\n your distribution folder (`webviz_subsurface_components`).\n - Make sure that they are referenced in `MANIFEST.in` so that they get\n properly included when you're ready to publish your component.\n - Make sure the stylesheets are added to the `_css_dist` dict in\n `webviz_subsurface_components/__init__.py` so dash will serve them\n automatically when the component suite is requested.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/equinor/webviz-subsurface-components", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "webviz-subsurface-components", "package_url": "https://pypi.org/project/webviz-subsurface-components/", "platform": "", "project_url": "https://pypi.org/project/webviz-subsurface-components/", "project_urls": { "Homepage": "https://github.com/equinor/webviz-subsurface-components" }, "release_url": "https://pypi.org/project/webviz-subsurface-components/0.0.12/", "requires_dist": null, "requires_python": "", "summary": "Custom Dash components for use in Webviz", "version": "0.0.12" }, "last_serial": 5995631, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "73fff4fee3310f0b5d72183a4a234668", "sha256": "368c4eb636663c33f93ee82dba421785edf37f4de127a62b70d381c3d408b8fa" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.1.tar.gz", "has_sig": false, "md5_digest": "73fff4fee3310f0b5d72183a4a234668", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 732478, "upload_time": "2019-03-29T17:54:14", "url": "https://files.pythonhosted.org/packages/e6/23/60e36f44d4761d9990e226799026ec308d7dfb6a089ca95a98ff76a9b2a6/webviz_subsurface_components-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "b4152c794055b6313ee5cf672d0e2f8f", "sha256": "07d7e49d2a9dc64453ea1274fb69cf0f0d5bc80aa86da8b9caf35a8bc4af72d1" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.10.tar.gz", "has_sig": false, "md5_digest": "b4152c794055b6313ee5cf672d0e2f8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8365132, "upload_time": "2019-09-04T12:02:11", "url": "https://files.pythonhosted.org/packages/5d/b9/27b0182087efe7c4a01f3107a5a2ac57753adeb8010a4fd3877437c80bf4/webviz_subsurface_components-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "c500635bbd2d8fb4e23415f26214fd58", "sha256": "aebb6d12d76f968c46660f00456bfdd825c3cb8c51fd72d6c5c4679c195c725d" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.11.tar.gz", "has_sig": false, "md5_digest": "c500635bbd2d8fb4e23415f26214fd58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8106353, "upload_time": "2019-09-21T19:29:24", "url": "https://files.pythonhosted.org/packages/ff/0f/084ea847dc7995ef4e5e6c639bf607f1d70224d6e332e66f1db78d86a371/webviz_subsurface_components-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "d6dc115bfd795ed9d68a5f1c82c337d2", "sha256": "0c0b4cd95f16ce58fa92223b3cc0c5d73cc03416038d4cbe92293127d0ba1c6a" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.12.tar.gz", "has_sig": false, "md5_digest": "d6dc115bfd795ed9d68a5f1c82c337d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8128945, "upload_time": "2019-10-18T13:24:14", "url": "https://files.pythonhosted.org/packages/34/43/9d520bc174b60d2f86ffe839f68311b52fb44f4b7978ba8a6af1a1f2a578/webviz_subsurface_components-0.0.12.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "82662f5d7ce736674597e3ae79bf8322", "sha256": "e4ab8dec6065a14cafefc32e075972dec2b1be3a5ec4c433fa0c082f808c6432" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.2.tar.gz", "has_sig": false, "md5_digest": "82662f5d7ce736674597e3ae79bf8322", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 922628, "upload_time": "2019-04-05T07:47:07", "url": "https://files.pythonhosted.org/packages/3a/55/2ab9f38e54098ccad22259899c0117d99207d73c1e38efc7e1e0660de715/webviz_subsurface_components-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d5c2ae2b46ab37689f0afe73a9def9a8", "sha256": "0efc16739062d43c3b05299331606856ca27e2dd26b52d1347db6a3f6044c48a" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d5c2ae2b46ab37689f0afe73a9def9a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1466714, "upload_time": "2019-05-29T18:19:48", "url": "https://files.pythonhosted.org/packages/4b/21/6f0c8a9a6ba15ae3c6b90b6a53f0402115b91f09496f113d86e686fbaddb/webviz_subsurface_components-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "621fb1e616a97f641a3938f0d6bbcdbc", "sha256": "55a6c0b14e0c934985277cebe3838653f2ea768b1afc35805e329e97f1612da0" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.4.tar.gz", "has_sig": false, "md5_digest": "621fb1e616a97f641a3938f0d6bbcdbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1492808, "upload_time": "2019-06-25T12:58:35", "url": "https://files.pythonhosted.org/packages/01/92/695f2e00eeddddeedcd1eb5511c96c05880e13e0ff8efb4b8eeae0941164/webviz_subsurface_components-0.0.4.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "4ffc5f5d5e8d27d38d1ab2a6209818db", "sha256": "b4e09f36bf2da95ffc91dd01bf0dd44a43dbfa00f2417f9331b382dbe3213933" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.6.tar.gz", "has_sig": false, "md5_digest": "4ffc5f5d5e8d27d38d1ab2a6209818db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1490291, "upload_time": "2019-08-29T07:43:56", "url": "https://files.pythonhosted.org/packages/02/56/9d2f2953f58d3e6cd971b6d62c889a358cc9063ead96f18479b7e1268b75/webviz_subsurface_components-0.0.6.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "da29c330d5d32e0bad41a072f06bf09b", "sha256": "f4eb5d93fc5e5634f590493efceb2523b5bd9dad104d72be49172ac77fabc528" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.9.tar.gz", "has_sig": false, "md5_digest": "da29c330d5d32e0bad41a072f06bf09b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1469307, "upload_time": "2019-08-29T09:23:31", "url": "https://files.pythonhosted.org/packages/7c/3a/d1e75985fdb1ad1e7fae2a70b47744911e26fe87af2b61ac536d5af89dc7/webviz_subsurface_components-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d6dc115bfd795ed9d68a5f1c82c337d2", "sha256": "0c0b4cd95f16ce58fa92223b3cc0c5d73cc03416038d4cbe92293127d0ba1c6a" }, "downloads": -1, "filename": "webviz_subsurface_components-0.0.12.tar.gz", "has_sig": false, "md5_digest": "d6dc115bfd795ed9d68a5f1c82c337d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8128945, "upload_time": "2019-10-18T13:24:14", "url": "https://files.pythonhosted.org/packages/34/43/9d520bc174b60d2f86ffe839f68311b52fb44f4b7978ba8a6af1a1f2a578/webviz_subsurface_components-0.0.12.tar.gz" } ] }