{ "info": { "author": "CowboyTim", "author_email": "aardbeiplantje@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: zlib/libpng License", "Programming Language :: Perl", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "python-storable\n===============\n\n.. image:: https://travis-ci.org/CowboyTim/python-storable.svg?branch=develop\n :target: https://travis-ci.org/CowboyTim/python-storable\n\nOverview\n--------\n\nThis is a Python module that is be able to read Perl storable files. Storable\nis a nice and efficient binary format for Perl that is very popular. A lot of\nother serialization/deserialization modules exist that are even more or less\nstandardized: JSON, XML, CSV,.. etc. Storable is more or less Perl specific.\n\nTo ease integration between Perl - where storable sometimes is the only option\n- and Python this module is a bridge.\n\nThe module has been tested to work with Python 2.7 and upwards.\n\n\n.. warning:: **Perl Scalar Handling**\n\n Care has to be taken when dealing with Perl \"scalars\". They are a bit\n \"magical\" in that they can behave like different types depending on how\n they are used. This is currently not supported directly in Python, and\n **neither does this library provide a suitable abstraction!**\n\n The way this is currently handled is that types are \"guessed\" in a fairly\n iffy manner! The value is tried to be converted to different types (at the\n time of this writing: float \u2192 int \u2192 ASCII-string). The first one that\n matches wins. This means that **The Perl scalar \"123\" will always be\n returned as an integer**\n\n\nQuick Usage\n-----------\n\n::\n\n from storable import retrieve\n data = retrieve('/path/to/file.storable')\n\n from storable.output import serialize\n # only works (so far) for JSON-able types and recursion-limited depth\n # This will not serialize to the exact same object in perl as retrieve/thaw-ing\n # but will be readable by perl to load json-like values\n serialized_bytes = serialize({'x': 'bar', 'y': 1, 'z': 1.23, 'w':[], 'v':[1,2,3]})\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/CowboyTim/python-storable", "keywords": "", "license": "zlib/libpng", "maintainer": "", "maintainer_email": "", "name": "storable", "package_url": "https://pypi.org/project/storable/", "platform": "", "project_url": "https://pypi.org/project/storable/", "project_urls": { "Homepage": "http://github.com/CowboyTim/python-storable" }, "release_url": "https://pypi.org/project/storable/1.1.0/", "requires_dist": [ "pytest; extra == 'test'", "verlib; extra == 'test'" ], "requires_python": "", "summary": "Python Perl Storable module", "version": "1.1.0" }, "last_serial": 3568333, "releases": { "0.1.0": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "f22729406f8b3eb7072f4a4b92da60f5", "sha256": "69c4835cdbf17ddcd8397a9680edbb81ef53470dd8b9376aae703bf5a6d35714" }, "downloads": -1, "filename": "storable-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f22729406f8b3eb7072f4a4b92da60f5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8671, "upload_time": "2017-03-13T19:34:10", "url": "https://files.pythonhosted.org/packages/8e/8f/b78c4d05164bdfd63bb7c20b8814aadc5a62488948ef3651d0594c7b5d4b/storable-1.0.0-py2.py3-none-any.whl" } ], "1.0.0.post1": [ { "comment_text": "", "digests": { "md5": "0fdcdfc220b9aea3afa5acac5e94f528", "sha256": "a2627e0c912cfac0de7b078a9b3fb9e0db36723ec9265fc28cc240575bbf67a0" }, "downloads": -1, "filename": "storable-1.0.0.post1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0fdcdfc220b9aea3afa5acac5e94f528", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8713, "upload_time": "2017-03-14T07:06:27", "url": "https://files.pythonhosted.org/packages/dd/67/789e9838728d6a1f4374ffa987840b5460c47f92a82b696693b1d20642d2/storable-1.0.0.post1-py2.py3-none-any.whl" } ], "1.0.0.post2": [ { "comment_text": "", "digests": { "md5": "2ba0da8506409c8ebc738865023661f4", "sha256": "20e4eff203965a1ebd516b47debf2f823296bd503fe112632fac87ad42bd431a" }, "downloads": -1, "filename": "storable-1.0.0.post2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ba0da8506409c8ebc738865023661f4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8803, "upload_time": "2017-03-14T08:05:29", "url": "https://files.pythonhosted.org/packages/48/ae/429c7ac4324ca5ffc5ebeffb6ce5c905d85f1d6d9bf4d2d31273780bab69/storable-1.0.0.post2-py2.py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "b443a9c9afb31ac25bfe532977f53178", "sha256": "6b20cb20d77d858001cfd0d29aace4980db3220c48cdcbb65742faa7fa3326b8" }, "downloads": -1, "filename": "storable-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b443a9c9afb31ac25bfe532977f53178", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11559, "upload_time": "2018-02-09T18:56:45", "url": "https://files.pythonhosted.org/packages/39/a6/b5b0c219a7d2fdee14567f4ee613c9230b9aea0712274451c25c5bcd5b8e/storable-1.1.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b443a9c9afb31ac25bfe532977f53178", "sha256": "6b20cb20d77d858001cfd0d29aace4980db3220c48cdcbb65742faa7fa3326b8" }, "downloads": -1, "filename": "storable-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b443a9c9afb31ac25bfe532977f53178", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11559, "upload_time": "2018-02-09T18:56:45", "url": "https://files.pythonhosted.org/packages/39/a6/b5b0c219a7d2fdee14567f4ee613c9230b9aea0712274451c25c5bcd5b8e/storable-1.1.0-py2.py3-none-any.whl" } ] }