
# OMGUI
### _Open-source Molecular Graphical User Interface_

[](https://opensource.org/licenses/MIT)
[](https://pypi.org/project/omgui/)
[](https://pypi.org/project/omgui/)
[](https://jupyter.org)
OMGUI is a web interface that makes it dead-simple to visualize and triage your molecule results in Python.
It supports small molecules as well as macromolecules like proteins.
Run it from a **Jupyter Notebook** or any **Python** (3.11+) script.
```python
import omgui
omgui.show_mol('dopamine')
```
Included are also the [chartviz](https://github.com/acceleratedscience/omgui/blob/main/docs/chartviz.md) and [molviz](https://github.com/acceleratedscience/omgui/blob/main/docs/molviz.md) sub-libraries for generating charts an molecular images in 2D & 3D.
[](https://github.com/acceleratedscience/omgui#documentation)
[](https://github.com/acceleratedscience/omgui#quick-start)

<br><br>
### Installation
More details under [Installation](https://github.com/acceleratedscience/omgui/blob/main/docs/installation.md).
```shell
pip install omgui
```
<br>
## Quick Start
### Inspect a Set of Molecules
```python
import omgui
omgui.show_mols(["C(C(=O)O)N", "C1=CC=CC=C1", "CC(CC(=O)O)O"])
```
<kbd><img src="https://raw.githubusercontent.com/acceleratedscience/omgui/main/docs/assets/gui-molset.png" height="521" /></kbd>
<br>
### Inspect a Single Molecule
```python
import omgui
omgui.show_mol('dopamine')
```
<kbd><img src="https://raw.githubusercontent.com/acceleratedscience/omgui/main/docs/assets/gui-molecule.png" height="948" /></kbd>
<br>
## Documentation
- [Installation](https://github.com/acceleratedscience/omgui/blob/main/docs/installation.md)
- [Configuration](https://github.com/acceleratedscience/omgui/blob/main/docs/config.md)
- [GUI](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md) - Graphical user interface for molecules and data
- [File Browser](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#1-file-browser)
- [Molecule Viewer](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#2-molecule-viewer)
- [Molset Viewer](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#3-molset-viewer)
- [Molecule Working Set](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#5-molecule-working-set)
- [molviz](https://github.com/acceleratedscience/omgui/blob/main/docs/molviz.md) - Sub-module for molecule visualization
- [chartviz](https://github.com/acceleratedscience/omgui/blob/main/docs/chartviz.md) - Sub-module for chart visualisation
- [about](https://github.com/acceleratedscience/omgui/blob/main/docs/about.md)
<br><br><br><br><br><br><br><br><br><br>
## Troubleshooting
<!-- Blocker port -->
<details>
<summary>Shutting down a blocked port</summary>
<br>
> If the OMGUI server didn't shut down properly and is occupying a port, you can shut it down by visiting:
>
> ```
> http://localhost:8024/shutdown
> ```
>
> If this didn't work, you can always run: `kill -9 $(lsof -ti:8024)`
</details>
<!-- Inspect config -->
<details>
<summary>Inspecting config</summary>
<br>
> To get an overview of your current configuration including the source of each value, you can run:
>
> ```python
> from omgui import config
>
> config.report()
> ```
>
> For more, visit [config documentation](https://github.com/acceleratedscience/omgui/blob/main/docs/config.md)
</details>
<details>
<summary>Inspecting context</summary>
<br>
> To debug your current context (which sets your workspace), you can run:
>
> ```
> import omgui
>
> omgui.get_context()
> ```
</details>
<!--
PyPI publishing:
# Install
pip install --upgrade build twine
# Remove prev build files:
python build_scripts/remove_dist.py
# Build
python -m build
# Test upload (optional)
twine upload --repository testpypi dist/*
# Actual upload
twine upload dist/*
-->
Raw data
{
"_id": null,
"home_page": null,
"name": "omgui",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Moenen Erbuer / IBM Research <moenen.erbuer@ibm.com>",
"download_url": "https://files.pythonhosted.org/packages/89/ec/856ff1cb18508bf3c99ae44634030090b479a02294671cb72a4b452c6d37/omgui-1.0.3.tar.gz",
"platform": null,
"description": "\n\n# OMGUI\n\n### _Open-source Molecular Graphical User Interface_\n\n\n[](https://opensource.org/licenses/MIT)\n[](https://pypi.org/project/omgui/)\n[](https://pypi.org/project/omgui/)\n[](https://jupyter.org)\n\nOMGUI is a web interface that makes it dead-simple to visualize and triage your molecule results in Python. \nIt supports small molecules as well as macromolecules like proteins.\n\nRun it from a **Jupyter Notebook** or any **Python** (3.11+) script.\n\n```python\nimport omgui\nomgui.show_mol('dopamine')\n```\n\nIncluded are also the [chartviz](https://github.com/acceleratedscience/omgui/blob/main/docs/chartviz.md) and [molviz](https://github.com/acceleratedscience/omgui/blob/main/docs/molviz.md) sub-libraries for generating charts an molecular images in 2D & 3D.\n\n[](https://github.com/acceleratedscience/omgui#documentation)\n[](https://github.com/acceleratedscience/omgui#quick-start)\n\n\n\n<br><br>\n\n### Installation\n\nMore details under [Installation](https://github.com/acceleratedscience/omgui/blob/main/docs/installation.md).\n\n```shell\npip install omgui\n```\n\n<br>\n\n## Quick Start\n\n### Inspect a Set of Molecules\n\n```python\nimport omgui\n\nomgui.show_mols([\"C(C(=O)O)N\", \"C1=CC=CC=C1\", \"CC(CC(=O)O)O\"])\n```\n\n<kbd><img src=\"https://raw.githubusercontent.com/acceleratedscience/omgui/main/docs/assets/gui-molset.png\" height=\"521\" /></kbd>\n\n<br>\n\n### Inspect a Single Molecule\n\n```python\nimport omgui\n\nomgui.show_mol('dopamine')\n```\n\n<kbd><img src=\"https://raw.githubusercontent.com/acceleratedscience/omgui/main/docs/assets/gui-molecule.png\" height=\"948\" /></kbd>\n\n<br>\n\n## Documentation\n\n- [Installation](https://github.com/acceleratedscience/omgui/blob/main/docs/installation.md)\n- [Configuration](https://github.com/acceleratedscience/omgui/blob/main/docs/config.md)\n- [GUI](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md) - Graphical user interface for molecules and data\n - [File Browser](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#1-file-browser)\n - [Molecule Viewer](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#2-molecule-viewer)\n - [Molset Viewer](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#3-molset-viewer)\n - [Molecule Working Set](https://github.com/acceleratedscience/omgui/blob/main/docs/gui.md#5-molecule-working-set)\n- [molviz](https://github.com/acceleratedscience/omgui/blob/main/docs/molviz.md) - Sub-module for molecule visualization\n- [chartviz](https://github.com/acceleratedscience/omgui/blob/main/docs/chartviz.md) - Sub-module for chart visualisation\n- [about](https://github.com/acceleratedscience/omgui/blob/main/docs/about.md)\n\n<br><br><br><br><br><br><br><br><br><br>\n\n## Troubleshooting\n\n<!-- Blocker port -->\n<details>\n<summary>Shutting down a blocked port</summary>\n<br>\n\n> If the OMGUI server didn't shut down properly and is occupying a port, you can shut it down by visiting:\n>\n> ```\n> http://localhost:8024/shutdown\n> ```\n>\n> If this didn't work, you can always run: `kill -9 $(lsof -ti:8024)`\n\n</details>\n\n<!-- Inspect config -->\n<details>\n<summary>Inspecting config</summary>\n<br>\n\n> To get an overview of your current configuration including the source of each value, you can run:\n>\n> ```python\n> from omgui import config\n>\n> config.report()\n> ```\n>\n> For more, visit [config documentation](https://github.com/acceleratedscience/omgui/blob/main/docs/config.md)\n\n</details>\n\n<details>\n<summary>Inspecting context</summary>\n<br>\n\n> To debug your current context (which sets your workspace), you can run:\n>\n> ```\n> import omgui\n>\n> omgui.get_context()\n> ```\n\n</details>\n\n<!--\n\nPyPI publishing:\n\n# Install\npip install --upgrade build twine\n\n# Remove prev build files:\npython build_scripts/remove_dist.py\n\n# Build\npython -m build\n\n# Test upload (optional)\ntwine upload --repository testpypi dist/*\n\n# Actual upload\ntwine upload dist/*\n\n-->\n",
"bugtrack_url": null,
"license": null,
"summary": "OMGUI is a Python library to visualize small molecules, macromolecules and various types of data on the fly.",
"version": "1.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/acceleratedscience/omgui/issues",
"Homepage": "https://github.com/acceleratedscience/omgui"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "aeb1cab4c221528c5231b81f63b632808627f9c15e1b98f30b24406bf0e2c5bf",
"md5": "c46ae8592c95e874977f6f34f6784214",
"sha256": "600947a54e140421b218edead3e5f5af2cba4f1c61c72493d49ef91ac6e198e1"
},
"downloads": -1,
"filename": "omgui-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c46ae8592c95e874977f6f34f6784214",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 1965439,
"upload_time": "2025-10-06T20:49:09",
"upload_time_iso_8601": "2025-10-06T20:49:09.826871Z",
"url": "https://files.pythonhosted.org/packages/ae/b1/cab4c221528c5231b81f63b632808627f9c15e1b98f30b24406bf0e2c5bf/omgui-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "89ec856ff1cb18508bf3c99ae44634030090b479a02294671cb72a4b452c6d37",
"md5": "a77ba650eef6da9460514197b7e2d743",
"sha256": "39aa1df1d141595d88e456a1387fe485dd0e6d796d87b0175b202d33f7315d1b"
},
"downloads": -1,
"filename": "omgui-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "a77ba650eef6da9460514197b7e2d743",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7156088,
"upload_time": "2025-10-06T20:49:17",
"upload_time_iso_8601": "2025-10-06T20:49:17.427586Z",
"url": "https://files.pythonhosted.org/packages/89/ec/856ff1cb18508bf3c99ae44634030090b479a02294671cb72a4b452c6d37/omgui-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-06 20:49:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "acceleratedscience",
"github_project": "omgui",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aiofiles",
"specs": [
[
">=",
"22.1.0"
]
]
},
{
"name": "CairoSVG",
"specs": [
[
">=",
"2.8.2"
]
]
},
{
"name": "cinemol",
"specs": [
[
">=",
"1.0.2"
]
]
},
{
"name": "fastapi",
"specs": [
[
">=",
"0.115.7"
]
]
},
{
"name": "gemmi",
"specs": [
[
">=",
"0.6.7"
]
]
},
{
"name": "IPython",
"specs": [
[
">=",
"9.5.0"
]
]
},
{
"name": "Jinja2",
"specs": [
[
">=",
"3.1.6"
]
]
},
{
"name": "kaleido",
"specs": [
[
">=",
"1.0.0"
]
]
},
{
"name": "pandas",
"specs": [
[
">=",
"2.3.2"
]
]
},
{
"name": "plotly",
"specs": [
[
">=",
"6.3.0"
]
]
},
{
"name": "pydantic",
"specs": [
[
">=",
"2.11.9"
]
]
},
{
"name": "PyYAML",
"specs": [
[
">=",
"6.0.2"
]
]
},
{
"name": "pubchempy",
"specs": [
[
">=",
"1.0.5"
]
]
},
{
"name": "requests",
"specs": [
[
">=",
"2.32.4"
]
]
},
{
"name": "rdkit",
"specs": [
[
">=",
"2024.9.6"
]
]
},
{
"name": "redis",
"specs": [
[
">=",
"6.2.0"
]
]
},
{
"name": "tabulate",
"specs": [
[
">=",
"0.9.0"
]
]
},
{
"name": "uvicorn",
"specs": [
[
">=",
"0.34.2"
]
]
},
{
"name": "python-dotenv",
"specs": [
[
">=",
"1.1.0"
]
]
}
],
"lcname": "omgui"
}