Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Definitions and documentation for LF View file resources

Project description

https://img.shields.io/pypi/v/lfview-resources-files.svg https://readthedocs.org/projects/lfview-resources-files/badge/ https://travis-ci.com/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

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')

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page