semvec/pypi-packages huggingface dataset:
camel 0.1.2
Python serialization for adults

Camel
=====

Camel is a library that lets you describe how to serialize your objects to
YAML — and refuses to serialize them if you don't.

Quick example:

.. code-block:: python

    from camel import Camel, CamelRegistry

    class DieRoll(tuple):
        def __new__(cls, a, b):
            return tuple.__new__(cls, [a, b])

        def __repr__(self):
            return "DieRoll(%s,%s)" % self

    reg = CamelRegistry()

    @reg.dumper(DieRoll, u'roll', version=None)
    def _dump_dice(data):
        return u"{}d{}".format(*data)

    @reg.loader(u'roll', version=None)
    def _load_dice(data, version):
        a, _, b = data.partition(u'd')
        return DieRoll(int(a), int(b))

    value = DieRoll(3, 6)
    camel = Camel([reg])
    print(camel.dump(value))

    # !roll 3d6
    # ...

Docs: http://camel.readthedocs.org/en/latest/

GitHub: https://github.com/eevee/camel
cocoag 1.1.2b0
Python utility to generate code coverage badges and append them to README's
Keywords: automation,code coverage,testing

Cocoag
    ------

    Uses a JSON config file to create code coverage badges and append them to README files.

    Badge Characteristics:
        - Uploaded to S3 as publicly accessible SVGs
        - Branch dependent (so, different badges will be generated for each branch the utility is run on)

    This version requires Python 3.

    Installation:
    pip install cocoag