Skip to main content

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.

Source Distribution

quartet_epcis-4.1.2.tar.gz (66.6 kB view details)

Uploaded Source

Built Distribution

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

quartet_epcis-4.1.2-py2.py3-none-any.whl (74.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file quartet_epcis-4.1.2.tar.gz.

File metadata

  • Download URL: quartet_epcis-4.1.2.tar.gz
  • Upload date:
  • Size: 66.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for quartet_epcis-4.1.2.tar.gz
Algorithm Hash digest
SHA256 98c8ff5e136fcc17a4c7347950b773e6fe66dddf9c813151fd590f9f3a2b24cd
MD5 5dd46a64304364936619344d62513e72
BLAKE2b-256 42e6170e78d1653ff7721f3818c74e0393ce67445465a9961aba01125418c020

See more details on using hashes here.

File details

Details for the file quartet_epcis-4.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: quartet_epcis-4.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for quartet_epcis-4.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 96bdc8ffa2e60757b7def3778786c0e454892442b7b0aa40516b8bf4854d3da9
MD5 7ec2915932e182b24b9c4e59c066fcc1
BLAKE2b-256 babb5de26e9b1e1e4e8e5fcd9891b590c89aa3b54e251ea536fa157795abc99f

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