Skip to main content

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

Project description

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.

Project details


Release history Release notifications

History Node

1.2.0

History Node

1.1.1

This version
History Node

1.1.0

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
edeposit.amqp.serializers-1.1.0.tar.gz (97.2 kB) Copy SHA256 hash SHA256 Source None Mar 25, 2014

Supported by

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