rowan-python 2.1.11__tar.gz → 2.1.13__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.
Files changed (67) hide show
  1. rowan_python-2.1.13/.github/workflows/build-and-deploy-docs.yml +43 -0
  2. {rowan_python-2.1.11 → rowan_python-2.1.13}/PKG-INFO +2 -2
  3. rowan_python-2.1.13/examples/admet.py +12 -0
  4. rowan_python-2.1.13/examples/membrane_permeability.py +25 -0
  5. {rowan_python-2.1.11 → rowan_python-2.1.13}/pixi.lock +339 -364
  6. {rowan_python-2.1.11 → rowan_python-2.1.13}/pyproject.toml +2 -2
  7. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/folder.py +2 -1
  8. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/workflow.py +145 -41
  9. {rowan_python-2.1.11 → rowan_python-2.1.13}/.envrc +0 -0
  10. {rowan_python-2.1.11 → rowan_python-2.1.13}/.github/workflows/python-publish.yml +0 -0
  11. {rowan_python-2.1.11 → rowan_python-2.1.13}/.github/workflows/test.yml +0 -0
  12. {rowan_python-2.1.11 → rowan_python-2.1.13}/.gitignore +0 -0
  13. {rowan_python-2.1.11 → rowan_python-2.1.13}/.pre-commit-config.yaml +0 -0
  14. {rowan_python-2.1.11 → rowan_python-2.1.13}/LICENSE +0 -0
  15. {rowan_python-2.1.11 → rowan_python-2.1.13}/README.md +0 -0
  16. {rowan_python-2.1.11 → rowan_python-2.1.13}/docs/images/deciduous-tree-favicon.png +0 -0
  17. {rowan_python-2.1.11 → rowan_python-2.1.13}/docs/index.md +0 -0
  18. {rowan_python-2.1.11 → rowan_python-2.1.13}/docs/rowan_rdkit.md +0 -0
  19. {rowan_python-2.1.11 → rowan_python-2.1.13}/docs/stylesheets/colors.css +0 -0
  20. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/PROTAC_solubility.py +0 -0
  21. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/aqueous_solubility.py +0 -0
  22. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/basic_calculation.py +0 -0
  23. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/basic_calculation_from_json.py +0 -0
  24. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/basic_calculation_with_constraint.py +0 -0
  25. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/basic_calculation_with_solvent.py +0 -0
  26. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/batch_docking.py +0 -0
  27. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/bde.py +0 -0
  28. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/boltz_paired_msa.py +0 -0
  29. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/boltz_single_msa.py +0 -0
  30. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/chai_paired_msa.py +0 -0
  31. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/chai_single_msa.py +0 -0
  32. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/cofolding_screen.py +0 -0
  33. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/colabfold_paired_msa.py +0 -0
  34. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/colabfold_single_msa.py +0 -0
  35. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/conformer_dependent_redox.py +0 -0
  36. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/conformers.py +0 -0
  37. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/data/workflow_example.json +0 -0
  38. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/dcd_download.py +0 -0
  39. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/docking_screen.py +0 -0
  40. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/double_ended_ts_search.py +0 -0
  41. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/fukui_index.py +0 -0
  42. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/ion_mobility.py +0 -0
  43. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/irc.py +0 -0
  44. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/macropka.py +0 -0
  45. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/multistage_opt.py +0 -0
  46. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/nmr.py +0 -0
  47. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/optimization.py +0 -0
  48. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/pdb_download.py +0 -0
  49. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/phenol_pka.py +0 -0
  50. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/pka.py +0 -0
  51. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/pose_analysis_md.py +0 -0
  52. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/protein_cofolding.py +0 -0
  53. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/redox_potential.py +0 -0
  54. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/scan.py +0 -0
  55. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/strain.py +0 -0
  56. {rowan_python-2.1.11 → rowan_python-2.1.13}/examples/tautomer.py +0 -0
  57. {rowan_python-2.1.11 → rowan_python-2.1.13}/mkdocs.yml +0 -0
  58. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/__init__.py +0 -0
  59. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/constants.py +0 -0
  60. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/project.py +0 -0
  61. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/protein.py +0 -0
  62. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/py.typed +0 -0
  63. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/rowan_rdkit/__init__.py +0 -0
  64. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/rowan_rdkit/chem_utils.py +0 -0
  65. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/user.py +0 -0
  66. {rowan_python-2.1.11 → rowan_python-2.1.13}/rowan/utils.py +0 -0
  67. {rowan_python-2.1.11 → rowan_python-2.1.13}/tests/test_macropka_loop.py +0 -0
