Python client for Atlas4D - Open 4D Spatiotemporal AI Platform
Project description
Atlas4D Python SDK
Python client for Atlas4D - Open 4D Spatiotemporal AI Platform.
Installation
pip install atlas4d
Quick Start
from atlas4d import Client
# Connect to Atlas4D
client = Client(host="localhost", port=8090)
# Check health
print(client.health())
# Get statistics
print(client.stats())
# Query observations
observations = client.observations.list(
lat=42.5,
lon=27.46,
radius_km=10,
hours=24,
limit=100
)
# Query anomalies
anomalies = client.anomalies.list(hours=24)
Context Manager
from atlas4d import Client
with Client() as client:
print(client.stats())
# Session automatically closed
Environment Variables
Configure connection via environment:
export ATLAS4D_HOST=192.168.1.100
export ATLAS4D_PORT=8090
from atlas4d import Client
# Uses ATLAS4D_HOST and ATLAS4D_PORT from environment
client = Client()
API Reference
Client
| Method | Description |
|---|---|
health() |
Check API health status |
stats() |
Get platform statistics |
close() |
Close the session |
client.observations
| Method | Description |
|---|---|
list(...) |
Query observations with filters |
geojson(...) |
Get observations as GeoJSON |
client.anomalies
| Method | Description |
|---|---|
list(...) |
Query anomalies with filters |
Links
- Homepage: https://atlas4d.tech
- GitHub: https://github.com/crisbez/atlas4d-base
- Documentation: https://github.com/crisbez/atlas4d-base/tree/main/sdk/python
- Issues: https://github.com/crisbez/atlas4d-base/issues
License
Apache 2.0 - see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atlas4d-0.1.0.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlas4d-0.1.0.tar.gz.
File metadata
- Download URL: atlas4d-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4055e38603d364e8bc03aa3057119d290875d6c56b45cf35ec3625c6d3f82ad1
|
|
| MD5 |
0a071d8ae5b632c02f2fe9f69eff5c40
|
|
| BLAKE2b-256 |
48217b83832f1d116e6b60fbf60c9c78bc1baa5e54c368773ce929cb756025fd
|
File details
Details for the file atlas4d-0.1.0-py3-none-any.whl.
File metadata
- Download URL: atlas4d-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bdbf775e2c4db7dece818ecebdc4fb99af095b9e2ec9f9877692261f064b627
|
|
| MD5 |
f3bbffddfe921d4a6f1f86e8903d1337
|
|
| BLAKE2b-256 |
22cac32de478dfb88ef55f20e8b29ca732c25e19f9eab8a788896a04d0dec9e3
|