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
Bystroushaak <bystrousak@kitakitsune.org>, Developer
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
File details
Details for the file edeposit.amqp.serializers-1.1.1.tar.gz
.
File metadata
- Download URL: edeposit.amqp.serializers-1.1.1.tar.gz
- Upload date:
- Size: 97.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec6d70f63c956b1b2787b263a5d0f77c587137568458c6cb596b8cfc0d73f432 |
|
MD5 | cb368bd9fd3bf8162c0fca77bf3fa6ab |
|
BLAKE2b-256 | 5f37497970a65064dac841c58b7c9a83220b7895357601dd33ea45c4403a3413 |