Skip to content

Commit 9aff695

Browse files
authored
Merge pull request #23 from OpenProteinAI/test
added conda
2 parents b95da33 + f38456e commit 9aff695

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+279
-22
lines changed

.github/workflows/s3.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,31 @@ on:
55
branches:
66
- develop
77
- prod
8+
- test
89

910
jobs:
1011
build_and_sync:
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v1
15+
16+
- name: Install Poetry
17+
run: |
18+
curl -sSL https://install.python-poetry.org | python -
19+
20+
- name: Create and push tag if on prod branch
21+
if: github.ref == 'refs/heads/prod'
22+
run: |
23+
VERSION=$(poetry version -s)
24+
git tag $VERSION
25+
git push origin $VERSION
26+
27+
- name: Create and push test tag if on test branch
28+
if: github.ref == 'refs/heads/test'
29+
run: |
30+
VERSION=$(poetry version -s)
31+
git tag testvers
32+
git push origin testvers
1433
1534
- name: Install Pandoc
1635
run: |
@@ -25,7 +44,7 @@ jobs:
2544
- name: Install dependencies
2645
run: |
2746
python -m pip install --upgrade pip
28-
pip install sphinx recommonmark sphinx_markdown_tables sphinx_markdown_builder nbsphinx sphinx-rtd-theme pandas requests tqdm pydantic coverage coverage-badge
47+
pip install pytest sphinx recommonmark sphinx_markdown_tables sphinx_markdown_builder nbsphinx sphinx-rtd-theme pandas requests tqdm pydantic coverage coverage-badge
2948
3049
- name: Run tests and generate coverage badge
3150
run: |
@@ -48,6 +67,8 @@ jobs:
4867
then bucket=openprotein-docs-dev; \
4968
elif [ $branch == 'prod' ]; \
5069
then bucket=openprotein-docs-prod; \
70+
elif [ $branch == 'test' ]; \
71+
then bucket=openprotein-docs-dev; \
5172
else exit 1; fi; \
5273
echo $bucket; \
5374
echo "bucket=$bucket" >> $GITHUB_OUTPUT
@@ -61,6 +82,8 @@ jobs:
6182
then dist=E3SMW2DYY71HHW; \
6283
elif [ $branch == 'prod' ]; \
6384
then dist=E1CUT1CP31D5NK; \
85+
elif [ $branch == 'test' ]; \
86+
then dist=E3SMW2DYY71HHW; \
6487
else exit 1; fi; \
6588
echo $dist; \
6689
echo "dist=$dist" >> $GITHUB_OUTPUT

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[![PyPI version](https://badge.fury.io/py/openprotein-python.svg)](https://pypi.org/project/openprotein-python/)
22
[![Coverage](https://dev.docs.openprotein.ai/api-python/_images/coverage.svg)](https://pypi.org/project/openprotein-python/)
3+
[![Conda version](https://anaconda.org/openprotein/openprotein_python/badges/version.svg)](https://anaconda.org/openprotein/openprotein_python)
4+
5+
36
# openprotein-python
47
The OpenProtein.AI Python Interface provides a user-friendly library to interact with the OpenProtein.AI REST API, enabling various tasks related to protein analysis and modeling.
58

@@ -9,6 +12,11 @@ To install the python interface using pip, run the following command:
912
```
1013
pip install openprotein-python
1114
```
15+
16+
or with conda:
17+
```
18+
conda install -c openprotein openprotein_python
19+
```
1220
## Requirements
1321

1422
- Python 3.7 or higher.
9.37 KB
Binary file not shown.
946 Bytes
Binary file not shown.
5.92 KB
Binary file not shown.

apidocs/build/html/_modules/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4444
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
4545
<ul>
46+
<li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation</a></li>
4647
<li class="toctree-l1"><a class="reference internal" href="../overview.html">Session management</a></li>
4748
<li class="toctree-l1"><a class="reference internal" href="../core_workflow.html">Asssay-based Sequence Learning</a></li>
4849
<li class="toctree-l1"><a class="reference internal" href="../poet_workflow.html">De Novo prediction &amp; generative models (PoET)</a></li>

apidocs/build/html/_modules/openprotein.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4444
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
4545
<ul>
46+
<li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation</a></li>
4647
<li class="toctree-l1"><a class="reference internal" href="../overview.html">Session management</a></li>
4748
<li class="toctree-l1"><a class="reference internal" href="../core_workflow.html">Asssay-based Sequence Learning</a></li>
4849
<li class="toctree-l1"><a class="reference internal" href="../poet_workflow.html">De Novo prediction &amp; generative models (PoET)</a></li>

apidocs/build/html/_modules/openprotein/api/data.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4444
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
4545
<ul>
46+
<li class="toctree-l1"><a class="reference internal" href="../../../installation.html">Installation</a></li>
4647
<li class="toctree-l1"><a class="reference internal" href="../../../overview.html">Session management</a></li>
4748
<li class="toctree-l1"><a class="reference internal" href="../../../core_workflow.html">Asssay-based Sequence Learning</a></li>
4849
<li class="toctree-l1"><a class="reference internal" href="../../../poet_workflow.html">De Novo prediction &amp; generative models (PoET)</a></li>

apidocs/build/html/_modules/openprotein/api/design.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4444
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
4545
<ul>
46+
<li class="toctree-l1"><a class="reference internal" href="../../../installation.html">Installation</a></li>
4647
<li class="toctree-l1"><a class="reference internal" href="../../../overview.html">Session management</a></li>
4748
<li class="toctree-l1"><a class="reference internal" href="../../../core_workflow.html">Asssay-based Sequence Learning</a></li>
4849
<li class="toctree-l1"><a class="reference internal" href="../../../poet_workflow.html">De Novo prediction &amp; generative models (PoET)</a></li>

apidocs/build/html/_modules/openprotein/api/embedding.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
4444
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
4545
<ul>
46+
<li class="toctree-l1"><a class="reference internal" href="../../../installation.html">Installation</a></li>
4647
<li class="toctree-l1"><a class="reference internal" href="../../../overview.html">Session management</a></li>
4748
<li class="toctree-l1"><a class="reference internal" href="../../../core_workflow.html">Asssay-based Sequence Learning</a></li>
4849
<li class="toctree-l1"><a class="reference internal" href="../../../poet_workflow.html">De Novo prediction &amp; generative models (PoET)</a></li>

0 commit comments

Comments
 (0)