{ "info": { "author": "Shaun Viguerie", "author_email": "shaunvig114@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: System :: Shells", "Topic :: System :: System Shells" ], "description": "# unwrapper [![Build Status](https://travis-ci.org/shaunvxc/unwrapper.svg?branch=master)](https://travis-ci.org/shaunvxc/unwrapper) [![PyPI version](https://badge.fury.io/py/unwrapper.svg)](https://badge.fury.io/py/unwrapper)\n\n`unwrapper` is a small utility for unwrapping the callback function from an otherwise easily parseable `json` string.\n\n###Usage\n* To unwrap the `JSON` from a callback function, and obtain a parsed dictionary:\n```python\nfrom unwrapper import unwrap\nunwrap('json13123({\"a\":1, \"b\": 2, \"c\": 3})') # returns this dict: {u'a': 1, u'c': 3, u'b': 2}\n```\n* To simply unwrap the callback wrapper, use `unwrap_raw`:\n```python\nfrom unwrapper import unwrap_raw\nunwrap_raw('json13123({\"a\":1, \"b\": 2, \"c\": 3})') # returns '{\"a\":1, \"b\": 2, \"c\": 3}'\n```\n\n####Command Line\n \n `$ curl \"SOME CURL REQUEST RETURNING WRAPPED JSON\" | unwrap`\n \n###Installation\n\n`$ pip install unwrapper`\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shaunvxc/unwrap", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "unwrapper", "package_url": "https://pypi.org/project/unwrapper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/unwrapper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shaunvxc/unwrap" }, "release_url": "https://pypi.org/project/unwrapper/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Unwrap JSON responses from callback fns", "version": "1.0.0" }, "last_serial": 2583974, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3afc17cf958e200196d4687271aac4c5", "sha256": "9c2edaeb778163d5007cd2d18b22c5c24d6c574efc497d4698e74200edf7a158" }, "downloads": -1, "filename": "unwrapper-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3afc17cf958e200196d4687271aac4c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1853, "upload_time": "2016-04-08T03:05:51", "url": "https://files.pythonhosted.org/packages/6d/7b/6a4a3516db594f1a9f62a99c5354d76d98ec70187eb61a80bdc02b7eb3d6/unwrapper-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "76f57d24fb19a074c7d778748a674994", "sha256": "0293fdd7d17921c10e06f1b88c0cb35e296562d596626c16be59ed29f101ddcd" }, "downloads": -1, "filename": "unwrapper-0.0.2.tar.gz", "has_sig": false, "md5_digest": "76f57d24fb19a074c7d778748a674994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1851, "upload_time": "2016-04-08T03:02:47", "url": "https://files.pythonhosted.org/packages/0b/82/343ede56e433d23e6638522720349f03d9aeaf458bb4cec986ae3627b96a/unwrapper-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1f52aad113ee9a1f9cc566e3e0a58c94", "sha256": "2471d9ad5029121502c7085bf0daf7df2eaedf4af210271d75ca4c9521276ea4" }, "downloads": -1, "filename": "unwrapper-0.0.3.tar.gz", "has_sig": false, "md5_digest": "1f52aad113ee9a1f9cc566e3e0a58c94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3298, "upload_time": "2016-04-08T15:44:10", "url": "https://files.pythonhosted.org/packages/ba/d2/b9d571e77072f193d4b061fc25983c2302c2ccabd181b307488b3e7638fd/unwrapper-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "b629f829c6546d98c6fc2b9750fc5d05", "sha256": "ff6330a14890041c68806771c503813edf56ba4dc9573f3d3dae914264e6b928" }, "downloads": -1, "filename": "unwrapper-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b629f829c6546d98c6fc2b9750fc5d05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3300, "upload_time": "2016-04-08T15:46:58", "url": "https://files.pythonhosted.org/packages/d1/7f/e5b12ca98496e415216171f8fe7644095d87ab15b9de12d48f72a9716816/unwrapper-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "01001ed134ba2204c47ec698bdb9cf89", "sha256": "5b069ef3373e9896b264f522b60cd5611c865c6f1d328d442e136f08909c0b79" }, "downloads": -1, "filename": "unwrapper-0.0.5.tar.gz", "has_sig": false, "md5_digest": "01001ed134ba2204c47ec698bdb9cf89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3300, "upload_time": "2016-04-08T16:01:25", "url": "https://files.pythonhosted.org/packages/70/0b/dc7dd43c9f922a3612adef760bec13d4ab6414ed7ed568a541394b8d2f3a/unwrapper-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "f79274cb0817b4b4a7a15ae8c4c6aedd", "sha256": "a6e9005b0a69292c0f382c0a28f8a925666e41e9ce41061c72cb45eced15e367" }, "downloads": -1, "filename": "unwrapper-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f79274cb0817b4b4a7a15ae8c4c6aedd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3242, "upload_time": "2016-04-11T20:18:44", "url": "https://files.pythonhosted.org/packages/cb/2c/c6d973363f9c3eae60ac2fb35ef7eedd8376302ececf9a433ff8ec7b27c6/unwrapper-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "83d140762a0f1c5104c9c4dcc16c2eb7", "sha256": "f69330abb3500c98965ebd3f0b78b4cae74e37d28228abba8771ba03897e837b" }, "downloads": -1, "filename": "unwrapper-0.0.7.tar.gz", "has_sig": false, "md5_digest": "83d140762a0f1c5104c9c4dcc16c2eb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3605, "upload_time": "2016-04-16T18:00:25", "url": "https://files.pythonhosted.org/packages/60/3c/71531b39db666c495831d4094365cc805f176384a0326c134fedad189edd/unwrapper-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "82a23aebd2f7f02df23666023a0e9da9", "sha256": "943ce9eaaadf36653606a9e7ed2fb1c51f5bac57063d5ac1b806a7f90a37952e" }, "downloads": -1, "filename": "unwrapper-0.0.8.tar.gz", "has_sig": false, "md5_digest": "82a23aebd2f7f02df23666023a0e9da9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3614, "upload_time": "2016-04-16T19:24:20", "url": "https://files.pythonhosted.org/packages/6a/86/156827e536a3db0e2d7d2d17dfb60463b37a6b7f5550bafc6b9b01ab0059/unwrapper-0.0.8.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "48ba6170547f08a60346451f3ab3228e", "sha256": "5ca46318e158e1ec61748a28b8a14e8dbdd3e9a60947dd35d3a7d0607634425a" }, "downloads": -1, "filename": "unwrapper-1.0.0.tar.gz", "has_sig": false, "md5_digest": "48ba6170547f08a60346451f3ab3228e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3645, "upload_time": "2017-01-19T02:23:47", "url": "https://files.pythonhosted.org/packages/2f/0a/84cd44d725ec91b0acb22b8a2292f0ca64f39dde259e5f2da70f7227c06e/unwrapper-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48ba6170547f08a60346451f3ab3228e", "sha256": "5ca46318e158e1ec61748a28b8a14e8dbdd3e9a60947dd35d3a7d0607634425a" }, "downloads": -1, "filename": "unwrapper-1.0.0.tar.gz", "has_sig": false, "md5_digest": "48ba6170547f08a60346451f3ab3228e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3645, "upload_time": "2017-01-19T02:23:47", "url": "https://files.pythonhosted.org/packages/2f/0a/84cd44d725ec91b0acb22b8a2292f0ca64f39dde259e5f2da70f7227c06e/unwrapper-1.0.0.tar.gz" } ] }