用于omxware rest服务访问数据和文件的python包装器。
omxware的Python项目详细描述
web服务
https://omxware.sl.cloud9.ibm.com:9420/swagger
sdk文档:
https://pages.github.ibm.com/GrandChallenge-Almaden/omxware-pypi/
入门
https://pages.github.ibm.com/GrandChallenge-Almaden/omxware-pypi/build/html/usage.html
help/论坛
http://omx-forums.sl.cloud9.ibm.com
与Docker一起使用
为了让用户和开发人员更容易开始使用omxware,我们有一个预安装了python和omxware的两个基本docker映像。它还附带了一些python库,如matplotlib、numpy以及其他一些库。
1) Minimal: ^{tt5}$
docker run -it --rm --name omxware -v "$(pwd):/opt/my_work" c0mpiler/alpine-omxware-base:latest ash
- This is a relatively small docker image with just the required packages / libraries installed and setup.
- Change the mount point to whatever you want on you host machine.
- You may use this image as a base to build other docker containers / applications. Refer to: https://github.com/c0mpiler/alpine-omxware-base/blob/master/Dockerfile for specifics.
2) JupyterLab: ^{tt6}$
docker run -d --name jupyter --restart always -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes \ -v /mnt/storage/jupyter:/home/jovyan/work c0mpiler/jupyter start.sh jupyter lab --LabApp.token=‘omxware’
- This image has JupyterLab pre-installed and setup with some example OMXWare Jupyter notebooks.
- Change the mount point ^{tt7}$ to whatever you want on you host machine – so you can share files from your host with this docker image.
- This image also has some example Jupyter notebooks for you to look at and get started.
- Once you run the docker image – you can open up ^{tt8}$ in your browser and the pwd is ^{tt9}$.
- The host-name is that of your host machine you run this docker image on. If you are running it on your laptop, the host-name is either ^{tt10}$ or ^{tt11}$