Skip to main content

OMGUI is a Python library to visualize small molecules, macromolecules and various types of data on the fly.

Project description

omgui

OMGUI

Open-source Molecular Graphical User Interface

License MIT

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.

import omgui
omgui.show_mol('dopamine')

Included are also the chartviz and molviz sub-libraries for generating charts an molecular images in 2D & 3D.

Documentation Quick start

IBM Research



Installation

More details under Installation.

pip install omgui

Quick Start

Inspect a Set of Molecules

import omgui

omgui.show_mols(["C(C(=O)O)N", "C1=CC=CC=C1", "CC(CC(=O)O)O"])


Inspect a Single Molecule

import omgui

omgui.show_mol('dopamine')


Documentation











Troubleshooting

Shutting down a blocked port

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)

Inspecting config

To get an overview of your current configuration including the source of each value, you can run:

from omgui import config

config.report()

For more, visit config documentation

Inspecting context

To debug your current context (which sets your workspace), you can run:

import omgui

omgui.get_context()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omgui-1.0.1.tar.gz (7.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omgui-1.0.1-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file omgui-1.0.1.tar.gz.

File metadata

  • Download URL: omgui-1.0.1.tar.gz
  • Upload date:
  • Size: 7.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for omgui-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ee544aa6215a008a3879f2750b043f803b8b52d74ee487223ba4ca3960c84785
MD5 d148a8db7a02885eb0ee7ce99ab49fba
BLAKE2b-256 c7f50769778e75eddf4b0ff90c5a6cc83211a51689075c00171429ee72368c05

See more details on using hashes here.

File details

Details for the file omgui-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: omgui-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for omgui-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2100a424b346e319ba051dc840e603d3a03bfb9619cb737bc41c8ce9095dd423
MD5 9f34353cbb1c8e7ba01d6707c55aba1e
BLAKE2b-256 d666c543b3b6abeecc99eb05836cd31fdc73030aa05d13e922440b6507825c25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page