Name | openmc-plot JSON |
Version |
0.3.3
JSON |
| download |
home_page | None |
Summary | A Python package containing a collection of scripts for producing and downloading data for OpenMC |
upload_time | 2024-05-09 10:28:21 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2022 Fusion Energy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
openmc
plot
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
A Python app for plotting OpenMC.
This repository contains the source code for the OpenMC plot.
Try the web app at [http://openmc-plot.xsplot.com](http://openmc-plot.xsplot.com)
This repository contains:
- A Python [Streamlit](https://streamlit.io) based GUI 🐍
- A Dockerfile that provides the hosting environment for the web app 🐳
# Plot geometry
![openmc plot geometry](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/d/d7bcce794d51d34381371fc991c0e1ff2a65df08.gif)
# Plot sources
![openmc plot source](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/8/89f138350ace7b2bb0699dcb7ddfff49e336d051.gif)
# Plot regular mesh tallies
![openmc plot mesh](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/2/24a9db7bc9cc227908dbaf13a54d1245a4d16f20.gif)
# Plot weight windows
![openmc plot mesh](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/1/114aeb91172c7577e9231ffe30edf141678d26f6.gif)
# Plot cylindrical mesh tallies
![openmc cylinder mesh plot GUI](https://user-images.githubusercontent.com/8583900/228016577-d5d9f541-1b4d-4d9b-a207-f3f1d08e27a8.gif)
# Install
First you will need to [install OpenMC](https://docs.openmc.org/en/stable/quickinstall.html)
OpenMC_plot can then be install directly from the Python package index (PyPi) using pip.
```
pip install openmc_plot
```
# Usage
In the terminal type ...
```
openmc_plot
```
Your default web browser should then load with the GUI.
You will also need to have [OpenMC installed](https://docs.openmc.org/en/stable/quickinstall.html).
# Run web app locally (developers)
To host your own local version of [xsplot.com](http://xsplot.com) you will need [Docker](https://www.docker.com/) installed and then can build and run the Dockerfile
with the following commands.
First clone the repository
```bash
git clone https://github.com/fusion-energy/openmc_plot
```
Then navigate into the repository folder
```bash
cd openmc_plot
```
Then build the docker image
```bash
docker build -t openmc_plot .
```
Then run the docker image
```bash
docker run --network host -t openmc_plot
```
The URL of your locally hosted version should appear in the terminal, copy and paste this URL into a web browser address bar.
# Maintenance (developers)
Pushing to the main branch of this repository triggers an automatic rebuild and
deployment of the new code using Google Cloud build at [xsplot.com](http://xsplot.com)
Raw data
{
"_id": null,
"home_page": null,
"name": "openmc-plot",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "openmc, plot",
"author": null,
"author_email": "Jonathan Shimwell <mail@jshimwell.com>",
"download_url": "https://files.pythonhosted.org/packages/8d/7c/30b235954e7798345c8f63207cb642fdfd76eb0b5b909651d0077ea8cdfd/openmc_plot-0.3.3.tar.gz",
"platform": null,
"description": "A Python app for plotting OpenMC.\n\nThis repository contains the source code for the OpenMC plot.\n\nTry the web app at [http://openmc-plot.xsplot.com](http://openmc-plot.xsplot.com)\n\nThis repository contains:\n- A Python [Streamlit](https://streamlit.io) based GUI \ud83d\udc0d\n- A Dockerfile that provides the hosting environment for the web app \ud83d\udc33\n\n# Plot geometry\n![openmc plot geometry](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/d/d7bcce794d51d34381371fc991c0e1ff2a65df08.gif)\n\n# Plot sources\n![openmc plot source](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/8/89f138350ace7b2bb0699dcb7ddfff49e336d051.gif)\n\n# Plot regular mesh tallies\n![openmc plot mesh](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/2/24a9db7bc9cc227908dbaf13a54d1245a4d16f20.gif)\n\n# Plot weight windows\n![openmc plot mesh](https://canada1.discourse-cdn.com/free1/uploads/openmc/original/2X/1/114aeb91172c7577e9231ffe30edf141678d26f6.gif)\n\n# Plot cylindrical mesh tallies\n![openmc cylinder mesh plot GUI](https://user-images.githubusercontent.com/8583900/228016577-d5d9f541-1b4d-4d9b-a207-f3f1d08e27a8.gif)\n\n# Install\n\nFirst you will need to [install OpenMC](https://docs.openmc.org/en/stable/quickinstall.html)\n\nOpenMC_plot can then be install directly from the Python package index (PyPi) using pip.\n\n```\npip install openmc_plot\n```\n\n# Usage\n\nIn the terminal type ...\n\n```\nopenmc_plot\n```\n\nYour default web browser should then load with the GUI.\n\nYou will also need to have [OpenMC installed](https://docs.openmc.org/en/stable/quickinstall.html).\n\n# Run web app locally (developers)\n\nTo host your own local version of [xsplot.com](http://xsplot.com) you will need [Docker](https://www.docker.com/) installed and then can build and run the Dockerfile\nwith the following commands.\n\nFirst clone the repository\n```bash\ngit clone https://github.com/fusion-energy/openmc_plot\n```\n\nThen navigate into the repository folder\n```bash\ncd openmc_plot\n```\n\nThen build the docker image\n```bash\ndocker build -t openmc_plot .\n```\n\nThen run the docker image\n```bash\ndocker run --network host -t openmc_plot\n```\n\nThe URL of your locally hosted version should appear in the terminal, copy and paste this URL into a web browser address bar.\n\n# Maintenance (developers)\n\nPushing to the main branch of this repository triggers an automatic rebuild and\ndeployment of the new code using Google Cloud build at [xsplot.com](http://xsplot.com)\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2022 Fusion Energy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "A Python package containing a collection of scripts for producing and downloading data for OpenMC",
"version": "0.3.3",
"project_urls": {
"Bug Tracker": "https://github.com/fusion-energy/openmc_plot/issues",
"Homepage": "https://github.com/fusion-energy/openmc_plot"
},
"split_keywords": [
"openmc",
" plot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c2557acac1be7d54b7660fbaf31767bb5653e6fb65dffa6a58be295352015d85",
"md5": "c25bb5ae0d607dd6c316d5ccc3b8f8c7",
"sha256": "cf65b132dc1493f684ad7b27c3b8b5ba23bd7620b418af7a46ba7ad6c99ec3dc"
},
"downloads": -1,
"filename": "openmc_plot-0.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c25bb5ae0d607dd6c316d5ccc3b8f8c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 1052767,
"upload_time": "2024-05-09T10:28:13",
"upload_time_iso_8601": "2024-05-09T10:28:13.921214Z",
"url": "https://files.pythonhosted.org/packages/c2/55/7acac1be7d54b7660fbaf31767bb5653e6fb65dffa6a58be295352015d85/openmc_plot-0.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8d7c30b235954e7798345c8f63207cb642fdfd76eb0b5b909651d0077ea8cdfd",
"md5": "e86fef4e26ecef132535f87191c72843",
"sha256": "557cdc74e4b1c4115dc1d1818078e98cbce13558603639d148cd6213fcbc564c"
},
"downloads": -1,
"filename": "openmc_plot-0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "e86fef4e26ecef132535f87191c72843",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 1161832,
"upload_time": "2024-05-09T10:28:21",
"upload_time_iso_8601": "2024-05-09T10:28:21.159547Z",
"url": "https://files.pythonhosted.org/packages/8d/7c/30b235954e7798345c8f63207cb642fdfd76eb0b5b909651d0077ea8cdfd/openmc_plot-0.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-09 10:28:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fusion-energy",
"github_project": "openmc_plot",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "openmc-plot"
}