{ "info": { "author": "Petr Zemek", "author_email": "s3rvac@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "retdec-python\n=============\n\n.. image:: https://readthedocs.org/projects/retdec-python/badge/?version=latest\n :target: https://retdec-python.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://travis-ci.org/s3rvac/retdec-python.svg\n :target: https://travis-ci.org/s3rvac/retdec-python\n :alt: Build Status\n\n.. image:: https://coveralls.io/repos/s3rvac/retdec-python/badge.svg\n :target: https://coveralls.io/r/s3rvac/retdec-python\n :alt: Code Coverage Status\n\n.. image:: https://badge.fury.io/py/retdec-python.svg\n :target: https://pypi.python.org/pypi/retdec-python\n :alt: PyPI Version\n\nA Python library and tools providing easy access to the `retdec.com\n`_ decompilation service through their public `REST API\n`_.\n\nYou can either incorporate the library in your own scripts:\n\n.. code-block:: python\n\n from retdec.decompiler import Decompiler\n\n decompiler = Decompiler(api_key='YOUR-API-KEY')\n decompilation = decompiler.start_decompilation(input_file='file.exe')\n decompilation.wait_until_finished()\n decompilation.save_hll_code()\n\nor you can use the provided script for stand-alone decompilations:\n\n.. code-block:: text\n\n $ decompiler -k YOUR-API-KEY file.exe\n v23bmYb67R\n ----------\n\n Waiting for resources (0%)... [OK]\n Pre-Processing:\n Obtaining file information (5%)... [OK]\n Unpacking (10%)... [OK]\n Front-End:\n Initializing (20%)... [OK]\n [..]\n Done (100%)...\n\n Downloading:\n - file.c\n\nEither way, ``file.c`` then contains the decompiled C code:\n\n.. code-block:: text\n\n $ cat file.c\n //\n // This file was generated by the Retargetable Decompiler\n // Website: https://retdec.com\n // Copyright (c) 2016 Retargetable Decompiler \n //\n\n #include \n [..]\n\nStatus\n------\n\nThe library provides support for the `decompilation\n`_, `fileinfo\n`_, and `test\n`_ services. For a more detailed list,\nsee the `status `_\npage in the documentation.\n\nRequirements\n------------\n\n* Python >= 3.3 (CPython or PyPy)\n* `requests `_ module for making HTTPS calls\n to the `retdec.com API `_\n\nInstallation\n------------\n\nThe recommended way of installing is from `Python Package Index\n`_ (PyPI) with `pip\n`_:\n\n.. code-block:: shell\n\n $ pip install retdec-python\n\nThis will install the latest stable version, including all dependencies. You\ncan also install the latest development version directly from GitHub:\n\n.. code-block:: shell\n\n $ pip install git+https://github.com/s3rvac/retdec-python\n\nDocumentation\n-------------\n\nThe documentation is available on `readthedocs.io `_:\n\n* `latest (master) `_\n* `stable (0.5.2) `_\n\nContact and Support\n-------------------\n\nI will be very glad to get your feedback, `pull requests\n`_, `issues\n`_, or just a simple *Thanks*.\nFeel free to contact me for any questions you might have!\n\nLicense\n-------\n\nCopyright (c) 2015-2017 Petr Zemek (s3rvac@gmail.com) and contributors.\n\nDistributed under the MIT license. See the `LICENSE\n`_ file for more\ndetails.\n\nAccess from Other Languages\n---------------------------\n\nIf you want to access the `retdec.com `_ decompilation\nservice from other languages, check out the following projects:\n\n* `retdec-rust `_ - A library and tools\n for accessing the service from Rust.\n* `retdec-cpp `_ - A library and tools\n for accessing the service from C++.\n* `retdec-sh `_ - Scripts for accessing\n the service from shell.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/s3rvac/retdec-python", "keywords": "retdec decompiler decompilation analysis fileinfo", "license": "The MIT License (MIT)\n\nCopyright (c) 2015-2017 Petr Zemek and contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n", "maintainer": "", "maintainer_email": "", "name": "retdec-python", "package_url": "https://pypi.org/project/retdec-python/", "platform": "", "project_url": "https://pypi.org/project/retdec-python/", "project_urls": { "Homepage": "https://github.com/s3rvac/retdec-python" }, "release_url": "https://pypi.org/project/retdec-python/0.5.2/", "requires_dist": null, "requires_python": "", "summary": "A Python library and tools providing easy access to the retdec.com decompilation service through their public REST API.", "version": "0.5.2" }, "last_serial": 3050270, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5e61093a37440e821b0c7ca540bc1763", "sha256": "20dfa6520f0b63a1662982312844d457f2aad3bc38b6f2fe860d73593e4b161c" }, "downloads": -1, "filename": "retdec-python-0.1.tar.gz", "has_sig": false, "md5_digest": "5e61093a37440e821b0c7ca540bc1763", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16853, "upload_time": "2015-09-13T08:41:03", "url": "https://files.pythonhosted.org/packages/1a/30/d967b882e42dac220cd97cbd3c6207752dc3fa8a29e360771232b265ecdc/retdec-python-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "f4e26f7b92eebf530db6dd082acad6aa", "sha256": "6752fd398d76961fe4447532291b9f963e976165bee605175ee05e5faad66be2" }, "downloads": -1, "filename": "retdec-python-0.2.tar.gz", "has_sig": false, "md5_digest": "f4e26f7b92eebf530db6dd082acad6aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18374, "upload_time": "2016-06-12T13:26:54", "url": "https://files.pythonhosted.org/packages/f3/af/360d0535a7a618753495fb12a4decf54a19d307d28d53994ca73f5102d66/retdec-python-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "ca32587daf0c9724a090534d771f06a2", "sha256": "b823bd8d3881b861aaf42515dd966a9633e927dd2220f49a1bb9433a65717767" }, "downloads": -1, "filename": "retdec-python-0.3.tar.gz", "has_sig": false, "md5_digest": "ca32587daf0c9724a090534d771f06a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19395, "upload_time": "2016-07-17T06:12:09", "url": "https://files.pythonhosted.org/packages/8f/4f/54d3ea2bec30264424a44553f4aafd7bb28e36798839ef1aeb8686350301/retdec-python-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "0644bfb14fe8fbc0772d138a8e84c733", "sha256": "00410d6c883ea35ed01b8017508f6c104d5df182a098e58f2fae15e606bbaaad" }, "downloads": -1, "filename": "retdec-python-0.4.tar.gz", "has_sig": false, "md5_digest": "0644bfb14fe8fbc0772d138a8e84c733", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22320, "upload_time": "2016-08-04T14:58:37", "url": "https://files.pythonhosted.org/packages/94/fa/e38a1c1a2a4caabaa8732cc43f235ed8214a4dda23a32438cb8f0bae47bb/retdec-python-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "894d6ee1c81c1f6f75be539b09580450", "sha256": "0f7a2622a371e034d6afa21c233e8a86a701dbc5f815d03c89ee46c2353b4477" }, "downloads": -1, "filename": "retdec-python-0.5.tar.gz", "has_sig": false, "md5_digest": "894d6ee1c81c1f6f75be539b09580450", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22932, "upload_time": "2016-09-15T15:30:57", "url": "https://files.pythonhosted.org/packages/0c/a0/ec04630d3e4813c31f5931904221c1968a75518935106a24d51c0a41af73/retdec-python-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "3e3f91484ffd3e4797884e4c42793767", "sha256": "e28f8f5638f3f650e13f826701da5500db88c2cef37a96f60724dd26ed0d8245" }, "downloads": -1, "filename": "retdec-python-0.5.1.tar.gz", "has_sig": false, "md5_digest": "3e3f91484ffd3e4797884e4c42793767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23347, "upload_time": "2016-09-24T11:50:05", "url": "https://files.pythonhosted.org/packages/7a/da/71db166fd9214dc27c3e4e68e181d6df6f84976e1d51f1d436cb03fa8185/retdec-python-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "d6b3c37bc26bd116896d4dc23c8a9432", "sha256": "b4161f55bdd429e88cf4051356dac82c162c6a790bbd251fbd4690ba43ec7590" }, "downloads": -1, "filename": "retdec-python-0.5.2.tar.gz", "has_sig": false, "md5_digest": "d6b3c37bc26bd116896d4dc23c8a9432", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23392, "upload_time": "2017-07-26T15:12:42", "url": "https://files.pythonhosted.org/packages/bf/f0/23eb89373e8586f6df35074aff816a10caab24e0f458665bdbbe14454347/retdec-python-0.5.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d6b3c37bc26bd116896d4dc23c8a9432", "sha256": "b4161f55bdd429e88cf4051356dac82c162c6a790bbd251fbd4690ba43ec7590" }, "downloads": -1, "filename": "retdec-python-0.5.2.tar.gz", "has_sig": false, "md5_digest": "d6b3c37bc26bd116896d4dc23c8a9432", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23392, "upload_time": "2017-07-26T15:12:42", "url": "https://files.pythonhosted.org/packages/bf/f0/23eb89373e8586f6df35074aff816a10caab24e0f458665bdbbe14454347/retdec-python-0.5.2.tar.gz" } ] }