{"id":13792668,"url":"https://github.com/tarantool/tarantool-python","last_synced_at":"2025-10-20T04:25:48.580Z","repository":{"id":1983725,"uuid":"2915576","full_name":"tarantool/tarantool-python","owner":"tarantool","description":"Python client library for Tarantool","archived":false,"fork":false,"pushed_at":"2025-04-10T10:37:52.000Z","size":1110,"stargazers_count":104,"open_issues_count":21,"forks_count":46,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-05-12T11:23:38.849Z","etag":null,"topics":["connector","python","python3","synchronous","tarantool"],"latest_commit_sha":null,"homepage":"https://www.tarantool.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-12-05T09:50:01.000Z","updated_at":"2025-05-06T22:49:56.000Z","dependencies_parsed_at":"2024-11-23T05:01:49.617Z","dependency_job_id":"f499a792-9ff5-49df-99b6-63bd7eb9b437","html_url":"https://github.com/tarantool/tarantool-python","commit_stats":{"total_commits":441,"total_committers":43,"mean_commits":"10.255813953488373","dds":0.7165532879818595,"last_synced_commit":"5abae5d898cd3e3a32ea26d124e53f23bdde85c4"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/tarantool-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436949,"owners_count":22070947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["connector","python","python3","synchronous","tarantool"],"created_at":"2024-08-03T22:01:14.890Z","updated_at":"2025-10-20T04:25:43.550Z","avatar_url":"https://github.com/tarantool.png","language":"Python","funding_links":[],"categories":["Connectors","Python"],"sub_categories":["Administration"],"readme":"Python driver for Tarantool\n===========================\n\n.. image:: https://github.com/tarantool/tarantool-python/actions/workflows/testing.yml/badge.svg?branch=master\n    :target: https://github.com/tarantool/tarantool-python/actions/workflows/testing.yml\n.. image:: https://github.com/tarantool/tarantool-python/actions/workflows/packing.yml/badge.svg?branch=master\n    :target: https://github.com/tarantool/tarantool-python/actions/workflows/packing.yml\n\nThis package is a pure-python client library for `Tarantool`_.\n\n`Documentation`_  |  `Downloads`_  |  `PyPI`_  |  `GitHub`_  | `Issue tracker`_\n\n.. _`Documentation`: http://tarantool-python.readthedocs.org/en/latest/\n.. _`Downloads`: http://pypi.python.org/pypi/tarantool#downloads\n.. _`PyPI`: http://pypi.python.org/pypi/tarantool\n.. _`GitHub`: https://github.com/tarantool/tarantool-python\n.. _`Issue tracker`: https://github.com/tarantool/tarantool-python/issues\n\nDownload and install\n--------------------\n\nWith pip (recommended)\n^^^^^^^^^^^^^^^^^^^^^^\n\nThe recommended way to install the ``tarantool`` package is using ``pip``.\n\n.. code-block:: bash\n\n     $ pip3 install tarantool\n\nWith dnf\n^^^^^^^^\n\nYou can install ``python3-tarantool`` RPM package if you use Fedora (34, 35, 36).\n\nAdd the repository\n\n.. code-block:: bash\n\n     $ curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash\n\nand then install the package\n\n.. code-block:: bash\n\n     $ dnf install -y python3-tarantool\n\nWith apt\n^^^^^^^^\n\nYou can install ``python3-tarantool`` deb package if you use\nDebian (10, 11) or Ubuntu (20.04, 22.04).\n\nAdd the repository\n\n.. code-block:: bash\n\n     $ curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash\n\nand then install the package\n\n.. code-block:: bash\n\n     $ apt install -y python3-tarantool\n\nZIP archive\n^^^^^^^^^^^\n\nYou can also download zip archive, unpack it and run:\n\n.. code-block:: bash\n\n    $ make install\n\nDevelopment version\n^^^^^^^^^^^^^^^^^^^\n\nYou can also install the development version of the package using ``pip``.\n\n.. code-block:: bash\n\n    $ pip3 install git+https://github.com/tarantool/tarantool-python.git@master\n\n--------------------------------------------------------------------------------\n\nWhat is Tarantool?\n------------------\n\n`Tarantool`_ is an in-memory computing platform originally designed by\n`VK`_ and released under the terms of `BSD license`_.\n\nFeatures\n--------\n\n* ANSI SQL, including views, joins, referential and check constraints\n* Lua packages for non-blocking I/O, fibers, and HTTP\n* MessagePack data format and MessagePack-based client-server protocol\n* Two data engines:\n\n  * memtx – in-memory storage engine with optional persistence\n  * vinyl – on-disk storage engine to use with larger data sets\n\n* Secondary key and index iterator support (can be non-unique and composite)\n* Multiple index types: HASH, BITSET, TREE, RTREE\n* Asynchronous master-master replication\n* Authentication and access control\n\nSee More\n^^^^^^^^\n\n* `Tarantool homepage`_\n* `Tarantool on GitHub`_\n* `Tarantool documentation`_\n* `Client-server protocol specification`_\n\nNOTE\n^^^^\n\nThis driver is synchronous, so connection mustn't be shared between threads/processes.\n\nIf you're looking for an asynchronous Python driver based on ``asyncio``,\nconsider using `asynctnt`_ . See also the `feature comparison table`_.\n\nRun tests\n^^^^^^^^^\n\nOn Linux:\n\n.. code-block:: bash\n\n   $ make test\n\nOn Windows:\n\n* Setup a Linux machine with Tarantool installed.\n  This machine will be referred to as ``remote`` in this instruction.\n* (On ``remote``) Copy ``test/suites/lib/tarantool_python_ci.lua`` to\n  ``/etc/tarantool/instances.available``.\n* (On ``remote``) Run ``tarantoolctl start tarantool_python_ci``.\n* Set the following environment variables:\n  * ``REMOTE_TARANTOOL_HOST=...``,\n  * ``REMOTE_TARANTOOL_CONSOLE_PORT=3302``.\n* Run ``make test``.\n\nBuild docs\n^^^^^^^^^^\n\nTo build documentation, first you must install its build requirements:\n\n.. code-block:: bash\n\n    $ pip3 install -r docs/requirements.txt\n\nThen run\n\n.. code-block:: bash\n\n    $ make docs\n\nYou may host local documentation server with\n\n.. code-block:: bash\n\n    $ python3 -m http.server --directory build/sphinx/html\n\nOpen ``localhost:8000`` in your browser to read the docs.\n\n.. _`Tarantool`:\n.. _`Tarantool Database`:\n.. _`Tarantool homepage`: https://tarantool.io\n.. _`Tarantool on GitHub`: https://github.com/tarantool/tarantool\n.. _`Tarantool documentation`: https://www.tarantool.io/en/doc/latest/\n.. _`VK`: https://vk.company\n.. _`Client-server protocol specification`: https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/\n.. _`BSD`:\n.. _`BSD license`:\n.. _`BSD-2-Clause`: https://opensource.org/licenses/BSD-2-Clause\n.. _`asynctnt`: https://github.com/igorcoding/asynctnt\n.. _`feature comparison table`: https://www.tarantool.io/en/doc/latest/book/connectors/#python-feature-comparison\n\nLicense\n^^^^^^^\n\nBSD-2-Clause. See the ``LICENSE`` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Ftarantool-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Ftarantool-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Ftarantool-python/lists"}