{ "info": { "author": "Joe Schafer", "author_email": "joe@jschaf.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: BSD License", "Topic :: Utilities" ], "description": "===================\n Ideone Python API\n===================\n\n`Ideone`_ is a pastebin, as well as an online compiler and debugger.\nThis project is a Pythonic binding to the `Ideone API`_.\n\nInstallation\n============\n\nThe Ideone API can also be installed with ``pip`` from `PyPI`_ using\n``pip install ideone``. Alternately, you can clone the repository and\nuse setup.py like so ::\n\n git clone https://github.com/jschaf/ideone-api.git\n cd ideone-api\n python setup.py install\n\nGetting Started\n===============\n\nYou need an Ideone account and an *API password* which you can create\nat the `Ideone registration page`_. After that, open up a Python\nshell and begin hacking. ::\n\n >>> from ideone import Ideone\n >>> i = Ideone('username', 'APIpassword')\n >>> i.test()\n {'answerToLifeAndEverything': 42,\n 'error': \"OK\",\n 'moreHelp': \"ideone.com\",\n 'oOok': True,\n 'pi': 3.14}\n\n >>> i.create_submission('print(42)', language_name='python')\n {'error': 'OK',\n 'link' : 'LsSbo'}\n\n >>> i.create_submission('print(42)', language_id=166)\n {'error': 'OK',\n 'link' : 'FDfrM'}\n\n >>> i.submission_details('LsSbo')\n {'cmpinfo': \"\",\n 'date': \"2011-04-18 15:24:14\",\n 'error': \"OK\",\n 'input': \"\",\n 'langId': 116,\n 'langName': \"Python 3\",\n 'langVersion': \"python-3.1.2\",\n 'memory': 5852,\n 'output': 42,\n 'public': True,\n 'result': 15,\n 'signal': 0,\n 'source': \"print(42)\",\n 'status': 0,\n 'stderr': \"\",\n 'time': 0.02}\n\n >>> i.languages()\n {'error': 'OK',\n 'languages': {1: \"C++ (gcc-4.3.4)\",\n 2: \"Pascal (gpc) (gpc 20070904)\",\n ...\n ...\n ...\n 125: \"Falcon (falcon-0.9.6.6)\"}}\n\n\nSupported Languages\n===================\n\nAs of 27 May 2012, Ideone supports the following languages. You don't\nneed to use the full names for ``language_name``. The simplified name\nworks just as well with this API.\n\n+-------+----------------------------------------------+-----------------+\n| Index | Ideone Full Name | Simplified Name |\n+=======+==============================================+=================+\n| 1 | C++ (gcc-4.3.4) | C++ |\n+-------+----------------------------------------------+-----------------+\n| 2 | Pascal (gpc) (gpc 20070904) | Pascal |\n+-------+----------------------------------------------+-----------------+\n| 3 | Perl (perl 5.12.1) | Perl |\n+-------+----------------------------------------------+-----------------+\n| 4 | Python (python 2.7.2) | Python |\n+-------+----------------------------------------------+-----------------+\n| 5 | Fortran (gfortran-4.3.4) | Fortran |\n+-------+----------------------------------------------+-----------------+\n| 6 | Whitespace (wspace 0.3) | Whitespace |\n+-------+----------------------------------------------+-----------------+\n| 7 | Ada (gnat-4.3.2) | Ada |\n+-------+----------------------------------------------+-----------------+\n| 8 | Ocaml (ocamlopt 3.10.2) | Ocaml |\n+-------+----------------------------------------------+-----------------+\n| 9 | Intercal (c-intercal 28.0-r1) | Intercal |\n+-------+----------------------------------------------+-----------------+\n| 10 | Java (sun-jdk-1.6.0.31) | Java |\n+-------+----------------------------------------------+-----------------+\n| 11 | C (gcc-4.3.4) | C |\n+-------+----------------------------------------------+-----------------+\n| 12 | Brainf**k (bff-1.0.3.1) | Brainf**k |\n+-------+----------------------------------------------+-----------------+\n| 13 | Assembler (nasm-2.07) | Assembler |\n+-------+----------------------------------------------+-----------------+\n| 14 | CLIPS (clips 6.24) | CLIPS |\n+-------+----------------------------------------------+-----------------+\n| 15 | Prolog (swi) (swipl 5.6.64) | Prolog |\n+-------+----------------------------------------------+-----------------+\n| 16 | Icon (iconc 9.4.3) | Icon |\n+-------+----------------------------------------------+-----------------+\n| 17 | Ruby (ruby-1.9.2) | Ruby |\n+-------+----------------------------------------------+-----------------+\n| 19 | Pike (pike 7.6.86) | Pike |\n+-------+----------------------------------------------+-----------------+\n| 21 | Haskell (ghc-6.8.2) | Haskell |\n+-------+----------------------------------------------+-----------------+\n| 22 | Pascal (fpc) (fpc 2.2.0) | Pascal |\n+-------+----------------------------------------------+-----------------+\n| 23 | Smalltalk (gst 3.1) | Smalltalk |\n+-------+----------------------------------------------+-----------------+\n| 25 | Nice (nicec 0.9.6) | Nice |\n+-------+----------------------------------------------+-----------------+\n| 26 | Lua (luac 5.1.4) | Lua |\n+-------+----------------------------------------------+-----------------+\n| 27 | C# (mono-2.8) | C# |\n+-------+----------------------------------------------+-----------------+\n| 28 | Bash (bash 4.0.35) | Bash |\n+-------+----------------------------------------------+-----------------+\n| 29 | PHP (php 5.2.11) | PHP |\n+-------+----------------------------------------------+-----------------+\n| 30 | Nemerle (ncc 0.9.3) | Nemerle |\n+-------+----------------------------------------------+-----------------+\n| 32 | Common Lisp (clisp) (clisp 2.47) | Common Lisp |\n+-------+----------------------------------------------+-----------------+\n| 33 | Scheme (guile) (guile 1.8.5) | Scheme |\n+-------+----------------------------------------------+-----------------+\n| 34 | C99 strict (gcc-4.3.4) | C99 strict |\n+-------+----------------------------------------------+-----------------+\n| 35 | JavaScript (rhino) (rhino-1.6.5) | JavaScript |\n+-------+----------------------------------------------+-----------------+\n| 36 | Erlang (erl-5.7.3) | Erlang |\n+-------+----------------------------------------------+-----------------+\n| 38 | Tcl (tclsh 8.5.7) | Tcl |\n+-------+----------------------------------------------+-----------------+\n| 39 | Scala (scala-2.9.1) | Scala |\n+-------+----------------------------------------------+-----------------+\n| 40 | SQL (sqlite3-3.7.3) | SQL |\n+-------+----------------------------------------------+-----------------+\n| 43 | Objective-C (gcc-4.5.1) | Objective-C |\n+-------+----------------------------------------------+-----------------+\n| 44 | C++0x (gcc-4.5.1) | C++0x |\n+-------+----------------------------------------------+-----------------+\n| 45 | Assembler (gcc-4.3.4) | Assembler |\n+-------+----------------------------------------------+-----------------+\n| 54 | Perl 6 (rakudo-2010.08) | Perl 6 |\n+-------+----------------------------------------------+-----------------+\n| 55 | Java7 (sun-jdk-1.7.0_03) | Java7 |\n+-------+----------------------------------------------+-----------------+\n| 62 | Text (text 6.10) | Text |\n+-------+----------------------------------------------+-----------------+\n| 101 | VB.NET (mono-2.4.2.3) | VB.NET |\n+-------+----------------------------------------------+-----------------+\n| 102 | D (dmd) (dmd-2.042) | D |\n+-------+----------------------------------------------+-----------------+\n| 104 | AWK (gawk) (gawk-3.1.6) | AWK |\n+-------+----------------------------------------------+-----------------+\n| 105 | AWK (mawk) (mawk-1.3.3) | AWK |\n+-------+----------------------------------------------+-----------------+\n| 106 | COBOL 85 (tinycobol-0.65.9) | COBOL 85 |\n+-------+----------------------------------------------+-----------------+\n| 107 | Forth (gforth-0.7.0) | Forth |\n+-------+----------------------------------------------+-----------------+\n| 108 | Prolog (gnu) (gprolog-1.3.1) | Prolog |\n+-------+----------------------------------------------+-----------------+\n| 110 | bc (bc-1.06.95) | bc |\n+-------+----------------------------------------------+-----------------+\n| 111 | Clojure (clojure 1.3) | Clojure |\n+-------+----------------------------------------------+-----------------+\n| 112 | JavaScript (spidermonkey) (spidermonkey-1.7) | JavaScript |\n+-------+----------------------------------------------+-----------------+\n| 114 | Go (gc-2010-07-14) | Go |\n+-------+----------------------------------------------+-----------------+\n| 115 | Unlambda (unlambda-2.0.0) | Unlambda |\n+-------+----------------------------------------------+-----------------+\n| 116 | Python 3 (python-3.1.2) | Python 3 |\n+-------+----------------------------------------------+-----------------+\n| 117 | R (R-2.11.1) | R |\n+-------+----------------------------------------------+-----------------+\n| 118 | COBOL (open-cobol-1.0) | COBOL |\n+-------+----------------------------------------------+-----------------+\n| 119 | Oz (mozart-1.4.0) | Oz |\n+-------+----------------------------------------------+-----------------+\n| 121 | Groovy (groovy-1.8.6) | Groovy |\n+-------+----------------------------------------------+-----------------+\n| 122 | Nimrod (nimrod-0.8.8) | Nimrod |\n+-------+----------------------------------------------+-----------------+\n| 123 | Factor (factor-0.93) | Factor |\n+-------+----------------------------------------------+-----------------+\n| 124 | F# (fsharp-2.0.0) | F# |\n+-------+----------------------------------------------+-----------------+\n| 125 | Falcon (falcon-0.9.6.6) | Falcon |\n+-------+----------------------------------------------+-----------------+\n\n\n.. _ideone: http://ideone.com\n.. _Ideone API: http://ideone.com/api\n.. _PyPI: http://pypi.python.org/pypi/ideone\n.. _Ideone registration page: http://ideone.com/account/register", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jschaf/ideone-api/", "keywords": "API,ideone,codepad", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "ideone", "package_url": "https://pypi.org/project/ideone/", "platform": "any", "project_url": "https://pypi.org/project/ideone/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/jschaf/ideone-api/" }, "release_url": "https://pypi.org/project/ideone/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "A Python binding to the Ideone (Online Compiler) API.", "version": "0.2.0" }, "last_serial": 749239, "releases": { "0.0.1": [ { "comment_text": "built for Linux-2.6.37-ARCH-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.2.5", "digests": { "md5": "9b729a3ec5741cab1ed8a71f6202dd72", "sha256": "b39b151f39a4ce90fbdf21798f21158b7d58362a8a6108a6080747fb46e6ee0e" }, "downloads": -1, "filename": "ideone-0.0.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "9b729a3ec5741cab1ed8a71f6202dd72", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 5815, "upload_time": "2011-04-18T21:33:15", "url": "https://files.pythonhosted.org/packages/30/fc/048e7c75d7e618b68b315f5c665dd68cbfc57053274397d23ecf6b00adf3/ideone-0.0.1.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "75e0c8440f6d99e06e3bd0a69d7f7e56", "sha256": "508333bff1885e4fb2444e9b4fdf752cedb86cddc1ad7f8f6a41939675335116" }, "downloads": -1, "filename": "ideone-0.0.1.tar.gz", "has_sig": false, "md5_digest": "75e0c8440f6d99e06e3bd0a69d7f7e56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4093, "upload_time": "2011-04-18T21:33:14", "url": "https://files.pythonhosted.org/packages/e4/b8/b6e2b0256160bcff546c956ce5a17253c312b93acab724ad75eaa8a70e09/ideone-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "c8d7b720bf529d81c4e32de82c7c5518", "sha256": "442614e023a65c4070143587e30e5f6174f5860ea4451984585e0558287adb59" }, "downloads": -1, "filename": "ideone-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c8d7b720bf529d81c4e32de82c7c5518", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4154, "upload_time": "2011-04-30T10:07:19", "url": "https://files.pythonhosted.org/packages/b2/0b/01d926559edd78d9f8227e2ae933fef2fa7bcf93ed5e3d08bf9b274067e2/ideone-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "148f90dbc7248259cf25c038aed29ca9", "sha256": "30aa5341d568404eb24e74fda234079e6b254def794d41ccf2e2622dbdc5b1b4" }, "downloads": -1, "filename": "ideone-0.1.1.tar.gz", "has_sig": false, "md5_digest": "148f90dbc7248259cf25c038aed29ca9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4156, "upload_time": "2011-04-30T10:13:28", "url": "https://files.pythonhosted.org/packages/01/98/9c0b071248b40882282830213580f3fe5e6e4ab01a8311f00501bcde1ff9/ideone-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2e43f632cac05006606fbc27897f9582", "sha256": "aa9c29f9cda6cca6d7217a6129857b223f55a24db297ab54eca74e9a77cda842" }, "downloads": -1, "filename": "ideone-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2e43f632cac05006606fbc27897f9582", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5277, "upload_time": "2011-04-30T10:18:18", "url": "https://files.pythonhosted.org/packages/21/45/0d4408442b08db9eeba605fe87df0e861a1931f945ddbe7cb90cd1476021/ideone-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "8fe7ffa6dbd8bce92d74964de3f4aa50", "sha256": "93cce9c1f97209fff857a7094470221883fb1976f06be398b358dbc5b57ad47f" }, "downloads": -1, "filename": "ideone-0.1.3.tar.gz", "has_sig": false, "md5_digest": "8fe7ffa6dbd8bce92d74964de3f4aa50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5276, "upload_time": "2011-04-30T10:20:18", "url": "https://files.pythonhosted.org/packages/13/aa/64639473d4ef261b127489c13eb94ca66337b6eda0dad7f7ba087a5b5dd3/ideone-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "323362fe45e25e98646448ef01dc3494", "sha256": "e07374b5269f036630e52af84469f6f3802ea6e978d07fb204b985b3984c4adf" }, "downloads": -1, "filename": "ideone-0.1.4.tar.gz", "has_sig": false, "md5_digest": "323362fe45e25e98646448ef01dc3494", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5238, "upload_time": "2011-04-30T10:24:10", "url": "https://files.pythonhosted.org/packages/74/ee/3cd2dc9e5edc45ba10131e93e6b843a45b032f402327ea2996b36eeb4645/ideone-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "caf352b7bd4398b0c27949123868150c", "sha256": "0afb0723b82fb2b030d3183505332e7bf225a0ce147a4c992dcf55e01fce9b55" }, "downloads": -1, "filename": "ideone-0.2.0.tar.gz", "has_sig": false, "md5_digest": "caf352b7bd4398b0c27949123868150c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7715, "upload_time": "2012-05-28T01:18:12", "url": "https://files.pythonhosted.org/packages/b0/c9/f0b5b1554da4d9179acd4502cfae3e314282f8276b5f1f7dde8dadf08496/ideone-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "caf352b7bd4398b0c27949123868150c", "sha256": "0afb0723b82fb2b030d3183505332e7bf225a0ce147a4c992dcf55e01fce9b55" }, "downloads": -1, "filename": "ideone-0.2.0.tar.gz", "has_sig": false, "md5_digest": "caf352b7bd4398b0c27949123868150c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7715, "upload_time": "2012-05-28T01:18:12", "url": "https://files.pythonhosted.org/packages/b0/c9/f0b5b1554da4d9179acd4502cfae3e314282f8276b5f1f7dde8dadf08496/ideone-0.2.0.tar.gz" } ] }