Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. image:: https://github.com/tarantool/tarantool-python/actions/workflows/testing.yml/badge.svg?branch=master :target: https://github.com/tarantool/tarantool-python/actions/workflows/testing.yml .. image:: https://github.com/tarantool/tarantool-python/actions/workflows/packing.yml/badge.svg?branch=master :target: https://github.com/tarantool/tarantool-python/actions/workflows/packing.yml
This package is a pure-python client library for Tarantool
_.
Documentation
_ | Downloads
_ | PyPI
_ | GitHub
_ | Issue tracker
_
.. _Documentation
: http://tarantool-python.readthedocs.org/en/latest/
.. _Downloads
: http://pypi.python.org/pypi/tarantool#downloads
.. _PyPI
: http://pypi.python.org/pypi/tarantool
.. _GitHub
: https://github.com/tarantool/tarantool-python
.. _Issue tracker
: https://github.com/tarantool/tarantool-python/issues
With pip (recommended) ^^^^^^^^^^^^^^^^^^^^^^
The recommended way to install the tarantool
package is using pip
.
.. code-block:: bash
$ pip3 install tarantool
With dnf ^^^^^^^^
You can install python3-tarantool
RPM package if you use Fedora (34, 35, 36).
Add the repository
.. code-block:: bash
$ curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash
and then install the package
.. code-block:: bash
$ dnf install -y python3-tarantool
With apt ^^^^^^^^
You can install python3-tarantool
deb package if you use
Debian (10, 11) or Ubuntu (20.04, 22.04).
Add the repository
.. code-block:: bash
$ curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash
and then install the package
.. code-block:: bash
$ apt install -y python3-tarantool
ZIP archive ^^^^^^^^^^^
You can also download zip archive, unpack it and run:
.. code-block:: bash
$ make install
Development version ^^^^^^^^^^^^^^^^^^^
You can also install the development version of the package using pip
.
.. code-block:: bash
$ pip3 install git+https://github.com/tarantool/tarantool-python.git@master
Tarantool
_ is an in-memory computing platform originally designed by
VK
_ and released under the terms of BSD license
_.
ANSI SQL, including views, joins, referential and check constraints
Lua packages for non-blocking I/O, fibers, and HTTP
MessagePack data format and MessagePack-based client-server protocol
Two data engines:
Secondary key and index iterator support (can be non-unique and composite)
Multiple index types: HASH, BITSET, TREE, RTREE
Asynchronous master-master replication
Authentication and access control
See More ^^^^^^^^
Tarantool homepage
_Tarantool on GitHub
_Tarantool documentation
_Client-server protocol specification
_NOTE ^^^^
This driver is synchronous, so connection mustn't be shared between threads/processes.
If you're looking for an asynchronous Python driver based on asyncio
,
consider using asynctnt
_ . See also the feature comparison table
_.
Run tests ^^^^^^^^^
On Linux:
.. code-block:: bash
$ make test
On Windows:
remote
in this instruction.remote
) Copy test/suites/lib/tarantool_python_ci.lua
to
/etc/tarantool/instances.available
.remote
) Run tarantoolctl start tarantool_python_ci
.REMOTE_TARANTOOL_HOST=...
,REMOTE_TARANTOOL_CONSOLE_PORT=3302
.make test
.Build docs ^^^^^^^^^^
To build documentation, first you must install its build requirements:
.. code-block:: bash
$ pip3 install -r docs/requirements.txt
Then run
.. code-block:: bash
$ make docs
You may host local documentation server with
.. code-block:: bash
$ python3 -m http.server --directory build/sphinx/html
Open localhost:8000
in your browser to read the docs.
.. _Tarantool
:
.. _Tarantool Database
:
.. _Tarantool homepage
: https://tarantool.io
.. _Tarantool on GitHub
: https://github.com/tarantool/tarantool
.. _Tarantool documentation
: https://www.tarantool.io/en/doc/latest/
.. _VK
: https://vk.company
.. _Client-server protocol specification
: https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/
.. _BSD
:
.. _BSD license
:
.. _BSD-2-Clause
: https://opensource.org/licenses/BSD-2-Clause
.. _asynctnt
: https://github.com/igorcoding/asynctnt
.. _feature comparison table
: https://www.tarantool.io/en/doc/latest/book/connectors/#python-feature-comparison
License ^^^^^^^
BSD-2-Clause. See the LICENSE
file.
FAQs
Python client library for Tarantool
We found that tarantool demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.