跳转到主要内容

LF View文件资源的定义和文档

项目描述

https://img.shields.io/pypi/v/lfview-resources-files.svg https://readthedocs.org/projects/lfview-resources-files/badge/ https://travis-ci.cn/seequent/lfview-resources-files.svg?branch=master https://codecov.io/gh/seequent/lfview-resources-files/branch/master/graph/badge.svg https://img.shields.io/badge/license-MIT-blue.svg

lfview-resources-files是什么?

此库定义了LF View API中的基本文件资源,例如图像和数组。

范围

此库仅包含文件资源的声明性定义。它基于提供类型检查、验证、文档和序列化。很可能,这些文件资源将与LF View API Python客户端一起使用。

安装

您可以使用pip安装此库

pip install lfview-resources-files

或从Github

git clone https://github.com/seequent/lfview-resources-files.git
cd lfview-resources-files
pip install -e .

您还可以使用以下方式安装LF View API Python客户端

pip install lfview-api-client

安装后,您可以使用以下方式访问这些资源

from lfview.resources import files

arr = files.Array([1., 2., 3., 4., 5.])
img = files.Image('photo.png')

支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面