openprotein-python 0.4.0__tar.gz → 0.8.11__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 (205) hide show
  1. openprotein_python-0.8.11/.gitignore +365 -0
  2. {openprotein_python-0.4.0 → openprotein_python-0.8.11}/PKG-INFO +27 -35
  3. {openprotein_python-0.4.0 → openprotein_python-0.8.11}/README.md +16 -19
  4. openprotein_python-0.8.11/openprotein/__init__.py +164 -0
  5. openprotein_python-0.8.11/openprotein/_version.py +48 -0
  6. openprotein_python-0.8.11/openprotein/align/__init__.py +8 -0
  7. openprotein_python-0.8.11/openprotein/align/align.py +395 -0
  8. openprotein_python-0.8.11/openprotein/align/api.py +422 -0
  9. openprotein_python-0.8.11/openprotein/align/future.py +55 -0
  10. openprotein_python-0.8.11/openprotein/align/msa.py +129 -0
  11. openprotein_python-0.8.11/openprotein/align/schemas.py +165 -0
  12. openprotein_python-0.8.11/openprotein/api/__init__.py +9 -0
  13. openprotein_python-0.8.11/openprotein/api/align.py +400 -0
  14. openprotein_python-0.8.11/openprotein/api/assaydata.py +216 -0
  15. openprotein_python-0.8.11/openprotein/api/deprecated/__init__.py +5 -0
  16. openprotein_python-0.8.11/openprotein/api/deprecated/design.py +86 -0
  17. openprotein_python-0.8.11/openprotein/api/deprecated/poet.py +308 -0
  18. openprotein_python-0.8.11/openprotein/api/deprecated/predict.py +276 -0
  19. openprotein_python-0.8.11/openprotein/api/deprecated/train.py +224 -0
  20. openprotein_python-0.8.11/openprotein/api/design.py +86 -0
  21. openprotein_python-0.8.11/openprotein/api/designer.py +267 -0
  22. openprotein_python-0.8.11/openprotein/api/embedding.py +446 -0
  23. openprotein_python-0.8.11/openprotein/api/error.py +5 -0
  24. openprotein_python-0.8.11/openprotein/api/fold.py +157 -0
  25. openprotein_python-0.8.11/openprotein/api/job.py +94 -0
  26. openprotein_python-0.8.11/openprotein/api/predict.py +273 -0
  27. openprotein_python-0.8.11/openprotein/api/predictor.py +326 -0
  28. openprotein_python-0.8.11/openprotein/api/prompt.py +464 -0
  29. openprotein_python-0.8.11/openprotein/api/svd.py +203 -0
  30. openprotein_python-0.8.11/openprotein/api/train.py +222 -0
  31. openprotein_python-0.8.11/openprotein/api/umap.py +257 -0
  32. openprotein_python-0.8.11/openprotein/app/__init__.py +19 -0
  33. openprotein_python-0.8.11/openprotein/app/deprecated.py +8 -0
  34. openprotein_python-0.8.11/openprotein/app/models/__init__.py +33 -0
  35. openprotein_python-0.8.11/openprotein/app/models/align/__init__.py +4 -0
  36. openprotein_python-0.8.11/openprotein/app/models/align/base.py +20 -0
  37. openprotein_python-0.8.11/openprotein/app/models/align/msa.py +134 -0
  38. openprotein_python-0.8.11/openprotein/app/models/align/prompt.py +78 -0
  39. openprotein_python-0.8.11/openprotein/app/models/assaydata.py +176 -0
  40. openprotein_python-0.8.11/openprotein/app/models/deprecated/__init__.py +10 -0
  41. openprotein_python-0.8.11/openprotein/app/models/deprecated/design.py +109 -0
  42. openprotein_python-0.8.11/openprotein/app/models/deprecated/poet.py +204 -0
  43. openprotein_python-0.8.11/openprotein/app/models/deprecated/predict.py +232 -0
  44. openprotein_python-0.8.11/openprotein/app/models/deprecated/train.py +307 -0
  45. openprotein_python-0.8.11/openprotein/app/models/design.py +105 -0
  46. openprotein_python-0.8.11/openprotein/app/models/designer.py +143 -0
  47. openprotein_python-0.8.11/openprotein/app/models/embeddings/__init__.py +12 -0
  48. openprotein_python-0.8.11/openprotein/app/models/embeddings/base.py +337 -0
  49. openprotein_python-0.8.11/openprotein/app/models/embeddings/esm.py +32 -0
  50. openprotein_python-0.8.11/openprotein/app/models/embeddings/future.py +135 -0
  51. openprotein_python-0.8.11/openprotein/app/models/embeddings/openprotein.py +21 -0
  52. openprotein_python-0.8.11/openprotein/app/models/embeddings/poet.py +366 -0
  53. openprotein_python-0.8.11/openprotein/app/models/embeddings/poet2.py +385 -0
  54. openprotein_python-0.8.11/openprotein/app/models/embeddings/test.py +38 -0
  55. openprotein_python-0.8.11/openprotein/app/models/fold/__init__.py +6 -0
  56. openprotein_python-0.8.11/openprotein/app/models/fold/alphafold2.py +54 -0
  57. openprotein_python-0.8.11/openprotein/app/models/fold/base.py +81 -0
  58. openprotein_python-0.8.11/openprotein/app/models/fold/boltz.py +57 -0
  59. openprotein_python-0.8.11/openprotein/app/models/fold/esmfold.py +38 -0
  60. openprotein_python-0.8.11/openprotein/app/models/fold/future.py +56 -0
  61. openprotein_python-0.8.11/openprotein/app/models/futures.py +473 -0
  62. openprotein_python-0.8.11/openprotein/app/models/predict.py +246 -0
  63. openprotein_python-0.8.11/openprotein/app/models/predictor/__init__.py +4 -0
  64. openprotein_python-0.8.11/openprotein/app/models/predictor/predict.py +78 -0
  65. openprotein_python-0.8.11/openprotein/app/models/predictor/predictor.py +362 -0
  66. openprotein_python-0.8.11/openprotein/app/models/predictor/validate.py +37 -0
  67. openprotein_python-0.8.11/openprotein/app/models/prompt.py +141 -0
  68. openprotein_python-0.8.11/openprotein/app/models/svd.py +260 -0
  69. openprotein_python-0.8.11/openprotein/app/models/train.py +303 -0
  70. openprotein_python-0.8.11/openprotein/app/models/umap.py +156 -0
  71. openprotein_python-0.8.11/openprotein/app/services/__init__.py +16 -0
  72. openprotein_python-0.8.11/openprotein/app/services/align.py +356 -0
  73. openprotein_python-0.8.11/openprotein/app/services/assaydata.py +119 -0
  74. openprotein_python-0.8.11/openprotein/app/services/deprecated/__init__.py +9 -0
  75. openprotein_python-0.8.11/openprotein/app/services/deprecated/design.py +79 -0
  76. openprotein_python-0.8.11/openprotein/app/services/deprecated/predict.py +152 -0
  77. openprotein_python-0.8.11/openprotein/app/services/deprecated/train.py +140 -0
  78. openprotein_python-0.8.11/openprotein/app/services/design.py +79 -0
  79. openprotein_python-0.8.11/openprotein/app/services/designer.py +107 -0
  80. openprotein_python-0.8.11/openprotein/app/services/embeddings.py +137 -0
  81. openprotein_python-0.8.11/openprotein/app/services/fold.py +89 -0
  82. openprotein_python-0.8.11/openprotein/app/services/job.py +61 -0
  83. openprotein_python-0.8.11/openprotein/app/services/predict.py +145 -0
  84. openprotein_python-0.8.11/openprotein/app/services/predictor.py +192 -0
  85. openprotein_python-0.8.11/openprotein/app/services/prompt.py +133 -0
  86. openprotein_python-0.8.11/openprotein/app/services/svd.py +102 -0
  87. openprotein_python-0.8.11/openprotein/app/services/train.py +135 -0
  88. openprotein_python-0.8.11/openprotein/app/services/umap.py +97 -0
  89. openprotein_python-0.8.11/openprotein/base.py +181 -0
  90. openprotein_python-0.8.11/openprotein/chains.py +88 -0
  91. openprotein_python-0.8.11/openprotein/common/__init__.py +5 -0
  92. openprotein_python-0.8.11/openprotein/common/features.py +15 -0
  93. openprotein_python-0.8.11/openprotein/common/model_metadata.py +33 -0
  94. openprotein_python-0.8.11/openprotein/common/reduction.py +14 -0
  95. {openprotein_python-0.4.0 → openprotein_python-0.8.11}/openprotein/config.py +0 -3
  96. openprotein_python-0.8.11/openprotein/csv.py +31 -0
  97. openprotein_python-0.8.11/openprotein/data/__init__.py +9 -0
  98. openprotein_python-0.8.11/openprotein/data/api.py +229 -0
  99. openprotein_python-0.8.11/openprotein/data/assaydataset.py +178 -0
  100. openprotein_python-0.8.11/openprotein/data/data.py +100 -0
  101. openprotein_python-0.8.11/openprotein/data/schemas.py +27 -0
  102. openprotein_python-0.8.11/openprotein/design/__init__.py +16 -0
  103. openprotein_python-0.8.11/openprotein/design/api.py +259 -0
  104. openprotein_python-0.8.11/openprotein/design/design.py +125 -0
  105. openprotein_python-0.8.11/openprotein/design/future.py +146 -0
  106. openprotein_python-0.8.11/openprotein/design/schemas.py +607 -0
  107. openprotein_python-0.8.11/openprotein/embeddings/__init__.py +27 -0
  108. openprotein_python-0.8.11/openprotein/embeddings/api.py +619 -0
  109. openprotein_python-0.8.11/openprotein/embeddings/embeddings.py +151 -0
  110. openprotein_python-0.8.11/openprotein/embeddings/esm.py +33 -0
  111. openprotein_python-0.8.11/openprotein/embeddings/future.py +149 -0
  112. openprotein_python-0.8.11/openprotein/embeddings/models.py +424 -0
  113. openprotein_python-0.8.11/openprotein/embeddings/openprotein.py +21 -0
  114. openprotein_python-0.8.11/openprotein/embeddings/poet.py +449 -0
  115. openprotein_python-0.8.11/openprotein/embeddings/poet2.py +526 -0
  116. openprotein_python-0.8.11/openprotein/embeddings/schemas.py +80 -0
  117. {openprotein_python-0.4.0 → openprotein_python-0.8.11}/openprotein/errors.py +36 -5
  118. openprotein_python-0.8.11/openprotein/fasta.py +92 -0
  119. openprotein_python-0.8.11/openprotein/fold/__init__.py +23 -0
  120. openprotein_python-0.8.11/openprotein/fold/alphafold2.py +134 -0
  121. openprotein_python-0.8.11/openprotein/fold/api.py +271 -0
  122. openprotein_python-0.8.11/openprotein/fold/boltz.py +645 -0
  123. openprotein_python-0.8.11/openprotein/fold/complex.py +60 -0
  124. openprotein_python-0.8.11/openprotein/fold/esmfold.py +54 -0
  125. openprotein_python-0.8.11/openprotein/fold/fold.py +116 -0
  126. openprotein_python-0.8.11/openprotein/fold/future.py +591 -0
  127. openprotein_python-0.8.11/openprotein/fold/minifold.py +54 -0
  128. openprotein_python-0.8.11/openprotein/fold/models.py +139 -0
  129. openprotein_python-0.8.11/openprotein/fold/rosettafold3.py +148 -0
  130. openprotein_python-0.8.11/openprotein/fold/schemas.py +39 -0
  131. openprotein_python-0.8.11/openprotein/jobs/__init__.py +9 -0
  132. openprotein_python-0.8.11/openprotein/jobs/api.py +71 -0
  133. openprotein_python-0.8.11/openprotein/jobs/futures.py +746 -0
  134. openprotein_python-0.8.11/openprotein/jobs/jobs.py +69 -0
  135. openprotein_python-0.8.11/openprotein/jobs/schemas.py +136 -0
  136. openprotein_python-0.8.11/openprotein/models/__init__.py +6 -0
  137. openprotein_python-0.8.11/openprotein/models/base.py +63 -0
  138. openprotein_python-0.8.11/openprotein/models/foundation/boltzgen.py +192 -0
  139. openprotein_python-0.8.11/openprotein/models/foundation/proteinmpnn.py +187 -0
  140. openprotein_python-0.8.11/openprotein/models/foundation/rfdiffusion.py +283 -0
  141. openprotein_python-0.8.11/openprotein/models/models.py +37 -0
  142. openprotein_python-0.8.11/openprotein/predictor/__init__.py +25 -0
  143. openprotein_python-0.8.11/openprotein/predictor/api.py +384 -0
  144. openprotein_python-0.8.11/openprotein/predictor/models.py +374 -0
  145. openprotein_python-0.8.11/openprotein/predictor/prediction.py +79 -0
  146. openprotein_python-0.8.11/openprotein/predictor/predictor.py +270 -0
  147. openprotein_python-0.8.11/openprotein/predictor/schemas.py +115 -0
  148. openprotein_python-0.8.11/openprotein/predictor/validate.py +40 -0
  149. openprotein_python-0.8.11/openprotein/prompt/__init__.py +9 -0
  150. openprotein_python-0.8.11/openprotein/prompt/api.py +505 -0
  151. openprotein_python-0.8.11/openprotein/prompt/models.py +142 -0
  152. openprotein_python-0.8.11/openprotein/prompt/prompt.py +130 -0
  153. openprotein_python-0.8.11/openprotein/prompt/schemas.py +49 -0
  154. openprotein_python-0.8.11/openprotein/protein.py +632 -0
  155. openprotein_python-0.8.11/openprotein/schemas/__init__.py +74 -0
  156. openprotein_python-0.8.11/openprotein/schemas/align.py +61 -0
  157. openprotein_python-0.8.11/openprotein/schemas/assaydata.py +27 -0
  158. openprotein_python-0.8.11/openprotein/schemas/deprecated/__init__.py +21 -0
  159. openprotein_python-0.8.11/openprotein/schemas/deprecated/design.py +173 -0
  160. openprotein_python-0.8.11/openprotein/schemas/deprecated/poet.py +70 -0
  161. openprotein_python-0.8.11/openprotein/schemas/deprecated/predict.py +82 -0
  162. openprotein_python-0.8.11/openprotein/schemas/deprecated/train.py +34 -0
  163. openprotein_python-0.8.11/openprotein/schemas/design.py +202 -0
  164. openprotein_python-0.8.11/openprotein/schemas/designer.py +38 -0
  165. openprotein_python-0.8.11/openprotein/schemas/embeddings.py +102 -0
  166. openprotein_python-0.8.11/openprotein/schemas/features.py +7 -0
  167. openprotein_python-0.8.11/openprotein/schemas/fold.py +10 -0
  168. openprotein_python-0.8.11/openprotein/schemas/job.py +134 -0
  169. openprotein_python-0.8.11/openprotein/schemas/predict.py +82 -0
  170. openprotein_python-0.8.11/openprotein/schemas/predictor.py +96 -0
  171. openprotein_python-0.8.11/openprotein/schemas/prompt.py +28 -0
  172. openprotein_python-0.8.11/openprotein/schemas/svd.py +31 -0
  173. openprotein_python-0.8.11/openprotein/schemas/train.py +34 -0
  174. openprotein_python-0.8.11/openprotein/schemas/umap.py +35 -0
  175. openprotein_python-0.8.11/openprotein/svd/__init__.py +9 -0
  176. openprotein_python-0.8.11/openprotein/svd/api.py +206 -0
  177. openprotein_python-0.8.11/openprotein/svd/models.py +288 -0
  178. openprotein_python-0.8.11/openprotein/svd/schemas.py +31 -0
  179. openprotein_python-0.8.11/openprotein/svd/svd.py +136 -0
  180. openprotein_python-0.8.11/openprotein/umap/__init__.py +9 -0
  181. openprotein_python-0.8.11/openprotein/umap/api.py +259 -0
  182. openprotein_python-0.8.11/openprotein/umap/models.py +211 -0
  183. openprotein_python-0.8.11/openprotein/umap/schemas.py +35 -0
  184. openprotein_python-0.8.11/openprotein/umap/umap.py +204 -0
  185. openprotein_python-0.8.11/openprotein/utils/uuid.py +29 -0
  186. openprotein_python-0.8.11/pyproject.toml +123 -0
  187. openprotein_python-0.4.0/openprotein/__init__.py +0 -99
  188. openprotein_python-0.4.0/openprotein/_version.py +0 -10
  189. openprotein_python-0.4.0/openprotein/api/__init__.py +0 -7
  190. openprotein_python-0.4.0/openprotein/api/align.py +0 -871
  191. openprotein_python-0.4.0/openprotein/api/data.py +0 -532
  192. openprotein_python-0.4.0/openprotein/api/design.py +0 -508
  193. openprotein_python-0.4.0/openprotein/api/embedding.py +0 -1232
  194. openprotein_python-0.4.0/openprotein/api/fold.py +0 -448
  195. openprotein_python-0.4.0/openprotein/api/jobs.py +0 -351
  196. openprotein_python-0.4.0/openprotein/api/poet.py +0 -612
  197. openprotein_python-0.4.0/openprotein/api/predict.py +0 -550
  198. openprotein_python-0.4.0/openprotein/api/train.py +0 -661
  199. openprotein_python-0.4.0/openprotein/base.py +0 -125
  200. openprotein_python-0.4.0/openprotein/fasta.py +0 -39
  201. openprotein_python-0.4.0/openprotein/futures.py +0 -57
  202. openprotein_python-0.4.0/openprotein/jobs.py +0 -186
  203. openprotein_python-0.4.0/openprotein/schemas.py +0 -55
  204. openprotein_python-0.4.0/pyproject.toml +0 -26
  205. {openprotein_python-0.4.0 → openprotein_python-0.8.11}/LICENSE.txt +0 -0
