cosmol-viewer 0.1.3.dev4__cp37-abi3-macosx_10_12_x86_64.whl → 0.1.4__cp37-abi3-macosx_10_12_x86_64.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.

@@ -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": ...
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cosmol-viewer
3
- Version: 0.1.3.dev4
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=49VUM-fWJZOrqzrBNa3mdU6Np-faZk9q4wGPa_TxioU,3574
2
+ cosmol_viewer-0.1.4.dist-info/WHEEL,sha256=rHuvTo5D8Oz3BcDnet-SntQ5nE1Kh8uGAkVlfhG8mko,104
3
+ cosmol_viewer/__init__.py,sha256=K33zoYpHqUVvpFdMVxmCtw4uKj9ZXrGuQD4D4DuUmjk,135
4
+ cosmol_viewer/__init__.pyi,sha256=lq3cc-eCn1xDmxxf4yKG8N6uvXsc2g5mpithyJbZPQc,8427
5
+ cosmol_viewer/cosmol_viewer.abi3.so,sha256=pdbXaMKxRBBDhGmlbS_gpPKnXkihWSbbGbV_-zs84jw,16416024
6
+ cosmol_viewer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ cosmol_viewer-0.1.4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.4)
2
+ Generator: maturin (1.9.6)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp37-abi3-macosx_10_12_x86_64
@@ -1,7 +0,0 @@
1
- cosmol_viewer-0.1.3.dev4.dist-info/METADATA,sha256=akDWmwqCufkkhU1U9ueOhblawZEGZ1gw8C6NTdsRxzQ,3466
2
- cosmol_viewer-0.1.3.dev4.dist-info/WHEEL,sha256=EXWYGIlQOGI1SAWXpNs-tKqcTH553LQS8liEUK4J-U8,104
3
- cosmol_viewer/__init__.py,sha256=K33zoYpHqUVvpFdMVxmCtw4uKj9ZXrGuQD4D4DuUmjk,135
4
- cosmol_viewer/__init__.pyi,sha256=haGIhR4cKSfwOsni4Vk9dG4r9ApSfDN0Z2Zui-BD3e0,8384
5
- cosmol_viewer/cosmol_viewer.abi3.so,sha256=pjEFGzC8qN2LXB_4Breq9uNo2EOdOWtAgWGb5Wx6cD8,16568736
6
- cosmol_viewer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- cosmol_viewer-0.1.3.dev4.dist-info/RECORD,,