We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
micropython-cratedb
1 parent 9227a39 commit b5063f4Copy full SHA for b5063f4
docs/connect/python.md
@@ -86,6 +86,32 @@ async def main():
86
asyncio.run(main())
87
```
88
89
+(micropython-cratedb)=
90
+
91
+### micropython-cratedb
92
93
+A MicroPython library connecting to the CrateDB HTTP API.
94
+See the full documentation at <https://github.com/crate/micropython-cratedb>.
95
+The package can be installed using `mpremote mip install github:crate/micropython-cratedb`.
96
97
+```python
98
+import cratedb
99
100
+crate = cratedb.CrateDB(
101
+ host="localhost",
102
+ port=4200,
103
+ user="crate",
104
+ password="crate",
105
+ use_ssl=False
106
+)
107
108
+response = crate.execute(
109
+ "SELECT * FROM sys.summits ORDER BY height DESC LIMIT 3"
110
111
112
+print(response)
113
+```
114
115
(psycopg2)=
116
117
### psycopg2
0 commit comments