micropython-cratedb¶
A MicroPython library connecting to the CrateDB HTTP API.
Install
mpremote mip install github:crate/micropython-cratedb
Synopsis
import cratedb
crate = cratedb.CrateDB(
host="localhost",
port=4200,
user="crate",
password="crate",
use_ssl=False
)
response = crate.execute(
"SELECT * FROM sys.summits ORDER BY height DESC LIMIT 3"
)
print(response)
See also
Documentation
The full documentation for the CrateDB Driver for MicroPython.