Name : python3-JsonWeb
| |
Version : 0.8.2
| Vendor : obs://build_opensuse_org/home:so_it_team
|
Release : 4.1
| Date : 2018-09-14 06:51:58
|
Group : Development/Languages/Python
| Source RPM : python3-JsonWeb-0.8.2-4.1.src.rpm
|
Size : 0.23 MB
| |
Packager : (none)
| |
Summary : Quickly add json serialization and deserialization to your python classes
|
Description :
JsonWeb ========
.. image:: https://travis-ci.org/boris317/JsonWeb.png?branch=master :target: https://travis-ci.org/boris317/JsonWeb
Add JSON (de)serialization to your python objects ::
>>> from jsonweb import decode, encode
>>> AATTencode.to_object() ... AATTdecode.from_object() ... class User(object): ... def __init__(self, nick, email): ... self.nick = nick ... self.email = email
>>> json_str = encode.dumper(User(\"cool_user123\", \"cool_user123AATTexample.com\")) >>> print json_str {\"nick\": \"cool_user123\", \"__type__\": \"User\", \"email\": \"cool_user123AATTexample.com\"}
>>> user = decode.loader(json_str) >>> print user.nick cool_user123 >>> print user < User object at 0x10145e390>
.. note ::
JsonWeb is still very much under development. Things will change.
See `documentation < http://www.jsonweb.info/>`_
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/so_it_team:/12.x/SLE_12_SP4/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python3-JsonWeb
Requires :