@@ -0,0 +1,365 @@
1
+
2
+ # SECRETS FILE
3
+ secrets.config
4
+ poetry.lock
5
+ /htmlcov
6
+ /apidocs/build
7
+ # VS code
8
+ .DS_store
9
+
10
+ # Byte-compiled / optimized / DLL files
11
+ __pycache__/
12
+ *.py[cod]
13
+ *$py.class
14
+
15
+ # C extensions
16
+ *.so
17
+
18
+ # Distribution / packaging
19
+ .Python
20
+ #build/
21
+ develop-eggs/
22
+ dist/
23
+ downloads/
24
+ eggs/
25
+ .eggs/
26
+ lib/
27
+ lib64/
28
+ parts/
29
+ sdist/
30
+ var/
31
+ wheels/
32
+ pip-wheel-metadata/
33
+ share/python-wheels/
34
+ *.egg-info/
35
+ .installed.cfg
36
+ *.egg
37
+ MANIFEST
38
+
39
+ # PyInstaller
40
+ # Usually these files are written by a python script from a template
41
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
42
+ *.manifest
43
+ *.spec
44
+
45
+ # Installer logs
46
+ pip-log.txt
47
+ pip-delete-this-directory.txt
48
+
49
+ # Unit test / coverage reports
50
+ htmlcov/
51
+ .tox/
52
+ .nox/
53
+ .coverage
54
+ .coverage.*
55
+ .cache
56
+ nosetests.xml
57
+ coverage.xml
58
+ *.cover
59
+ *.py,cover
60
+ .hypothesis/
61
+ .pytest_cache/
62
+
63
+ # Translations
64
+ *.mo
65
+ *.pot
66
+
67
+ # Django stuff:
68
+ *.log
69
+ local_settings.py
70
+ db.sqlite3
71
+ db.sqlite3-journal
72
+
73
+ # Flask stuff:
74
+ instance/
75
+ .webassets-cache
76
+
77
+ # Scrapy stuff:
78
+ .scrapy
79
+
80
+ # Sphinx documentation
81
+ docs/_build/
82
+
83
+ # PyBuilder
84
+ target/
85
+
86
+ # Jupyter Notebook
87
+ .ipynb_checkpoints
88
+
89
+ # IPython
90
+ profile_default/
91
+ ipython_config.py
92
+
93
+ # pyenv
94
+ .python-version
95
+
96
+ # pipenv
97
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
98
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
99
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
100
+ # install all needed dependencies.
101
+ #Pipfile.lock
102
+
103
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
104
+ __pypackages__/
105
+
106
+ # Celery stuff
107
+ celerybeat-schedule
108
+ celerybeat.pid
109
+
110
+ # SageMath parsed files
111
+ *.sage.py
112
+
113
+ # Environments
114
+ .env
115
+ .venv
116
+ env/
117
+ venv/
118
+ ENV/
119
+ env.bak/
120
+ venv.bak/
121
+
122
+ # Spyder project settings
123
+ .spyderproject
124
+ .spyproject
125
+
126
+ # Rope project settings
127
+ .ropeproject
128
+
129
+ # mkdocs documentation
130
+ /site
131
+
132
+ # mypy
133
+ .mypy_cache/
134
+ .dmypy.json
135
+ dmypy.json
136
+
137
+ # Pyre type checker
138
+ .pyre/
139
+
140
+ /.quarto/
141
+ poet_demo.ipynb
142
+ *chorismate_mutase_combined_seqs.fasta
143
+
144
+ nohup.out
145
+ # pixi environments
146
+ .pixi
147
+ *.egg-info
148
+
149
+ notebooks
150
+ ./data/
151
+ .aider*
152
+
153
+ build
154
+ # Python
155
+ # Byte-compiled / optimized / DLL files
156
+ __pycache__/
157
+ *.py[codz]
158
+ *$py.class
159
+
160
+ # C extensions
161
+ *.so
162
+
163
+ # Distribution / packaging
164
+ .Python
165
+ build/
166
+ develop-eggs/
167
+ dist/
168
+ downloads/
169
+ eggs/
170
+ .eggs/
171
+ lib/
172
+ lib64/
173
+ parts/
174
+ sdist/
175
+ var/
176
+ wheels/
177
+ share/python-wheels/
178
+ *.egg-info/
179
+ .installed.cfg
180
+ *.egg
181
+ MANIFEST
182
+
183
+ # PyInstaller
184
+ # Usually these files are written by a python script from a template
185
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
186
+ *.manifest
187
+ *.spec
188
+
189
+ # Installer logs
190
+ pip-log.txt
191
+ pip-delete-this-directory.txt
192
+
193
+ # Unit test / coverage reports
194
+ htmlcov/
195
+ .tox/
196
+ .nox/
197
+ .coverage
198
+ .coverage.*
199
+ .cache
200
+ nosetests.xml
201
+ coverage.xml
202
+ *.cover
203
+ *.py.cover
204
+ .hypothesis/
205
+ .pytest_cache/
206
+ cover/
207
+
208
+ # Translations
209
+ *.mo
210
+ *.pot
211
+
212
+ # Django stuff:
213
+ *.log
214
+ local_settings.py
215
+ db.sqlite3
216
+ db.sqlite3-journal
217
+
218
+ # Flask stuff:
219
+ instance/
220
+ .webassets-cache
221
+
222
+ # Scrapy stuff:
223
+ .scrapy
224
+
225
+ # Sphinx documentation
226
+ docs/_build/
227
+
228
+ # PyBuilder
229
+ .pybuilder/
230
+ target/
231
+
232
+ # Jupyter Notebook
233
+ .ipynb_checkpoints
234
+
235
+ # IPython
236
+ profile_default/
237
+ ipython_config.py
238
+
239
+ # pyenv
240
+ # For a library or package, you might want to ignore these files since the code is
241
+ # intended to run in multiple environments; otherwise, check them in:
242
+ # .python-version
243
+
244
+ # pipenv
245
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
246
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
247
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
248
+ # install all needed dependencies.
249
+ #Pipfile.lock
250
+
251
+ # UV
252
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
253
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
254
+ # commonly ignored for libraries.
255
+ #uv.lock
256
+
257
+ # poetry
258
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
259
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
260
+ # commonly ignored for libraries.
261
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
262
+ #poetry.lock
263
+ #poetry.toml
264
+
265
+ # pdm
266
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
267
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
268
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
269
+ #pdm.lock
270
+ #pdm.toml
271
+ .pdm-python
272
+ .pdm-build/
273
+
274
+ # pixi
275
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
276
+ #pixi.lock
277
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
278
+ # in the .venv directory. It is recommended not to include this directory in version control.
279
+ .pixi
280
+
281
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
282
+ __pypackages__/
283
+
284
+ # Celery stuff
285
+ celerybeat-schedule
286
+ celerybeat.pid
287
+
288
+ # SageMath parsed files
289
+ *.sage.py
290
+
291
+ # Environments
292
+ .env
293
+ .envrc
294
+ .venv
295
+ env/
296
+ venv/
297
+ ENV/
298
+ env.bak/
299
+ venv.bak/
300
+
301
+ # Spyder project settings
302
+ .spyderproject
303
+ .spyproject
304
+
305
+ # Rope project settings
306
+ .ropeproject
307
+
308
+ # mkdocs documentation
309
+ /site
310
+
311
+ # mypy
312
+ .mypy_cache/
313
+ .dmypy.json
314
+ dmypy.json
315
+
316
+ # Pyre type checker
317
+ .pyre/
318
+
319
+ # pytype static type analyzer
320
+ .pytype/
321
+
322
+ # Cython debug symbols
323
+ cython_debug/
324
+
325
+ # PyCharm
326
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
327
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
328
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
329
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
330
+ #.idea/
331
+
332
+ # Abstra
333
+ # Abstra is an AI-powered process automation framework.
334
+ # Ignore directories containing user credentials, local state, and settings.
335
+ # Learn more at https://abstra.io/docs
336
+ .abstra/
337
+
338
+ # Visual Studio Code
339
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
340
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
341
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
342
+ # you could uncomment the following to ignore the entire vscode folder
343
+ # .vscode/
344
+
345
+ # Ruff stuff:
346
+ .ruff_cache/
347
+
348
+ # PyPI configuration file
349
+ .pypirc
350
+
351
+ # Cursor
352
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
353
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
354
+ # refer to https://docs.cursor.com/context/ignore-files
355
+ .cursorignore
356
+ .cursorindexingignore
357
+
358
+ # Marimo
359
+ marimo/_static/
360
+ marimo/_lsp/
361
+ __marimo__/
362
+
363
+ # Streamlit
364
+ .streamlit/secrets.toml
365
+ /data/
@@ -1,28 +1,23 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: openprotein-python
3
- Version: 0.4.0
3
+ Version: 0.8.11
4
4
  Summary: OpenProtein Python interface.
