File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -56,20 +56,24 @@ The package can be installed using ``pip install sqlalchemy-cratedb``.
5656cratedb-async
5757-------------
5858
59- Asynchronous driver for CrateDB based on httpx .
59+ Asynchronous Python driver for CrateDB based on HTTPX _ .
6060See the full documentation at https://github.com/surister/cratedb-async.
6161The package can be installed using ``pip install cratedb-async ``.
6262
63+ .. _HTTPX : https://www.python-httpx.org/
64+
6365.. code-block :: python
6466
6567 import asyncio
6668 from cratedb_async.client import CrateClient
6769
6870 async def main ():
69- crate = CrateClient(" http ://localhost :4200" )
71+ crate = CrateClient(" https ://<name-of-your-cluster>.cratedb.net :4200" )
7072 response = await crate.query(" SELECT * FROM sys.summits" )
7173 print (response.as_table())
7274
75+ asyncio.run(main())
76+
7377 .. _psycopg2 :
7478
7579psycopg2
You can’t perform that action at this time.
0 commit comments