rowan-python 0.0.5__tar.gz → 1.1.0__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.
- rowan_python-1.1.0/.github/workflows/python-publish.yml +39 -0
- rowan_python-1.1.0/.gitignore +17 -0
- {rowan_python-0.0.5 → rowan_python-1.1.0}/PKG-INFO +6 -9
- {rowan_python-0.0.5 → rowan_python-1.1.0}/README.md +2 -1
- rowan_python-1.1.0/examples/run.py +18 -0
- rowan_python-1.1.0/pixi.lock +4333 -0
- rowan_python-1.1.0/pyproject.toml +37 -0
- rowan_python-1.1.0/rowan/__init__.py +10 -0
- rowan_python-1.1.0/rowan/calculation.py +11 -0
- rowan_python-1.1.0/rowan/client.py +50 -0
- rowan_python-1.1.0/rowan/constants.py +1 -0
- rowan_python-1.1.0/rowan/folder.py +97 -0
- rowan_python-1.1.0/rowan/rowan_rdkit/__init__.py +3 -0
- rowan_python-1.1.0/rowan/rowan_rdkit/chem_utils.py +610 -0
- {rowan_python-0.0.5 → rowan_python-1.1.0}/rowan/utils.py +22 -1
- rowan_python-1.1.0/rowan/workflow.py +139 -0
- rowan_python-0.0.5/pyproject.toml +0 -30
- rowan_python-0.0.5/rowan/__init__.py +0 -4
- rowan_python-0.0.5/rowan/client.py +0 -155
- rowan_python-0.0.5/rowan_python.egg-info/PKG-INFO +0 -32
- rowan_python-0.0.5/rowan_python.egg-info/SOURCES.txt +0 -11
- rowan_python-0.0.5/rowan_python.egg-info/dependency_links.txt +0 -1
- rowan_python-0.0.5/rowan_python.egg-info/requires.txt +0 -4
- rowan_python-0.0.5/rowan_python.egg-info/top_level.txt +0 -1
- rowan_python-0.0.5/setup.cfg +0 -4
- {rowan_python-0.0.5 → rowan_python-1.1.0}/LICENSE +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# This workflow will upload a Python Package using Twine when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
5
|
+
# They are provided by a third-party and are governed by
|
|
6
|
+
# separate terms of service, privacy policy, and support
|
|
7
|
+
# documentation.
|
|
8
|
+
|
|
9
|
+
name: Upload Python Package
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
release:
|
|
13
|
+
types: [published]
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
deploy:
|
|
20
|
+
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v3
|
|
25
|
+
- name: Set up Python
|
|
26
|
+
uses: actions/setup-python@v3
|
|
27
|
+
with:
|
|
28
|
+
python-version: '3.x'
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: |
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
pip install build
|
|
33
|
+
- name: Build package
|
|
34
|
+
run: python -m build
|
|
35
|
+
- name: Publish package
|
|
36
|
+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
|
|
37
|
+
with:
|
|
38
|
+
user: __token__
|
|
39
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: rowan-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Rowan Python Library
|
|
5
|
-
Author-email: Corin Wagen <corin@rowansci.com>
|
|
6
5
|
Project-URL: Homepage, https://github.com/rowansci/rowan-client
|
|
7
6
|
Project-URL: Bug Tracker, https://github.com/rowansci/rowan-client/issues
|
|
7
|
+
Author-email: Corin Wagen <corin@rowansci.com>
|
|
8
|
+
License-File: LICENSE
|
|
8
9
|
Requires-Python: >=3.8
|
|
9
10
|
Description-Content-Type: text/markdown
|
|
10
|
-
License-File: LICENSE
|
|
11
|
-
Requires-Dist: cctk>=0.2.18
|
|
12
|
-
Requires-Dist: httpx>=0.25
|
|
13
|
-
Requires-Dist: numpy>=1.24
|
|
14
|
-
Requires-Dist: stjames>=0.0.23
|
|
15
11
|
|
|
16
12
|
# Rowan Python Library
|
|
17
13
|
|
|
18
14
|
[](https://pypi.python.org/pypi/rowan-python)
|
|
19
|
-
[](https://pixi.sh)
|
|
16
|
+
[](https://github.com/charliermarsh/ruff)
|
|
20
17
|
|
|
21
18
|
The Rowan Python library provides convenient access to the Rowan API from applications written in the Python language.
|
|
22
19
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Rowan Python Library
|
|
2
2
|
|
|
3
3
|
[](https://pypi.python.org/pypi/rowan-python)
|
|
4
|
-
[](https://pixi.sh)
|
|
5
|
+
[](https://github.com/charliermarsh/ruff)
|
|
5
6
|
|
|
6
7
|
The Rowan Python library provides convenient access to the Rowan API from applications written in the Python language.
|
|
7
8
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import cctk
|
|
2
|
+
import rowan
|
|
3
|
+
|
|
4
|
+
rowan.api_key = "rowan-sk..."
|
|
5
|
+
client = rowan.Client()
|
|
6
|
+
|
|
7
|
+
# load molecule by name (cctk can also load in a variety of file formats)
|
|
8
|
+
molecule = cctk.Molecule.new_from_name("cyclobutane")
|
|
9
|
+
|
|
10
|
+
# run calculation remotely and return result
|
|
11
|
+
result = client.compute(
|
|
12
|
+
molecule,
|
|
13
|
+
name="opt cyclobutane",
|
|
14
|
+
method="b97-3c",
|
|
15
|
+
tasks=["optimize", "charge", "dipole"]
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
print(result)
|