Skip to main content

Python client for LF View API

Project description


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-api-client?

This library is used to login to and interact with the LF View API in a Python environment. It simplifies uploading and downloading API resource types, including


You may install this library using pip with

pip install lfview-api-client

or from Github

git clone
cd lfview-api-client
pip install -e .


After installing, you may build LF View spatial resources in Python

from lfview.resources import files, spatial

point_set = spatial.ElementPointSet(
    name='Example PointSet Element',
        [0., 0, 0],
        [1, 1, 1],
        [2, 2, 2],
            name='Example PointSet Attribute',
            array=files.Array([-10., 0, 10]),

Then, with your resources, create a View

from lfview.resources import manifests

view = manifests.View(
    name='Example View',

Next, sign up on LF View if you do not yet have an account. Once you have signed up, generate an API key. With your API key, login and upload your View.

from lfview.client import Session

session = Session('your-api-key')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lfview-api-client, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size lfview_api_client-0.1.0-py3-none-any.whl (19.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lfview-api-client-0.1.0.tar.gz (17.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page