quartet_epcis

Defines EPCIS models and XML parsing.


Keywords
seriallab, quartet_epcis, epcis, level-4, quartet
License
GPL-3.0
Install
pip install quartet_epcis==4.0.0

Documentation

QU4RTET EPCIS

The essential component for the Open Source EPCIS QU4RTET infrastructure's GS1 EPCIS support.

The quartet_epcis python package is a Django application that contains the base database models necessary for the support of EPCIS 1.2 data persistence to an RDBMS. The quartet_epcis.parsing package contains an EPCIS XML parser that will take an input stream of XML data and save it to a configured database back-end.

The quartet_epcis.app_models directory contains a set of Django ORM models that are used to define the database scheme and store EPCIS data in the database.

Documentation

Find the latest docs here:

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

The full (pre-built )documentation is under the docs directory in this project.

Quickstart

Install QU4RTET EPCIS

pip install quartet_epcis

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'quartet_epcis',
    ...
)

Features

  • Maintains the database schema for EPCIS 1.2 support.
  • Parses EPCIS 1.2 XML streams to the configured backend database system.
  • Enforces business rules around decommissioning, commissioning, aggregation,

disaggregation, etc.

Running The Unit Tests

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ python runtests.py