This project provides AMQP bindings for LTP (Long Time Preservation) system used in Czech National Library.

The LTP is basically archive for digital documents for long time periods (hundred of years).

Access to this archive is restricted, so if you wish to use this module for yourself, you will need to negotiate access for yourself.

API relations graph


AMQP connection

AMQP communication is handled by the edeposit.amqp module, specifically by the edeposit_amqp_ltpd.py script. Bindings to this project are handled by reactToAMQPMessage().

Source code

This project is released as opensource (GPL) and source codes can be found at GitHub:


Module is hosted at PYPI, and can be easily installed using PIP:

sudo pip install edeposit.amqp.ltp


Almost every feature of the project is tested in unit/integration tests. You can run this tests using provided run_tests.sh script, which can be found in the root of the project.


This script expects that pytest is installed. In case you don’t have it yet, it can be easily installed using following command:

pip install --user pytest

or for all users:

sudo pip install pytest

Indices and tables