5
- Home-page: https://docs.openprotein.ai/
6
- License: MIT
7
- Author: OpenProtein
8
- Author-email: info@ne47.bio
9
- Requires-Python: >=3.8,<4.0
5
+ Author-email: Mark Gee <markgee@ne47.bio>, "Timothy Truong Jr." <ttruong@ne47.bio>, Tristan Bepler <tbepler@ne47.bio>
6
+ License-Expression: MIT
7
+ License-File: LICENSE.txt
10
8
  Classifier: Development Status :: 4 - Beta
11
- Classifier: License :: OSI Approved :: MIT License
12
9
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.8
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
- Classifier: Programming Language :: Python :: 3.11
17
- Classifier: Programming Language :: Python :: 3
18
- Requires-Dist: pandas (>=1)
19
- Requires-Dist: pydantic (>=1)
20
- Requires-Dist: requests (>=2)
21
- Requires-Dist: tqdm (>=4)
10
+ Requires-Python: <3.13,>=3.10
11
+ Requires-Dist: gemmi<0.8,>=0.7.0
12
+ Requires-Dist: numpy<3,>=1.9
13
+ Requires-Dist: pandas<3,>=2.2.2
14
+ Requires-Dist: pydantic<3,>=2.5
15
+ Requires-Dist: requests<3,>=2.32.3
16
+ Requires-Dist: tqdm<5,>=4.66.5
22
17
  Description-Content-Type: text/markdown
