Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Defines EPCIS models and XML parsing.

Project description

https://gitlab.com/serial-lab/quartet_epcis/badges/master/pipeline.svg https://gitlab.com/serial-lab/quartet_epcis/badges/master/coverage.svg https://badge.fury.io/py/quartet_epcis.svg

Built on top of the world-class EPCPyYes python package. Real EPCIS support for serious people running real systems.

 ________  ___   ___  _______   ________  ________  ___  ________
|\   __  \|\  \ |\  \|\  ___ \ |\   __  \|\   ____\|\  \|\   ____\
\ \  \|\  \ \  \\_\  \ \   __/|\ \  \|\  \ \  \___|\ \  \ \  \___|_
 \ \  \\\  \ \______  \ \  \_|/_\ \   ____\ \  \    \ \  \ \_____  \
  \ \  \\\  \|_____|\  \ \  \_|\ \ \  \___|\ \  \____\ \  \|____|\  \
   \ \_____  \     \ \__\ \_______\ \__\    \ \_______\ \__\____\_\  \
    \|___| \__\     \|__|\|_______|\|__|     \|_______|\|__|\_________\
          \|__|                                            \|_________|

The essential Open-Source EPCIS component for the QU4RTET traceability platform.

For more on QU4RTET see http://www.serial-lab.com

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

Project details


Download files

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

Files for quartet_epcis, version 1.6.10
Filename, size File type Python version Upload date Hashes
Filename, size quartet_epcis-1.6.10-py2.py3-none-any.whl (57.1 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size quartet_epcis-1.6.10.tar.gz (52.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page