python3-warlock-1.3.3-1.oe1 >  A aNzW^^fg19zWܚTnN 3Ôq s=DPhޤ<$}RQH 7,28@˰3<~[2!I5ybH?/LqvV.ٳşu)rvJƮNHe^;[Vtџ/եKs7ݻ1ʅjdpm(erAEc55oCqjQ!_tXFBR ] m / 6L*$4+֚47062f3f817122bb0aad1f2ce8c612107630dcbd3595334915bdb70d76064c7af274b9e15a92e93061c9eba669c48a8f51aa75203aNzW^^f?lkģЅ7fڿڐ9=ɵ.o.bSZ{` d5}k̉F8mHhDMvgofXwApݤJގvM SRCsY&~n5  ( P]]Diɔ<2,g5[A~_q>^6F c ˮڌ?5fܷ;. x2Eip~0.%,n4robCd%N "brL diE1!T(>p??d  W   ' < H k q x       \  o@   (89:&F?G`HIX Y\8]^bcdeflt8uvw8xyz 04:|Cpython3-warlock1.3.31.oe1Python object model built on JSON schema and JSON patch. [![PyPI](https://img.shields.io/pypi/v/warlock.svg)][warlock] [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/warlock.svg)][warlock] [![PyPI - Downloads](https://img.shields.io/pypi/dw/warlock.svg)][pypistats] [![Build Status](https://travis-ci.org/bcwaldon/warlock.svg?branch=master)][ci-builds] [![Coverage Status](https://coveralls.io/repos/github/bcwaldon/warlock/badge.svg?branch=master)][coveralls] Warlock is [available on PyPI][warlock]: ```shell pip install warlock ``` 1) Create your schema ```python >>> schema = { 'name': 'Country', 'properties': { 'name': {'type': 'string'}, 'abbreviation': {'type': 'string'}, 'population': {'type': 'integer'}, }, 'additionalProperties': False, } ``` 2) Create a model ```python >>> import warlock >>> Country = warlock.model_factory(schema) ``` 3) Create an object using your model ```python >>> sweden = Country(name='Sweden', abbreviation='SE') ``` 4) Let the object validate itself ```python >>> sweden.name = 5 Traceback (most recent call last): File "", line 1, in File "warlock/core.py", line 53, in __setattr__ raise InvalidOperation(msg) warlock.core.InvalidOperation: Unable to set 'name' to '5' >>> sweden.overlord = 'Bears' Traceback (most recent call last): File "", line 1, in File "warlock/core.py", line 53, in __setattr__ raise InvalidOperation(msg) warlock.core.InvalidOperation: Unable to set 'overlord' to 'Bears' ``` 5) Generate a [JSON Patch document](http://tools.ietf.org/html/draft-ietf-appsawg-json-patch) to track changes ```python >>> sweden.population=9453000 >>> sweden.patch '[{"path": "/population", "value": 9453000, "op": "add"}]' ``` [warlock]: https://pypi.org/project/warlock/ [pip]: https://pip.pypa.io/en/stable/ [ci-builds]: https://travis-ci.org/bcwaldon/warlock [coveralls]: https://coveralls.io/github/bcwaldon/warlock?branch=master [pypistats]: https://pypistats.org/packages/warlockaN[ecs-obsworker-0015FopenEuler:20.03:LTS:SP3:Epol / standard_x86_64http://openeuler.orgApache-2.0http://openeuler.orgUnspecifiedhttp://github.com/bcwaldon/warlocklinuxnoarchu*""eezAA큤aN\aN\aN\aN\aN\aN\aN\\ᱮaN\aN\aN\aN\aN\aN\aN\aN\\H\ᱮ\He74f8bc407edf830febac2a2a825f6bbc9c2a03ec5a080a31490da9a59f25391460277c6cacfc2f6d5e857645e622dcce49d87bb73d920a1a99b0c8aa013752c01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546bf162f55770ae154de0f32071a5d72f105f644cb55df144921abf7323bdba10269ce0a0ce5542e6eacac474249264fd4f97a9c92011faae4644487e1cf112f8beffc723433270ac4af9dfe7c8099cbd02d5dca533f8f768a42f079b5d213bcb7dd2195376e3da6fe5f0ddca69e60a706f647a8045808cfa6d9e1347196c45c205d2195376e3da6fe5f0ddca69e60a706f647a8045808cfa6d9e1347196c45c205fb5a8f7de401597ab23ba1a9e6fa496d6fe7568fb976d253ad5374423931d859fb5a8f7de401597ab23ba1a9e6fa496d6fe7568fb976d253ad5374423931d859913213b24ee3b73329e8b24c84db23db9e386f05215219b5d4a1ac74a1a28d14913213b24ee3b73329e8b24c84db23db9e386f05215219b5d4a1ac74a1a28d14fb065637bf010dd3b0ad5987aab54d67e2a69bc2a6d6945ee41248b0c84ff869fb065637bf010dd3b0ad5987aab54d67e2a69bc2a6d6945ee41248b0c84ff869c0606c7569d963ba09c0d42ef782c7d7f09e704332bfca7a8cc9b0b58650b5a2985738d8e17bf56e54afcc0c5218592031a282e18bbae7d68968ff939f4f159305b8f4d9e2f68a526465da78f2522d492a8108c536d824a43d34bce9d397b9c6rootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootpython-warlock-1.3.3-1.oe1.src.rpmpython-warlockpython3-warlockpython3.7dist(warlock)python3dist(warlock)@@ @@ @@     python(abi)python3.7dist(jsonpatch)python3.7dist(jsonpatch)python3.7dist(jsonschema)python3.7dist(jsonschema)python3.7dist(six)rpmlib(CompressedFileNames)rpmlib(FileDigests)rpmlib(PartialHardlinkSets)rpmlib(PayloadFilesHavePrefix)rpmlib(PayloadIsXz)3.70.1020.743.0.4-14.6.0-14.0.4-14.0-15.2-14.15.1_@Python_Bot - Package Spec generatedecs-obsworker-0015 1640713819 1.3.3-1.oe11.3.31.3.3warlockwarlock-1.3.3-py3.7.egg-infoPKG-INFOSOURCES.txtdependency_links.txtrequires.txttop_level.txt__init__.py__init__.cpython-37.opt-1.pyc__init__.cpython-37.pyccore.cpython-37.opt-1.pyccore.cpython-37.pycexceptions.cpython-37.opt-1.pycexceptions.cpython-37.pycmodel.cpython-37.opt-1.pycmodel.cpython-37.pyccore.pyexceptions.pymodel.py/usr/lib/python3.7/site-packages//usr/lib/python3.7/site-packages/warlock-1.3.3-py3.7.egg-info//usr/lib/python3.7/site-packages/warlock//usr/lib/python3.7/site-packages/warlock/__pycache__/-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection obs://private/openEuler:20.03:LTS:SP3:Epol/standard_x86_64/b0b58d3acf5ff9f5f2b90d6cfc944ae8-python-warlock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