Skip to main content

tarantool-queue-python

Python Bindings for Tarantool Queue.

Library depends on:

  • msgpack-python

  • tarantool

Basic usage can be found in tests. Description on every command is in source code.

Big thanks to Dmitriy Shveenkov and Alexandr (FZambia) Emelin.

For install of latest “stable” version type:

# using pip
$ sudo pip install tarantool-queue
# or using easy_install
$ sudo easy_install tarantool-queue
# or using python
$ wget http://bit.ly/tarantool_queue -O tarantool_queue.tar.gz
$ tar xzf tarantool_queue.tar.gz
$ cd tarantool-queue-{version}
$ sudo python setup.py install

For install bleeding edge type:

$ sudo pip install git+https://github.com/bigbes92/tarantool-queue-python.git

For configuring Queue in Tarantool read manual Here.

Then just import it, create Queue, create Tube, put and take some elements:

>>> from tarantool_queue import Queue
>>> queue = Queue("localhost", 33013, 0)
>>> tube = queue.tube("name_of_tube")
>>> tube.put([1, 2, 3])
Not taken task instance
>>> task = tube.take()
>>> task.data # take task and read data from it
[1, 2, 3]
>>> task.ack() # move this task into state DONE
True

That’s all, folks!

See Also

Metadata

Release files for tarantool-queue 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for tarantool-queue 0.1.4
File Size Uploaded Provenance
tarantool-queue-0.1.4.zip 14.4 kB Without provenance Details
tarantool-queue-0.1.4.tar.gz 8.7 kB Without provenance Details

Release files / tarantool-queue-0.1.4.zip

Download URL tarantool-queue-0.1.4.zip
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
eb28a05626613a7eab2c61eef6d4cbc123db0501cd6fe4cc03bb1e93be27c8d8
BLAKE2b-256 checksum
How to use checksums
dd6ef59b0a120f19c6806ed3ce958495a9ab72e6801f8e9ef064ad04f287a48a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tarantool-queue-0.1.4.tar.gz

Download URL tarantool-queue-0.1.4.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07583ba16857a55fb830a0a432dcdd8bec928256481344a709033c6b3c544641
BLAKE2b-256 checksum
How to use checksums
6bd0a0e5425eb5a834db272cb2280c85be2d621836a1b626045205381ea734bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tarantool-queue 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page