渗透数据S3驱动程序实现
osmosis-aws-driver的Python项目详细描述
渗透AWS驱动程序
? Osmosis Data S3 Driver Implementation oceanprotocol.com
目录
快速启动
应用程序使用boto3库与aws api交互,因此需要配置系统,以便boto3可以 按https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html中所述登录。 目前,数据插件只有第一个实现,但将来会是一个实例 对于计算插件也是如此。
BOTO3用于管理凭据。因此,不需要在配置字典中指定配置选项。
boto3将从系统(see the boto documentation)加载凭据。
代码样式
关于python中代码样式的信息记录在这两个链接中python-developer-guide 以及python-style-guide。
测试
通过travis设置自动测试,执行tox
。
我们的测试使用pytest框架。
新版本
bumpversion.sh
脚本有助于提高项目版本。可以使用第一个参数{major minor patch}来执行脚本,从而相应地提升版本。
许可证
Copyright 2018 Ocean Protocol Foundation 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.