Skip to main content

Python client library for Tarantool 1.6 Database

Project description

This package is a pure-python client library for Tarantool.

Documentation | Downloads | PyPI | GitHub | Issue tracker

Download and Install

You can also download zip archive, unpack it and run

$ python install

To install development version of the package using pip

For Tarantool version < 1.6.0 you must get stable branch:

$ pip install git+

For later Tarantool use master branch:

$ pip install git+

What is Tarantool?

Tarantool is a NoSQL database running inside a Lua program. It combines the network programming power of Node.JS with data persistency capabilities of Redis. It’s open source, BSD-2-Clause licensed.


  • ANSI SQL, including views, joins, referential and check constraints

  • Lua packages for non-blocking I/O, fibers and HTTP

  • MsgPack data format and MsgPack based client-server protocol

  • Two data engines:

    • memtx - the in-memory storage engine with optional persistence

    • vinyl - the on-disk storage engine to use with large data sets

  • secondary key and index iterators support (can be non-unique and composite)

  • multiple index types: HASH, BITSET, TREE, RTREE

  • asynchronous master-master replication

  • authentication and access control

See More


This driver is synchronous, so connection mustn’t be shared between threads/processes.

Look at asynctnt for asynchronous Python driver based on asyncio. See also the feature comparison table.

Run tests

On Linux:

$ python test

On Windows:

  • Setup a Linux machine with installed tarantool (called remote later).

  • (on remote) Copy test/suites/lib/tarantool_python_ci.lua to /etc/tarantool/instances.available.

  • (on remote) Run tarantoolctl start tarantool_python_ci.

  • Set the following environment variables: * REMOTE_TARANTOOL_HOST=..., * REMOTE_TARANTOOL_CONSOLE_PORT=3302.

  • Run python test.


BSD-2-Clause. See the LICENSE file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tarantool-0.9.0.tar.gz (34.9 kB view hashes)

Uploaded source

Built Distribution

tarantool-0.9.0-py3-none-any.whl (41.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page