From ba7e8213d744b871b238661dc3dc4811e51a716d Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Mon, 4 Sep 2023 17:34:34 +0300 Subject: [PATCH 1/4] connectors: remove queue-python tarantool/queue-python [1] last commit was in 2016. Module does not support Tarantool 1.6+. 1. https://github.com/tarantool/queue-python --- doc/book/connectors/python.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/book/connectors/python.rst b/doc/book/connectors/python.rst index 664e59d980..2008584a05 100644 --- a/doc/book/connectors/python.rst +++ b/doc/book/connectors/python.rst @@ -36,9 +36,6 @@ all went well. If the tuple already exists, the program will throw The example program only shows one request and does not show all that's necessary for good practice. For that, please see `tarantool-python `__ project at GitHub. -For an example of using Python API with -`queue managers for Tarantool `__, see -`queue-python `__ project at GitHub. Also there are several community-driven Python connectors: From eba18e227a4d27ad8bc73737541d2fc930376d9e Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Mon, 4 Sep 2023 17:37:06 +0300 Subject: [PATCH 2/4] connectors: update aiotarantool status shveenkov/aiotarantool last commit was in 2019. 1. https://github.com/shveenkov/aiotarantool --- doc/book/connectors/python.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/book/connectors/python.rst b/doc/book/connectors/python.rst index 2008584a05..99727822b0 100644 --- a/doc/book/connectors/python.rst +++ b/doc/book/connectors/python.rst @@ -40,7 +40,7 @@ necessary for good practice. For that, please see Also there are several community-driven Python connectors: * `asynctnt `__ with asyncio support -* `aiotarantool `__ also with asyncio support +* `aiotarantool `__ also with asyncio support, **no active maintenance** * `gtarantool `__ with gevent support, **no active maintenance** The table below contains a feature comparison for asynctnt, gtarantool and From 403f6a7574ef98b8dc78c0b7a0f44115e0243a12 Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Mon, 4 Sep 2023 17:42:36 +0300 Subject: [PATCH 3/4] connectors: remove gtarantool from comparison shveenkov/gtarantool [1] last commit was in 2016. It is useless for modern Tarantool users. 1. https://github.com/shveenkov/gtarantool --- doc/book/connectors/python.rst | 40 ++-------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/doc/book/connectors/python.rst b/doc/book/connectors/python.rst index 99727822b0..53c8cf1c61 100644 --- a/doc/book/connectors/python.rst +++ b/doc/book/connectors/python.rst @@ -43,8 +43,8 @@ Also there are several community-driven Python connectors: * `aiotarantool `__ also with asyncio support, **no active maintenance** * `gtarantool `__ with gevent support, **no active maintenance** -The table below contains a feature comparison for asynctnt, gtarantool and -tarantool-python. aiotarantool is absent there because it is quite outdated and +The table below contains a feature comparison for asynctnt and +tarantool-python. aiotarantool and gtarantool are absent there because they are quite outdated and unmaintained. .. _python-feature-comparison: @@ -60,170 +60,134 @@ Last update: November 2022 * - Parameter - `igorcoding/asynctnt `__ - - `shveenkov/gtarantool `__ - `tarantool/tarantool-python `__ * - License - Apache License 2.0 - - LGPL - BSD-2 * - Is maintained - Yes - - No (last updated in 2016) - Yes * - Known Issues - None - None - - None * - Documentation - Yes (`github.io `__) - - No - Yes (`readthedocs `__ and :ref:`tarantool.io `) * - Testing / CI / CD - GitHub Actions - - No (tests exist) - GitHub Actions * - GitHub Stars - 68 - - 17 - 85 * - Static Analysis - Yes (Flake8) - No - - No * - Packaging - `pip `__ - - `pip `__ - `pip, deb, rpm `__ * - Code coverage - Yes - - No - Yes * - Support asynchronous mode - Yes, `asyncio `__ - - Yes (`gevent - `__, - example: `test_gevent.py - `__) - No * - Batching support - - No - No - No (`issue #55 `__) * - Schema reload - Yes (automatically, see `auto_refetch_schema `__) - Yes (automatically) - - Yes (automatically) * - Space / index names - Yes - Yes - - Yes * - Access tuple fields by names - Yes - No - - No * - :ref:`SQL support ` - Yes - - No - Yes * - :ref:`Interactive transactions ` - Yes - - No - No (`issue #163 `__) * - :ref:`Varbinary support ` - Yes (in ``MP_BIN`` fields) - - No - Yes * - :ref:`Decimal support ` - Yes - - No - Yes * - :ref:`UUID support ` - Yes - - No - Yes * - :ref:`EXT_ERROR support ` - Yes - - No - Yes * - :ref:`Datetime support ` - Yes - - No - Yes * - :ref:`Interval support ` - No (`issue #30 `__) - - No - Yes * - :ref:`box.session.push() responses ` - Yes - - No - Yes * - :ref:`Session settings ` - No - No - - No * - `Graceful shutdown `__ - No - No - - No * - `IPROTO_ID (feature discovery) `__ - Yes - - No - Yes * - `CRUD support `__ - - No - No - No (`issue #205 `__) * - Transparent request retrying - No - No - - No * - Transparent reconnecting - Autoreconnect - - Yes (reconnect_max_attempts, reconnect_delay) - Yes (reconnect_max_attempts, reconnect_delay), checking of connection liveness * - Connection pool - - No - No - Yes (with master discovery) * - Support of `PEP 249 -- Python Database API Specification v2.0 `__ - - No - No - `Yes `__ * - `Encrypted connection (Tarantool Enterprise) `__ - No (`issue #22 `__) - - No - Yes From 56a2039c1890ad867554cd7c7c4500252ed6f1d0 Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Mon, 4 Sep 2023 17:51:04 +0300 Subject: [PATCH 4/4] connectors: update comparison table tarantool-python static analysis was introduced in [1], CRUD API was introduced in [2]. 1. https://github.com/tarantool/tarantool-python/pull/289 2. https://github.com/tarantool/tarantool-python/pull/264 --- doc/book/connectors/python.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/book/connectors/python.rst b/doc/book/connectors/python.rst index 53c8cf1c61..35f87f903f 100644 --- a/doc/book/connectors/python.rst +++ b/doc/book/connectors/python.rst @@ -52,7 +52,7 @@ unmaintained. Feature comparison ------------------ -Last update: November 2022 +Last update: September 2023 .. list-table:: :header-rows: 1 @@ -85,12 +85,12 @@ Last update: November 2022 - GitHub Actions * - GitHub Stars - - 68 - - 85 + - 73 + - 92 * - Static Analysis - Yes (Flake8) - - No + - Yes (Flake8, Pylint) * - Packaging - `pip `__ @@ -106,7 +106,7 @@ Last update: November 2022 * - Batching support - No - - No (`issue #55 `__) + - Yes (with CRUD API) * - Schema reload - Yes (automatically, see `auto_refetch_schema `__) @@ -170,7 +170,7 @@ Last update: November 2022 * - `CRUD support `__ - No - - No (`issue #205 `__) + - Yes * - Transparent request retrying - No