Registry / http-networking / spotlite

spotlite

JSON →
library0.10.0pypypi✓ verified 79d ago

Spotlite is a Python client library for interacting with Satellogic APIs, simplifying authentication, data catalog queries, and order management. Version 0.10.0 requires Python >= 3.11.5 and is under active development.

pip install spotlite
INSTALL
IMPORT
SIG · SPOTLITE
S
spotlite
http-networkingpythonv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Spotlite
from spotlite import Spotlite
from spotlite import SatellogicClient
MonitorAgent
from spotlite import MonitorAgent
Searcher
from spotlite import Searcher

Authenticate with Satellogic credentials and fetch the catalog.

from spotlite import SatellogicClient import os client = SatellogicClient( username=os.environ.get('SATLOGIC_USER', ''), password=os.environ.get('SATLOGIC_PASS', '') ) catalog = client.catalog() print(catalog)
Debug
Known issues
breakingIn version 0.10.0, the 'orders' endpoint was restructured; order creation now requires explicit payload fields. Old code that passed dictionaries directly will break.
fix
Update order creation to use the new payload structure as documented in the official docs.
affects: >=0.10.0
deprecatedThe `get_asset` method is deprecated in favor of `get_asset_details`. Using the old method will produce a warning.
fix
Replace `client.get_asset(id)` with `client.get_asset_details(id)`.
affects: >=0.9.0
gotchaAuthentication tokens expire after 24 hours. The client does not auto-refresh; you must re-authenticate.
fix
Wrap long-running sessions in a try-except for AuthError and re-login if needed.
affects: all
Upgrade
Version history
0.10.0latest on PyPI · released Mar 2, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
spotlite — pip install spotlite · libregistry