lf-view文件资源的定义和文档
lfview-resources-files的Python项目详细描述
警告
lf view api和所有相关的python客户机库位于 预发布。它们随时都可能改变,而且 不能保证向后兼容。
什么是lfview资源文件?
此库在 LF ViewAPI,如图像和数组
范围
这个库只包含文件资源的声明性定义。 它建立在properties上 提供类型检查、验证、文档和序列化。 很可能,这些文件资源将与 这个LF View API Python client。
安装
您可以使用 pip使用
pip install lfview-resources-files
或来自Github
git clone https://github.com/seequent/lfview-resources-files.git cd lfview-resources-files pip install -e .
您也可以使用
pip install lfview-api-client
安装后,您可以使用
fromlfview.resourcesimportfilesarr=files.Array([1.,2.,3.,4.,5.])img=files.Image('photo.png')