semvec/pypi-packages huggingface dataset:
tbk-api 0.2.1
淘宝客接口
Requires Python: >=3.9,<4.0

# 淘宝客接口

淘宝客共享接口

## 注意:

    这个接口仅仅是为了内部使用，虽然您可以获取它的源代码，但是请不要使用在您的项目中.
    当前我并不对兼容性以及可用性做任何保证。(如果需要使用请联系开发者获取相应的授权)
pymolPy3 0.1.2
A PyMOL wrapper in Python3.
Requires Python: >=3.6
Keywords: PDB,structure biology,protein,molecular graphics

## What's `pymolPy3`?

The package enables the use of PyMOL commands directly in Python 3 scripts.
NO APIs are requierd.  

The length of source code is only 32 lines, but the example has a size of 29MB.  

What can it do?

[![](examples/thumbnail.png)](https://youtu.be/BGi00Tl-9L4)


## Install `pymolPy3`

`pip install pymolPy3 --user`

## Basic usage

### Initializ pymol

```Python
import pymolPy3

# Launch pymol with GUI
pm = pymolPy3.pymolPy3()
```

OR

```Python
import pymolPy3

# Launch pymol without GUI
pm = pymolPy3.pymolPy3(0)
```

### Load a PDB structure

```Python
pdb = '1f88'

pm(f"load {pdb}.pdb")
```

### Run PyMOL command in `pm()` -- it's a wrapper

```Python
pm(f"...")
#    ~~~
#     |
#     |_______ A string representing PyMOL command.
```

## Examples

The sample script `align.view.py` under the `examples` directory would produces
the figure below.  

![](./examples/align.view.png)