File tree Expand file tree Collapse file tree 7 files changed +21
-11
lines changed
Expand file tree Collapse file tree 7 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : actions/checkout@v1
1414
15+ - name : Install Pandoc
16+ run : |
17+ sudo apt-get update
18+ sudo apt-get install -y pandoc
19+
1520 - name : Set up Python
1621 uses : actions/setup-python@v2
1722 with :
@@ -20,13 +25,13 @@ jobs:
2025 - name : Install Sphinx
2126 run : |
2227 python -m pip install --upgrade pip
23- pip install sphinx recommonmark sphinx_markdown_tables sphinx_markdown_builder nbsphinx sphinx-rtd-theme pandoc
28+ pip install sphinx recommonmark sphinx_markdown_tables sphinx_markdown_builder nbsphinx sphinx-rtd-theme pandas requests tqdm pydantic
2429
2530 - name : Build HTML with Sphinx
2631 run : |
2732 cd apidocs
2833 make html
29-
34+
3035 - name : Get bucket name
3136 shell : bash
3237 run : |
6570 AWS_S3_BUCKET : ${{ steps.bucket_name.outputs.bucket }}
6671 shell : bash
6772 run : |
68- aws s3 sync apidocs/_build /html s3://${AWS_S3_BUCKET}/apidocs/
73+ aws s3 sync apidocs/build /html s3://${AWS_S3_BUCKET}/apidocs/
6974
7075 - name : Invalidate CloudFront cache
7176 env :
Original file line number Diff line number Diff line change 11[ ![ PyPI version] ( https://badge.fury.io/py/openprotein-python.svg )] ( https://pypi.org/project/openprotein-python/ )
2- [ ![ Coverage] ( ./apidocs/source /coverage.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/ )
33
44# openprotein-python
55Python interface for the OpenProtein.AI REST API.
@@ -9,7 +9,7 @@ Python interface for the OpenProtein.AI REST API.
99You can install with pip:
1010
1111```
12- pip install openprotein
12+ pip install openprotein-python
1313```
1414## Getting started
1515
Original file line number Diff line number Diff line change 88
99import os
1010import sys
11- sys .path .insert (0 , os .path .abspath ('../..' ))
11+ sys .path .insert (0 , os .path .abspath ('../../' ))
12+ print ("HERE" , sys .path )
1213
1314
1415project = 'OpenProtein-Python'
Original file line number Diff line number Diff line change 11try :
22 from importlib .metadata import version
3- except ImportError :
4- from importlib_metadata import version # py 3.7
3+ except ModuleNotFoundError :
4+ from importlib_metadata import version # py37
5+
6+ try :
7+ __version__ = version ("openprotein-python" )
8+ except :
9+ __version__ = "None"
510
6- __version__ = version ("openprotein-python" )
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " openprotein_python"
33packages = [{include = " openprotein" }]
4- version = " 0.1.1b11 "
4+ version = " 0.1.1b17 "
55description = " OpenProtein Python interface."
66license = " MIT"
77readme = " README.md"
You can’t perform that action at this time.
0 commit comments