Skip to content

Commit e00bae2

Browse files
committed
Driver/Python: Add cross-links to examples and badges
1 parent 4377df1 commit e00bae2

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/connect/python.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ with conn:
3131
print(result)
3232
```
3333

34+
- [Connect to CrateDB using Python DB API]   [![Python DB API](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-dbapi.yml/badge.svg)](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-dbapi.yml)
35+
3436
(sqlalchemy-cratedb)=
3537
### sqlalchemy-cratedb
3638

@@ -60,7 +62,7 @@ frameworks, are using SQLAlchemy as database adapter library when connecting to
6062

6163
- [The CrateDB SQLAlchemy Dialect]
6264
- [Working with SQLAlchemy and CrateDB]
63-
- [SQLAlchemy Code Examples]
65+
- [SQLAlchemy Code Examples]   [![SQLAlchemy](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-sqlalchemy.yml/badge.svg)](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-sqlalchemy.yml)
6466

6567

6668
(python-drivers-more)=
@@ -94,6 +96,9 @@ import polars as pl
9496
print(pl.from_arrow(table))
9597
```
9698

99+
[![Test conecta-core](https://github.com/surister/conecta/actions/workflows/test_core.yml/badge.svg)](https://github.com/surister/conecta/actions/workflows/test_core.yml)
100+
[![Test conecta-python](https://github.com/surister/conecta/actions/workflows/test_python.yml/badge.svg)](https://github.com/surister/conecta/actions/workflows/test_python.yml)
101+
97102
(cratedb-async)=
98103

99104
### cratedb-async
@@ -140,6 +145,8 @@ response = crate.execute(
140145
print(response)
141146
```
142147

148+
[![Tests](https://github.com/crate/micropython-cratedb/actions/workflows/tests.yml/badge.svg)](https://github.com/crate/micropython-cratedb/actions/workflows/tests.yml)
149+
143150
(python-drivers-community)=
144151
## Community drivers
145152

@@ -261,21 +268,21 @@ cx.read_sql(
261268
)
262269
```
263270

264-
- [Connect to CrateDB using ConnectorX]
271+
- [Connect to CrateDB using ConnectorX]   [![Python ConnectorX](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-connectorx.yml/badge.svg)](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-connectorx.yml)
265272

266273
(turbodbc)=
267274
### turbodbc
268275

269276
[Turbodbc] is a Python module to access relational databases via the Open
270277
Database Connectivity (ODBC) interface. Its primary target audience are
271-
data scientist that use databases for which no efficient native Python
278+
data scientists that use databases for which no efficient native Python
272279
drivers are available.
273280

274281
For maximum performance, turbodbc offers built-in NumPy and Apache Arrow
275-
support and internally relies on batched data transfer instead of single-
276-
record communication as other popular ODBC modules do.
282+
support and internally relies on batched data transfer instead of
283+
single-record communication as other popular ODBC modules do.
277284

278-
- [Using CrateDB with turbodbc]
285+
- [Using CrateDB with turbodbc]   [![Python turbodbc](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-turbodbc.yml/badge.svg)](https://github.com/crate/cratedb-examples/actions/workflows/lang-python-turbodbc.yml)
279286

280287

281288
(python-dataframe)=
@@ -300,7 +307,7 @@ How to use CrateDB together with popular open-source dataframe libraries.
300307
:class-card: sd-pt-3
301308
:class-body: sd-fs-1
302309
:class-title: sd-fs-6
303-
![](https://github.com/crate/crate-clients-tools/assets/453543/99bd2234-c501-479b-ade7-bcc2bfc1f288){height=40px}
310+
![Dask logo](https://github.com/crate/crate-clients-tools/assets/453543/99bd2234-c501-479b-ade7-bcc2bfc1f288){height=40px}
304311
::::
305312

306313
::::{grid-item-card} pandas
@@ -340,6 +347,7 @@ How to use CrateDB together with popular open-source dataframe libraries.
340347
[turbodbc]: https://turbodbc.readthedocs.io/
341348

342349
[Connect to CrateDB using ConnectorX]: https://github.com/crate/cratedb-examples/tree/main/by-language/python-connectorx
350+
[Connect to CrateDB using Python DB API]: https://github.com/crate/cratedb-examples/tree/main/by-language/python-dbapi
343351
[RDBMS]: https://en.wikipedia.org/wiki/RDBMS
344352
[SQLAlchemy]: https://www.sqlalchemy.org/
345353
[SQLAlchemy Code Examples]: https://github.com/crate/cratedb-examples/tree/main/by-language/python-sqlalchemy

0 commit comments

Comments
 (0)