File: README.rst

package info (click to toggle)
python-dirq 1.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 336 kB
  • sloc: python: 2,200; makefile: 166
file content (50 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
===========
python-dirq
===========

.. image:: https://github.com/cern-mig/python-dirq/actions/workflows/test.yml/badge.svg


Overview
========

The goal of this module is to offer a queue system using the underlying
filesystem for storage, security and to prevent race conditions via atomic
operations. It focuses on simplicity, robustness and scalability.

This module allows multiple concurrent readers and writers to interact with
the same queue. A Perl implementation of the same algorithm is available
at http://search.cpan.org/dist/Directory-Queue/ and a Java implementation at
https://github.com/cern-mig/java-dirq so readers and writers can be
written in different programming languages.

Install
=======

To install this module, run the following commands::

    python setup.py test
    python setup.py install

Usage
=====

For documentation and public interface::

    pydoc dirq.queue

or visit online documentation:

    http://dirq.readthedocs.org/

Examples
========

    examples/README

License and Copyright
=====================

Apache License, Version 2.0

Copyright (C) CERN 2011-2021