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.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.0.0.tar.gz (95.6 kB view details)

Uploaded Source

File details

Details for the file edeposit.amqp.serializers-1.0.0.tar.gz.

File metadata

File hashes

Hashes for edeposit.amqp.serializers-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c45e0b354ea81ab08bb6ed98caedce2ab8a989e424c08a0c09f30541e3e9a186
MD5 a010f64beed776d8473b68e231f57782
BLAKE2b-256 a5915fd1cdcf27563c172612576e1fa3ff1573327bab04c2acb5edd133d56ab3

See more details on using hashes here.

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