py3Dmol
=======
A simple [IPython/Jupyter](http://jupyter.org/) widget to
embed an interactive [3Dmol.js](http://3dmol.org) viewer in a notebook.
The widget is completely static, which means the viewer doesn't need a running
IPython kernel to be useful and web pages and presentations generated from
the notebook will work as expected. However, this also means there is only
one-way communication between the notebook and the viewer.
If you experience problems, please file
an [issue](https://github.com/3dmol/3Dmol.js/issues).
[An example notebook](http://nbviewer.jupyter.org/github/3dmol/3Dmol.js/blob/master/py3Dmol/examples.ipynb)
Installation
------------
From PyPI:
pip install py3Dmol
Usage
-----
Open a notebook
jupyter notebook
and issue
```Python
import py3Dmol
view = py3Dmol.view(query='pdb:1ubq')
view.setStyle({'cartoon':{'color':'spectrum'}})
view
```
API
---
The returned view object has the exact same API as [$3Dmol.GLViewer](https://3dmol.org/doc/GLViewer.html)
with the exception that functions return None.
License
-------
MIT
Raw data
{
"_id": null,
"home_page": "https://3dmol.org",
"name": "py3Dmol",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "molecule protein visualization",
"author": "David Koes",
"author_email": "dkoes@pitt.edu",
"download_url": "https://files.pythonhosted.org/packages/8d/ba/78bc5b451f314c06e6c2a3ca0f0ba18ee751f10e99fed94fc09175b16031/py3Dmol-2.4.2.tar.gz",
"platform": null,
"description": "py3Dmol\n=======\n\nA simple [IPython/Jupyter](http://jupyter.org/) widget to\nembed an interactive [3Dmol.js](http://3dmol.org) viewer in a notebook.\n\nThe widget is completely static, which means the viewer doesn't need a running\nIPython kernel to be useful and web pages and presentations generated from\nthe notebook will work as expected. However, this also means there is only\none-way communication between the notebook and the viewer.\n\nIf you experience problems, please file \nan [issue](https://github.com/3dmol/3Dmol.js/issues).\n\n\n[An example notebook](http://nbviewer.jupyter.org/github/3dmol/3Dmol.js/blob/master/py3Dmol/examples.ipynb)\n\nInstallation\n------------\n\nFrom PyPI:\n\n pip install py3Dmol\n\n\nUsage\n-----\n\nOpen a notebook\n\n jupyter notebook\n\nand issue\n\n```Python\nimport py3Dmol\nview = py3Dmol.view(query='pdb:1ubq')\nview.setStyle({'cartoon':{'color':'spectrum'}})\nview\n```\n\nAPI\n---\n\nThe returned view object has the exact same API as [$3Dmol.GLViewer](https://3dmol.org/doc/GLViewer.html)\nwith the exception that functions return None.\n\n\nLicense\n-------\n\nMIT\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An IPython interface for embedding 3Dmol.js views in Jupyter notebooks",
"version": "2.4.2",
"project_urls": {
"Homepage": "https://3dmol.org"
},
"split_keywords": [
"molecule",
"protein",
"visualization"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0420923885064f4e4d4392eb2be798532d91b315f9e60ef44f49f4800ba3c57a",
"md5": "f5e44864bde06c3865d23307b0217710",
"sha256": "bec23d9a015d692279a5f7d4db92803e4e82ba3bdcc1434a5b6a2be98a347856"
},
"downloads": -1,
"filename": "py3Dmol-2.4.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f5e44864bde06c3865d23307b0217710",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7046,
"upload_time": "2024-11-08T22:19:21",
"upload_time_iso_8601": "2024-11-08T22:19:21.631647Z",
"url": "https://files.pythonhosted.org/packages/04/20/923885064f4e4d4392eb2be798532d91b315f9e60ef44f49f4800ba3c57a/py3Dmol-2.4.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8dba78bc5b451f314c06e6c2a3ca0f0ba18ee751f10e99fed94fc09175b16031",
"md5": "09d065aac7e39d6302fb383780343fcb",
"sha256": "990ed67b2dda5493d21192fef53a52be6128b8afbdc13da8a40a009060120749"
},
"downloads": -1,
"filename": "py3Dmol-2.4.2.tar.gz",
"has_sig": false,
"md5_digest": "09d065aac7e39d6302fb383780343fcb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7724,
"upload_time": "2024-11-08T22:19:23",
"upload_time_iso_8601": "2024-11-08T22:19:23.150778Z",
"url": "https://files.pythonhosted.org/packages/8d/ba/78bc5b451f314c06e6c2a3ca0f0ba18ee751f10e99fed94fc09175b16031/py3Dmol-2.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 22:19:23",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "py3dmol"
}