Skip to main content

A capture and queuing interface for QU4RTET.

Project description

https://gitlab.com/serial-lab/quartet_capture/badges/master/pipeline.svg https://gitlab.com/serial-lab/quartet_capture/badges/master/coverage.svg https://badge.fury.io/py/quartet_capture.svg
 .d8888b.      d8888  8888888b. 88888888888 888     888 8888888b.  8888888888
d88P  Y88b    d8P888  888   Y88b    888     888     888 888   Y88b 888
888    888   d8P 888  888    888    888     888     888 888    888 888
888         d8P  888  888   d88P    888     888     888 888   d88P 8888888
888        d88   888  8888888P"     888     888     888 8888888P"  888
888    888 8888888888 888           888     888     888 888 T88b   888
Y88b  d88P       888  888           888     Y88b. .d88P 888  T88b  888
 "Y8888P"        888  888           888      "Y88888P"  888   T88b 8888888888

A capture and queuing interface for the QU4RTET open source EPCIS platform. This package defines the generic structure of the QU4RTET rule engine and defines the base classes necessary for use when extending the functionality of QU4RTET.

Documentation

The full documentation here includes an overall explanation and example of implementing rules and steps along with installation instructions:

https://serial-lab.gitlab.io/quartet_capture

Quickstart

Install quartet_capture

pip install quartet_capture

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'quartet_capture.apps.QuartetCaptureConfig',
    ...
)

Add quartet_capture’s URL patterns:

from quartet_capture import urls as quartet_capture_urls

urlpatterns = [
    ...
    url(r'^', include(quartet_capture_urls)),
    ...
]

Features

  • Accepts inbound HTTP Post messages and queues them up for processing.

  • Stores inbound messages in RabbitMQ backend for processing with the Celery Task Queue.

  • Keeps track of messages and their processing state.

Running The Unit Tests

source <YOURVIRTUALENV>/bin/activate
(myenv) $ python runtests.py

Project details


Release history Release notifications | RSS feed

This version

3.2.1

Download files

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

Source Distribution

quartet_capture-3.2.1.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quartet_capture-3.2.1-py2.py3-none-any.whl (52.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file quartet_capture-3.2.1.tar.gz.

File metadata

  • Download URL: quartet_capture-3.2.1.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for quartet_capture-3.2.1.tar.gz
Algorithm Hash digest
SHA256 10ff3000df2571c6b543dfa3d9b8dccf83a8f7752573d4813b8af6033b908a2a
MD5 dd224c839008d8f2e79bc3db9bcd544c
BLAKE2b-256 bb5faa50d68f279285a051ac0ca00b2225b3199c42e8ddd0c78815cc3e8bba9c

See more details on using hashes here.

File details

Details for the file quartet_capture-3.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for quartet_capture-3.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 73a0ad162cd4a361b7002f850103cf524a36c9bf97b8ca667ba900ae3c3f9cad
MD5 54a407d2699d4669d3cc242544f09441
BLAKE2b-256 9ddf7403defe1ee122c64b8c6e1ea3d93d3c5e232ed07dc18e41f5284a0f1180

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page