rowan-python 1.1.7__tar.gz → 1.1.9__tar.gz

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.
@@ -1,18 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rowan-python
3
- Version: 1.1.7
3
+ Version: 1.1.9
4
4
  Summary: Rowan Python Library
5
5
  Project-URL: Homepage, https://github.com/rowansci/rowan-client
6
6
  Project-URL: Bug Tracker, https://github.com/rowansci/rowan-client/issues
7
7
  Author-email: Corin Wagen <corin@rowansci.com>
8
8
  License-File: LICENSE
9
9
  Requires-Python: >=3.8
10
- Requires-Dist: cctk
11
10
  Requires-Dist: httpx
12
11
  Requires-Dist: nest-asyncio
13
12
  Requires-Dist: rdkit
14
13
  Requires-Dist: setuptools
15
- Requires-Dist: stjames>=0.0.42
14
+ Requires-Dist: stjames>=0.0.62
16
15
  Description-Content-Type: text/markdown
17
16
 
18
17
  # Rowan Python Library
@@ -20,6 +19,8 @@ Description-Content-Type: text/markdown
20
19
  [![pypi](https://img.shields.io/pypi/v/rowan-python.svg)](https://pypi.python.org/pypi/rowan-python)
21
20
  [![pixi](https://img.shields.io/badge/Powered_by-Pixi-facc15)](https://pixi.sh)
22
21
  [![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
22
+ [![Downloads](https://img.shields.io/pypi/dm/rowan-python.svg)](https://pypi.python.org/pypi/rowan-python/)
23
+
23
24
 
24
25
  The Rowan Python library provides convenient access to the Rowan API from applications written in the Python language.
25
26
 
@@ -3,6 +3,8 @@
3
3
  [![pypi](https://img.shields.io/pypi/v/rowan-python.svg)](https://pypi.python.org/pypi/rowan-python)
4
4
  [![pixi](https://img.shields.io/badge/Powered_by-Pixi-facc15)](https://pixi.sh)
5
5
  [![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
6
+ [![Downloads](https://img.shields.io/pypi/dm/rowan-python.svg)](https://pypi.python.org/pypi/rowan-python/)
7
+
6
8
 
7
9
  The Rowan Python library provides convenient access to the Rowan API from applications written in the Python language.
8
10
 
@@ -1,14 +1,13 @@
1
- import cctk
2
1
  import rowan
2
+ import stjames
3
3
 
4
4
  rowan.api_key = "rowan-sk..."
5
- client = rowan.Client()
6
5
 
7
- # load molecule by name (cctk can also load in a variety of file formats)
8
- molecule = cctk.Molecule.new_from_name("cyclobutane")
6
+ # load molecule by smiles (stjames can also load in a variety of file formats)
7
+ molecule = stjames.Molecule.from_smiles("C1CCC1") # cyclobutane
9
8
 
10
9
  # run calculation remotely and return result
11
- result = client.compute(
10
+ result = rowan.compute(
12
11
  molecule,
13
12
  name="opt cyclobutane",
14
13
  method="b97-3c",