23
18
 
24
19
  [![PyPI version](https://badge.fury.io/py/openprotein-python.svg)](https://pypi.org/project/openprotein-python/)
25
- [![Coverage](https://dev.docs.openprotein.ai/api-python/_images/coverage.svg)](https://pypi.org/project/openprotein-python/)
20
+ [![Coverage](https://docs.openprotein.ai/_static/coverage.svg)](https://pypi.org/project/openprotein-python/)
26
21
  [![Conda version](https://anaconda.org/openprotein/openprotein-python/badges/version.svg)](https://anaconda.org/openprotein/openprotein-python)
27
22
 
28
23
 
@@ -33,19 +28,19 @@ The OpenProtein.AI Python Interface provides a user-friendly library to interact
33
28
 
34
29
  # Table of Contents
35
30
 
36
- | | Workflow | Description |
37
- |---|----------------------------------------------------|------------------------------------------------------|
38
- | 0 | [`Quick start`](#Quick-start) | Quick start guide |
39
- | 1 | [`Installation`](https://docs.openprotein.ai/api-python/installation.html) | Install guide for pip and conda. |
40
- | 2 | [`Session management`](https://docs.openprotein.ai/api-python/overview.html) | An overview of the OpenProtein Python Client & the asynchronous jobs system. |
41
- | 3 | [`Asssay-based Sequence Learning`](https://docs.openprotein.ai/api-python/core_workflow.html) | Covers core tasks such as data upload, model training & prediction, and sequence design. |
42
- | 4 | [`De Novo prediction & generative models (PoET)`](https://docs.openprotein.ai/api-python/poet_workflow.html) | Covers PoET, a protein LLM for *de novo* scoring, as well as sequence generation. |
43
- | 5 | [`Protein Language Models & Embeddings`](https://docs.openprotein.ai/api-python/embedding_workflow.html) | Covers methods for creating sequence embeddings with proprietary & open-source models. |
31
+ | | Workflow | Description |
32
+ |---|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
33
+ | 0 | [`Quick start`](#Quick-start) | Quick start guide |
34
+ | 1 | [`Installation`](https://docs.openprotein.ai/python-api/installation.html) | Install guide for pip and conda. |
35
+ | 2 | [`Session management`](https://docs.openprotein.ai/python-api/index.html) | An overview of the OpenProtein Python Client & the asynchronous jobs system. |
36
+ | 3 | [`Property-Regression-Models`](https://docs.openprotein.ai/python-api/property-regression-models/index.html) | Covers core tasks such as data upload, model training & prediction, and sequence design. |
37
+ | 4 | [`De Novo prediction & generative models (PoET)`](https://docs.openprotein.ai/python-api/poet/index.html) | Covers PoET, a protein LLM for *de novo* scoring, as well as sequence generation. |
38
+ | 5 | [`Foundational models`](https://docs.openprotein.ai/python-api/foundation-models/index.html) | Covers methods for creating sequence embeddings with proprietary & open-source models. |
44
39
 
45
40
 
46
41
  # Quick-start
47
42
 
48
- Get started with our quickstart README! You can peruse the [official documentation](https://docs.openprotein.ai/api-python/) for more details!
43
+ Get started with our quickstart README! You can peruse the [official documentation](https://docs.openprotein.ai/python-api/) for more details!
49
44
  ## Installation
50
45
 
51
46
  To install the python interface using pip, run the following command:
@@ -60,16 +55,13 @@ conda install -c openprotein openprotein-python
60
55
 
61
56
  ### Requirements
62
57
 
63
- - Python 3.8 or higher.
64
- - pydantic version 1.0 or newer.
65
- - requests version 2.0 or newer.
66
- - tqdm version 4.0 or newer.
67
- - pandas version 1.0 or newer.
58
+ - Python 3.10 or higher.
59
+ - Other dependencies as in `pyproject.toml`
68
60
 
69
61
  # Getting started
70
62
 
71
63
 
72
- Read on below for the quick-start guide, or see the [docs](https://docs.openprotein.ai/api-python/) for more information!
64
+ Read on below for the quick-start guide, or see the [docs](https://docs.openprotein.ai/python-api/) for more information!
73
65
 
74
66
  To begin, create a session using your login credentials.
75
67
  ```
@@ -80,10 +72,10 @@ session = openprotein.connect(USERNAME, PASSWORD)
80
72
  ```
81
73
  ## Job Status
82
74
 
83
- The interface offers `AsyncJobFuture` objects for asynchronous calls, allowing tracking of job status and result retrieval when ready. Given a future, you can check its status and retrieve results.
75
+ The interface offers `Future` objects for asynchronous calls, allowing tracking of job status and result retrieval when ready. Given a future, you can check its status and retrieve results.
84
76
 
85
77
  ### Checking Job Status
86
- Check the status of an `AsyncJobFuture` using the following methods:
78
+ Check the status of an `Future` using the following methods:
87
79
  ```
88
80
  future.refresh() # call the backend to update the job status
89
81
  future.done() # returns True if the job is done, meaning the status could be SUCCESS, FAILED, or CANCELLED
@@ -1,5 +1,5 @@
1
1
  [![PyPI version](https://badge.fury.io/py/openprotein-python.svg)](https://pypi.org/project/openprotein-python/)
2
- [![Coverage](https://dev.docs.openprotein.ai/api-python/_images/coverage.svg)](https://pypi.org/project/openprotein-python/)
2
+ [![Coverage](https://docs.openprotein.ai/_static/coverage.svg)](https://pypi.org/project/openprotein-python/)
3
3
  [![Conda version](https://anaconda.org/openprotein/openprotein-python/badges/version.svg)](https://anaconda.org/openprotein/openprotein-python)
4
4
 
5
5
 
@@ -10,19 +10,19 @@ The OpenProtein.AI Python Interface provides a user-friendly library to interact
10
10
 
11
11
  # Table of Contents
12
12
 
13
- | | Workflow | Description |
14
- |---|----------------------------------------------------|------------------------------------------------------|
15
- | 0 | [`Quick start`](#Quick-start) | Quick start guide |
16
- | 1 | [`Installation`](https://docs.openprotein.ai/api-python/installation.html) | Install guide for pip and conda. |
17
- | 2 | [`Session management`](https://docs.openprotein.ai/api-python/overview.html) | An overview of the OpenProtein Python Client & the asynchronous jobs system. |
18
- | 3 | [`Asssay-based Sequence Learning`](https://docs.openprotein.ai/api-python/core_workflow.html) | Covers core tasks such as data upload, model training & prediction, and sequence design. |
19
- | 4 | [`De Novo prediction & generative models (PoET)`](https://docs.openprotein.ai/api-python/poet_workflow.html) | Covers PoET, a protein LLM for *de novo* scoring, as well as sequence generation. |
20
- | 5 | [`Protein Language Models & Embeddings`](https://docs.openprotein.ai/api-python/embedding_workflow.html) | Covers methods for creating sequence embeddings with proprietary & open-source models. |
13
+ | | Workflow | Description |
14
+ |---|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
15
+ | 0 | [`Quick start`](#Quick-start) | Quick start guide |
16
+ | 1 | [`Installation`](https://docs.openprotein.ai/python-api/installation.html) | Install guide for pip and conda. |
17
+ | 2 | [`Session management`](https://docs.openprotein.ai/python-api/index.html) | An overview of the OpenProtein Python Client & the asynchronous jobs system. |
18
+ | 3 | [`Property-Regression-Models`](https://docs.openprotein.ai/python-api/property-regression-models/index.html) | Covers core tasks such as data upload, model training & prediction, and sequence design. |
19
+ | 4 | [`De Novo prediction & generative models (PoET)`](https://docs.openprotein.ai/python-api/poet/index.html) | Covers PoET, a protein LLM for *de novo* scoring, as well as sequence generation. |
20
+ | 5 | [`Foundational models`](https://docs.openprotein.ai/python-api/foundation-models/index.html) | Covers methods for creating sequence embeddings with proprietary & open-source models. |
21
21
 
22
22
 
23
23
  # Quick-start
24
24
 
25
- Get started with our quickstart README! You can peruse the [official documentation](https://docs.openprotein.ai/api-python/) for more details!
25
+ Get started with our quickstart README! You can peruse the [official documentation](https://docs.openprotein.ai/python-api/) for more details!
26
26
  ## Installation
27
27
 
28
28
  To install the python interface using pip, run the following command:
@@ -37,16 +37,13 @@ conda install -c openprotein openprotein-python
37
37
 
38
38
  ### Requirements
39
39
 
40
- - Python 3.8 or higher.
41
- - pydantic version 1.0 or newer.
42
- - requests version 2.0 or newer.
43
- - tqdm version 4.0 or newer.
44
- - pandas version 1.0 or newer.
40
+ - Python 3.10 or higher.
41
+ - Other dependencies as in `pyproject.toml`
45
42
 
46
43
  # Getting started
47
44
 
48
45
 
49
- Read on below for the quick-start guide, or see the [docs](https://docs.openprotein.ai/api-python/) for more information!
46
+ Read on below for the quick-start guide, or see the [docs](https://docs.openprotein.ai/python-api/) for more information!
50
47
 
51
48
  To begin, create a session using your login credentials.
52
49
  ```
@@ -57,10 +54,10 @@ session = openprotein.connect(USERNAME, PASSWORD)
57
54
  ```
58
55
  ## Job Status
59
56
 
60
- The interface offers `AsyncJobFuture` objects for asynchronous calls, allowing tracking of job status and result retrieval when ready. Given a future, you can check its status and retrieve results.
57
+ The interface offers `Future` objects for asynchronous calls, allowing tracking of job status and result retrieval when ready. Given a future, you can check its status and retrieve results.
61
58
 
62
59
  ### Checking Job Status
63
- Check the status of an `AsyncJobFuture` using the following methods:
60
+ Check the status of an `Future` using the following methods:
64
61
  ```
65
62
  future.refresh() # call the backend to update the job status
66
63
  future.done() # returns True if the job is done, meaning the status could be SUCCESS, FAILED, or CANCELLED
@@ -155,4 +152,4 @@ future.get_msa()
155
152
  future.get_seed()
156
153
  ```
157
154
 
158
- See more at our [Homepage](https://docs.openprotein.ai/)
155
+ See more at our [Homepage](https://docs.openprotein.ai/)