A Gradio component designed for displaying an interactive gallery of 3D molecular structures.
Project description
gradio_molgallery3d
A Gradio component designed for displaying an interactive gallery of 3D molecular structures. It is designed to accept inputs consisting of RDKit
objects.
Installation
This component can be installed through pip:
pip install gradio_molgallery3d
Example usage
import gradio as gr
from gradio_molgallery import MolGallery3D
gallery3d = MolGallery3D(columns=5, height=1000, label="3D Interactive Structures", automatic_rotation=True)
Features
- When the
automatic_rotation
parameter is set toTrue
, the molecular structures rotate automatically. - Clicking the right mouse button on the 3D structure allows you to download the image as a .png file.
Known Issues
- Web browsers typically impose limits on the number of canvas objects that can be displayed on a single page, which may result in some structures not being drawn. The specific limitations vary depending on the browser. More details: [1, 2]
Information
For any questions and comments, contact Davide Rigoni.
Licenze
GPL-3.0
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
gradio_molgallery3d-1.0.0.tar.gz
(256.9 kB
view hashes)
Built Distribution
Close
Hashes for gradio_molgallery3d-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7609e3e2435ba6c28263b065425f7746abc0f3be3aabcd43bc8f54348b670c49 |
|
MD5 | 4087b780742d95301b5ae399d888df21 |
|
BLAKE2b-256 | f4a7dc45395ec751852701f26344e6bbb2b43ce67c4cd938c8b459c2cf92cde2 |
Close
Hashes for gradio_molgallery3d-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4393a52db8bf17433ee7183290df2d7d9a546dd76254c3497fe8f3db90e10f2 |
|
MD5 | 15cadaeb906caf3cc1efbbbb043f5cf1 |
|
BLAKE2b-256 | 84d0f8bddcbd039983e6e4449e80b52bc7276c46443733d5c4140d8f74139b56 |