py3Dmol


Namepy3Dmol JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://3dmol.org
SummaryAn IPython interface for embedding 3Dmol.js views in Jupyter notebooks
upload_time2024-03-12 12:28:02
maintainer
docs_urlNone
authorDavid Koes
requires_python
licenseMIT
keywords molecule protein visualization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "molecule protein visualization",
    "author": "David Koes",
    "author_email": "dkoes@pitt.edu",
    "download_url": "https://files.pythonhosted.org/packages/13/de/9a102f1b82d74993aca23b28bd2364fedb9af08eb92980491e02b1debde4/py3Dmol-2.1.0.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.1.0",
    "project_urls": {
        "Homepage": "https://3dmol.org"
    },
    "split_keywords": [
        "molecule",
        "protein",
        "visualization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0068b41d1dd0ac73d653c76f68563a8a12f44de4de80d92807f9d35c2cbc33e",
                "md5": "ae2b16a1b26cc0bc8cfa0321343deed1",
                "sha256": "1093919800d66b229c0bb8d247869ccc26cbb4674644988ba2f4f3658f21ff0e"
            },
            "downloads": -1,
            "filename": "py3Dmol-2.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ae2b16a1b26cc0bc8cfa0321343deed1",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 12363,
            "upload_time": "2024-03-12T12:28:00",
            "upload_time_iso_8601": "2024-03-12T12:28:00.755489Z",
            "url": "https://files.pythonhosted.org/packages/d0/06/8b41d1dd0ac73d653c76f68563a8a12f44de4de80d92807f9d35c2cbc33e/py3Dmol-2.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "13de9a102f1b82d74993aca23b28bd2364fedb9af08eb92980491e02b1debde4",
                "md5": "c34966708af42603558aa81c5876daf4",
                "sha256": "83d2f25a9107b4cef125c0c1f5caa4dce9b7577f1346fc0a3f7d12972e11c0e8"
            },
            "downloads": -1,
            "filename": "py3Dmol-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c34966708af42603558aa81c5876daf4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7633,
            "upload_time": "2024-03-12T12:28:02",
            "upload_time_iso_8601": "2024-03-12T12:28:02.144886Z",
            "url": "https://files.pythonhosted.org/packages/13/de/9a102f1b82d74993aca23b28bd2364fedb9af08eb92980491e02b1debde4/py3Dmol-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-12 12:28:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "py3dmol"
}
        
Elapsed time: 0.20879s