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.1.0.tar.gz
(256.9 kB
view details)
Built Distribution
File details
Details for the file gradio_molgallery3d-1.1.0.tar.gz
.
File metadata
- Download URL: gradio_molgallery3d-1.1.0.tar.gz
- Upload date:
- Size: 256.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea67b185d52790bb554fe06767896835069b51e67e737dcab4127fe61d0d7a87 |
|
MD5 | 992311c5a64d6682d505e2b3fca10e0a |
|
BLAKE2b-256 | 916a4258fdf857c2948f24a67426b4fbfc871024526a054278997922893fe543 |
File details
Details for the file gradio_molgallery3d-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: gradio_molgallery3d-1.1.0-py3-none-any.whl
- Upload date:
- Size: 249.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1fd0ecc8d64b4131b889cb71c702972f5b112e970b9255bc668ba9cd9b7ba19 |
|
MD5 | 440f0730fc9fc9111459e0f500a2ca1e |
|
BLAKE2b-256 | 91b9173663e66997f14f5e0aa39fb393590c96854fefb9721ce5789b9ea2054a |