@@ -0,0 +1,43 @@
1
+ name: Build & Deploy Rowan Python Docs
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build-and-deploy-docs:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+ ref: master
21
+
22
+ - name: Install Pixi
23
+ uses: prefix-dev/setup-pixi@v0.9.1
24
+ with:
25
+ pixi-version: "latest"
26
+ activate-environment: true
27
+
28
+ - name: Build MkDocs site
29
+ run: pixi run mkdocs-build
30
+
31
+ - name: Install SSH Key
32
+ uses: shimataro/ssh-key-action@v2
33
+ with:
34
+ key: ${{ secrets.DOCS_SSH_KEY }}
35
+ known_hosts: "unnecessary"
36
+
37
+ - name: Add server to known_hosts
38
+ run: ssh-keyscan -H ${{ secrets.DOCS_IP }} >> ~/.ssh/known_hosts
39
+
40
+ - name: Deploy with rsync
41
+ run: |
42
+ rsync -avz --delete ./ \
43
+ ${{ secrets.DOCS_USERNAME }}@${{ secrets.DOCS_IP }}:${{ secrets.DOCS_TARGET_DIR }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rowan-python
3
- Version: 2.1.11
3
+ Version: 2.1.13
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
@@ -11,7 +11,7 @@ Requires-Dist: httpx
11
11
  Requires-Dist: nest-asyncio
12
12
  Requires-Dist: rdkit
13
13
  Requires-Dist: setuptools
14
- Requires-Dist: stjames>=0.0.128
14
+ Requires-Dist: stjames>=0.0.144
15
15
  Description-Content-Type: text/markdown
16
16
 
17
17
  # Rowan Python Library
@@ -0,0 +1,12 @@
1
+ import rowan
2
+
3
+ # rowan.api_key = ""
4
+
5
+ oseltamivir_SMILES = "C1CCOC(=O)C1=C[C@@H](OC(CC)CC)[C@H](NC(C)=O)[C@@H]([NH3+])C1CCC1"
6
+
7
+ result = rowan.submit_admet_workflow(
8
+ initial_smiles=oseltamivir_SMILES,
9
+ name="Oseltamivir ADMET",
10
+ )
11
+
12
+ print(result.wait_for_result().fetch_latest(in_place=True))
@@ -0,0 +1,25 @@
1
+ from rdkit import Chem
2
+
3
+ import rowan
4
+
5
+ smiles = "CC1=C(N=CN1)CSCCNC(=NC)NC#N"
6
+
7
+ gnn_mtl_result = rowan.submit_membrane_permeability_workflow(
8
+ smiles,
9
+ name="GNN=MTL permeability",
10
+ )
11
+
12
+ pypermm_result = rowan.submit_membrane_permeability_workflow(
13
+ Chem.MolFromSmiles(smiles),
14
+ method="pypermm",
15
+ name="Oseltamivir Membrane Permeability (PyPermm)",
16
+ )
17
+
18
+ gnn_mtl_result.wait_for_result().fetch_latest(in_place=True)
19
+ pypermm_result.wait_for_result().fetch_latest(in_place=True)
20
+
21
+ print(f"Caco-2 Papp (GNN-MTL): {gnn_mtl_result.data['caco_2_P_app']}")
22
+ print(f"Caco-2 P0 (PyPermm): {pypermm_result.data['caco_2_logP']}")
23
+ print("View these workflows privately:")
24
+ print(f"\thttps://labs.rowansci.com/workflow/{gnn_mtl_result.uuid}")
25
+ print(f"\thttps://labs.rowansci.com/workflow/{pypermm_result.uuid}")