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.

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.

Documentation

Full module documentation is hosted at the ReadTheDocs.

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.1

  • Version of package and documentation is now automatically parsed from this file.

  • Fixed few bugs in documentation.

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


Download files

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

Source Distribution

edeposit.amqp.serializers-1.1.1.tar.gz (97.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page