LFView Resources - Files¶
Warning
The LF View API and all associated Python client libraries are in pre-release. They are subject to change at any time, and backwards compatibility is not guaranteed.
What is lfview-resources-files?¶
This library defines fundamental file resources in the LF View API, such as images and arrays.
Scope¶
This library simply includes declarative definitions of file resources. It is built on properties to provide type-checking, validation, documentation, and serialization. Very likely, these file resources will be used in conjunction with the LF View API Python client.
Installation¶
You may install this library using pip with
pip install lfview-resources-files
or from Github
git clone https://github.com/seequent/lfview-resources-files.git
cd lfview-resources-files
pip install -e .
You may also just install the LF View API Python client with
pip install lfview-api-client
After installing, you may access these resources with
from lfview.resources import files
arr = files.Array([1., 2., 3., 4., 5.])
img = files.Image('photo.png')