Skip to main content

Python interface for the frames.ai database.

Project description

pyframes

Python package for interfacing with the frames.ai database.

Create an account at spothole.sensorit.io to get started.

Install

pip3 install pyframes

Examples

  1. Sign in to your account here.
  2. Get your JWT here.
import pyframes
fm = pyframes.FramesManager()

# replace with your acquired JWT 
fm.set_jwt("<JWT>")

# find some record ids in Cape Town
ids = fm.search(lat=-33.918861, lon=18.423300, radius=1000)
print(ids)

# print some info about the record
record = fm.get_record(ids[0])
print(record.id, record.uint32_t_created)

Project details


Download files

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

Source Distribution

pyframes-0.0.20.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pyframes-0.0.20-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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