skip to navigation
skip to content

Not Logged In

edeposit.amqp.serializers 1.1.0

E-Deposit's AMQP definitions and common classes/patterns.

Latest Version: 1.2.0

Introduction

This package provides functions to (de)serialize namedtuple to JSON.

Full module documentation is hosted at the readthedocs.

Installation

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

pip install edeposit.amqp.serializers

Source codes can be found at GitHub: https://github.com/jstavel/edeposit.amqp.serializers.

Content

So far, module provides only one submodule:

edeposit.amqp.serializers.serializers

Serialization/deserialization functions to serialize() and deserialize() namedtuples to the JSON and back. Module needs to be initialized first by calling init_globals(globals()).

All three functions are imported in __init__.py, so you don’t need to call edeposit.amqp.serializers.serializers - just edeposit.amqp.serializers will do.

Acceptance tests

Robot Framework is used to test the sources, which are stored in src/edeposit/amqp/serializers/tests directory.

You can run them manually (from the root of the package):

$ pybot -W 80 --pythonpath src/edeposit/amqp/serializers/tests/:src src/edeposit/amqp/serializers/tests/

Or continuously using nosier:

$ nosier -p src -b 'export' "pybot -W 80 --pythonpath src/edeposit/amqp/serializers/tests/ --pythonpath src src/edeposit/amqp/serializers/tests/"

Contributors

Changelog

1.1.0

  • Removed init_globals(). Globals are now passed as parameter to deserialize(). This was necessary to cover changes in variables during runtime.

1.0.0

  • Added documentation.
  • Readthedocs now automatically documents the project.
  • Added iiOfAny().

0.1 (unreleased)

  • Package created.
  • Added package test.
 
File Type Py Version Uploaded on Size
edeposit.amqp.serializers-1.1.0.tar.gz (md5) Source 2014-03-25 94KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 127 downloads in the last week
  • 579 downloads in the last month