All Projects → cxhernandez → Ipymol

cxhernandez / Ipymol

Licence: mit
Control PyMOL sessions via IPython

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ipymol

Crossnote
📝 An interesting markdown note taking application
Stars: ✭ 533 (+1302.63%)
Mutual labels:  notebook
Jupyterlab Lsp
Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol
Stars: ✭ 796 (+1994.74%)
Mutual labels:  notebook
Dyalog Jupyter Kernel
A Jupyter kernel for Dyalog APL
Stars: ✭ 26 (-31.58%)
Mutual labels:  notebook
Vscodenotebook
📝 Use VS Code as a reliable note-taking/journal application
Stars: ✭ 584 (+1436.84%)
Mutual labels:  notebook
Csapp Labs
Solutions and Notes for Labs of Computer Systems: A Programmer's Perspective 3rd Editon // 《深入理解计算机系统》第三版的实验文件、解答与笔记
Stars: ✭ 749 (+1871.05%)
Mutual labels:  notebook
Professional Javascript For Web Developer
📓 JavaScript 高级程序设计 (第三版) 阅读笔记
Stars: ✭ 17 (-55.26%)
Mutual labels:  notebook
Data Science Your Way
Ways of doing Data Science Engineering and Machine Learning in R and Python
Stars: ✭ 530 (+1294.74%)
Mutual labels:  notebook
Machine Learning Notebooks
Assorted exercises and proof-of-concepts to understand and study machine learning and statistical learning theory
Stars: ✭ 33 (-13.16%)
Mutual labels:  notebook
Numpy 100
100 numpy exercises (with solutions)
Stars: ✭ 7,681 (+20113.16%)
Mutual labels:  notebook
P5 Notebook
A minimal Jupyter Notebook UI for p5.js kernels running in the browser
Stars: ✭ 26 (-31.58%)
Mutual labels:  notebook
Nteract
📘 The interactive computing suite for you! ✨
Stars: ✭ 5,713 (+14934.21%)
Mutual labels:  notebook
Tensorflow Tutorial
TensorFlow and Deep Learning Tutorials
Stars: ✭ 748 (+1868.42%)
Mutual labels:  notebook
Personnal Notebook
This is my public personnal notebook.
Stars: ✭ 18 (-52.63%)
Mutual labels:  notebook
D2l Zh
《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被55个国家的300所大学用于教学。
Stars: ✭ 29,132 (+76563.16%)
Mutual labels:  notebook
Notes
📓读书笔记 <Java 8 实战>
Stars: ✭ 14 (-63.16%)
Mutual labels:  notebook
Digital Signal Processing Lecture
Digital Signal Processing - Theory and Computational Examples
Stars: ✭ 532 (+1300%)
Mutual labels:  notebook
Earthengine Py Notebooks
A collection of 360+ Jupyter Python notebook examples for using Google Earth Engine with interactive mapping
Stars: ✭ 807 (+2023.68%)
Mutual labels:  notebook
Vietnamese Accent Model
A simple deep learning model to add accent to Vietnamese text.
Stars: ✭ 38 (+0%)
Mutual labels:  notebook
Sparkmagic
Jupyter magics and kernels for working with remote Spark clusters
Stars: ✭ 954 (+2410.53%)
Mutual labels:  notebook
Lambdaschooldatascience
Completed assignments and coding challenges from the Lambda School Data Science program.
Stars: ✭ 22 (-42.11%)
Mutual labels:  notebook

.. image:: https://badge.fury.io/py/ipymol.svg :target: https://pypi.python.org/pypi/ipymol/ :alt: Latest PyPI version

IPyMOL

IPyMOL allows you to control PyMOL <https://www.pymol.org>_ sessions via IPython. This tool is ideal for situations where you'd like to present your work neatly in a Jupyter Notebook <https://jupyter.org/>_ or conveniently prototype PyMOL scripts.

Before You Begin

Please ensure that PyMOL is in your $PATH as pymol or you can start PyMOL in server mode:

.. code:: shell

$ pymol -R #-cKRQ to run it without a GUI

Installation

.. code:: shell

pip install ipymol

Example Usage

You can fire up an IPython or IPython Notebook session and start using IPyMOL. For example:

.. code:: python

from ipymol import viewer as pymol
pymol.fetch('3odu')  # Fetch PDB
pymol.show_as('cartoon') # Show as cartoon
pymol.bg_color('white') # Set background color to white
pymol.display() # Show current display

This series of commands will define a variable pymol of class MolViewer, which can pass commands to PyMOL, and then create an image of PDBID:3odu in your IPython session. Additional commands can be invoked via pymol.do("[ENTER YOUR COMMAND HERE]").

Here's an example notebook <http://nbviewer.ipython.org/urls/raw.github.com/cxhernandez/iPyMol/master/examples/Example1.ipynb>_ with more information.

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].