cosmol-viewer 0.1.3.dev4__cp37-abi3-win32.whl → 0.1.4__cp37-abi3-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cosmol-viewer might be problematic. Click here for more details.
- cosmol_viewer/__init__.pyi +3 -2
- cosmol_viewer/cosmol_viewer.pyd +0 -0
- {cosmol_viewer-0.1.3.dev4.dist-info → cosmol_viewer-0.1.4.dist-info}/METADATA +5 -5
- cosmol_viewer-0.1.4.dist-info/RECORD +7 -0
- {cosmol_viewer-0.1.3.dev4.dist-info → cosmol_viewer-0.1.4.dist-info}/WHEEL +1 -1
- cosmol_viewer-0.1.3.dev4.dist-info/RECORD +0 -7
cosmol_viewer/__init__.pyi
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Optional, Union, List
|
|
1
|
+
from typing import Optional, Union, List
|
|
2
2
|
|
|
3
3
|
def parse_sdf(
|
|
4
4
|
sdf: str,
|
|
@@ -201,7 +201,7 @@ class Viewer:
|
|
|
201
201
|
- loops: Number of loops to repeat (-1 for infinite).
|
|
202
202
|
- width: The viewport width in pixels.
|
|
203
203
|
- height: The viewport height in pixels.
|
|
204
|
-
- smooth: Whether to smooth the animation by
|
|
204
|
+
- smooth: Whether to smooth the animation by
|
|
205
205
|
interpolating between frames.
|
|
206
206
|
|
|
207
207
|
# Returns
|
|
@@ -306,6 +306,7 @@ class Molecules:
|
|
|
306
306
|
"""
|
|
307
307
|
|
|
308
308
|
def __init__(self, molecule_data: "MoleculeData") -> None: ...
|
|
309
|
+
def get_center(self) -> List[float]: ...
|
|
309
310
|
def centered(self) -> "Molecules": ...
|
|
310
311
|
def color(self, color: List[float]) -> "Molecules": ...
|
|
311
312
|
def color_rgba(self, color: List[float]) -> "Molecules": ...
|
cosmol_viewer/cosmol_viewer.pyd
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cosmol-viewer
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Molecular visualization tools
|
|
5
5
|
Author-email: 95028 <wjt@cosmol.org>
|
|
6
6
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
@@ -20,8 +20,8 @@ Project-URL: Repository, https://github.com/COSMol-repl/COSMol-viewer
|
|
|
20
20
|
</a>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
24
|
-
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
23
|
+
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
24
|
+
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
A compact, high-performance renderer for molecular and scientific shapes with two usage patterns:
|
|
@@ -57,7 +57,7 @@ pip install cosmol-viewer
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
59
|
## Quick Start
|
|
60
|
-
|
|
60
|
+
See examples in [Google Colab](https://colab.research.google.com/drive/1Sw72QWjQh_sbbY43jGyBOfF1AQCycmIx?usp=sharing).
|
|
61
61
|
### 1. Static molecular rendering
|
|
62
62
|
|
|
63
63
|
```python
|
|
@@ -103,5 +103,5 @@ Viewer.play(frames, interval=interval, loops=1, width=600, height=400, smooth=Tr
|
|
|
103
103
|
|
|
104
104
|
## Documentation
|
|
105
105
|
|
|
106
|
-
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
106
|
+
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
107
107
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
cosmol_viewer-0.1.4.dist-info/METADATA,sha256=lV0EkCNT7HLm_rQiI14-dGzhh1Jjp1Hj-LnPWfDZU6o,3672
|
|
2
|
+
cosmol_viewer-0.1.4.dist-info/WHEEL,sha256=sECm0kUL3yjM43BAfLHkWZpgahvZsaN6MUYDUv4ZsnY,90
|
|
3
|
+
cosmol_viewer/__init__.py,sha256=K33zoYpHqUVvpFdMVxmCtw4uKj9ZXrGuQD4D4DuUmjk,135
|
|
4
|
+
cosmol_viewer/__init__.pyi,sha256=Hc3iWytKJjh6WSg3n2SO7vYb5gePB7GvE2Pq2F--Luc,8746
|
|
5
|
+
cosmol_viewer/cosmol_viewer.pyd,sha256=7SwAOM5xbRM7Fa8miUAIn0DFsFPJoz7UAVlZgsRf18U,14890496
|
|
6
|
+
cosmol_viewer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
cosmol_viewer-0.1.4.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
cosmol_viewer-0.1.3.dev4.dist-info/METADATA,sha256=w0KlzGhLL38Zo2OQZs0G8ybUMbk7DAc5JuS0SWHsF2E,3564
|
|
2
|
-
cosmol_viewer-0.1.3.dev4.dist-info/WHEEL,sha256=69Fxjyxr2c5wP5wLO9JJYwUSZfKn5u-MGzPh56ikWHw,90
|
|
3
|
-
cosmol_viewer/__init__.py,sha256=K33zoYpHqUVvpFdMVxmCtw4uKj9ZXrGuQD4D4DuUmjk,135
|
|
4
|
-
cosmol_viewer/__init__.pyi,sha256=wxDBpo_JPPTIlrQ_MuRR9LbF0Gws4Gznp7JG7F3JHnQ,8702
|
|
5
|
-
cosmol_viewer/cosmol_viewer.pyd,sha256=da99aAEM5ARy9L-2TwZXXQzeH4UWMq5lh83so82WV6k,14922240
|
|
6
|
-
cosmol_viewer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
cosmol_viewer-0.1.3.dev4.dist-info/RECORD,,
|