海洋/鱿鱼皮。
starfish-p的Python项目详细描述
海星py
目录
- About
- Features
- Prerequisites
- Quickstart
- Environment variables
- Testing
- New Version
- Mailing Lists
- Maintainers
- License
关于
海星是一个开源的数据经济开发工具包。它具有java、python和clojure的风格,允许开发人员、数据科学家和企业通过标准化和简单易用的api创建、交互、集成和管理数据供应线。
基于底层数据生态系统标准,海星为数据经济中的常见任务提供了高级api,例如,注册/发布资产,以便在数据供应线中后续使用。在这种情况下,资产可以是任何数据集、模型或数据服务。高级api还允许开发人员调用对资产的操作,例如计算预测模型或匿名化敏感个人信息等功能。
海星通过BooStand网络工作,如海洋协议,以及通过代理的通用Web服务,允许在资产发现和数据供应线管理方面具有前所未有的灵活性。
starfish py提供用户访问和工具来处理海洋协议网络,通过python库squid py委派某些功能。
当我们努力以高质量传递代码时,请注意,仍然存在需要彻底测试的库的某些部分。 无论是以新特性、更好的文档还是测试的形式做出贡献,都是受欢迎的。先决条件
python 3.6版
开发
克隆此回购协议
clone https://github.com/DEX-Company/starfish-py.git cd starfish-py
设置虚拟环境
virtualenv venv source venv/bin/activate
安装海星的软件包要求
pip install -r requirements_dev.txt
运行单元测试,而不使用任何Starfish以外的支持软件/库
pytest tests/unit
使用当前远程实现barge运行完整测试。
git clone https://github.com/DEX-Company/barge.git cd barge git checkout tags/dex-2019-08-13 ./start_ocean.sh --no-brizo --no-pleuston --local-spree-node
或者在本地运行barge,使用上面的相同方法,但使用脚本。
exportBARGE_URL=http://localhost scripts/setup_for_local_barge.sh
运行集成测试
pytest tests/integration
运行所有测试
pytest tests
文档
构建sphinx文档
要生成Syphinx Auto文档,您需要执行以下操作:
make docs
本回购协议的documentation。
测试
通过travis设置自动测试,执行tox
。
我们的测试使用pytest框架。测试使用远程驳船服务器来测试
新版本
bumpversion.sh
脚本有助于提高项目版本。可以使用第一个参数{major minor patch}来执行脚本,从而相应地提升版本。
邮件列表
- [developer@dex.sg][海星qa]——关于海星使用的一般问题。
维护人员
[开发人员dex团队][developer@dex.sg]
许可证
Copyright 2018 Ocean Protocol Foundation Ltd.
Copyright 2018-2019 DEX Pte. Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.