{ "info": { "author": "Mixnode Technologies Inc.", "author_email": "devsteelcoder@gmail.com", "bugtrack_url": null, "classifiers": [ "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Mixnode Python SDK\n==================\n\nOverview\n--------\n\nThe Mixnode `Python `__ SDK allows you to\neasily integrate the Mixnode REST APIs into your Python application.\n\nRequirements\n~~~~~~~~~~~~\n\n- Python2 and above.\n- A Mixnode API key from a registered user on the `Mixnode\n portal `__.\n\nInstallation\n~~~~~~~~~~~~\n\n.. code:: sh\n\n pip install mixnode-py-sdk\n\nTutorial\n--------\n\nFollow this tutorial to see a step-by-step guide and examples of how to\nuse the Mixnode Python SDK.\n\nGet the API key from Mixnode portal\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n- Create an account on `Mixnode `__.\n- If already registered, then login and navigate to api key page.\n- Dashboard -> Choose API from left menu -> Note the API key.\n- Or, directly navigate to https://www.mixnode.com/account/api to find\n your API key.\n\nAuthentication\n~~~~~~~~~~~~~~\n\nThis SDK comes with Basic Authentication over HTTPS which requires you\nto pass your Mixnode API key using a config file or as a string during\nclient instantiation.\n\nBasic Authentication\n^^^^^^^^^^^^^^^^^^^^\n\nThis type of token is given directly to the application.\n\n.. code:: Python\n\n from mixnode import Mixnode\n\n # Create an instance of the Mixnode Client\n client = Mixnode(\"Your API Key\") #add your API KEY here; available at https://www.mixnode.com/account/api\n\nNote that ``api_key`` can also be passed as a JSON object in a config\nfile to avoid specifying the key in the code. Please see\n`Examples `__\n\nQuick Start\n^^^^^^^^^^^\n\n.. code:: Python\n\n from mixnode import Mixnode, MixnodeError\n try:\n query = \"SELECT url, title from homepages LIMIT 10\"\n response = Mixnode(\"Your API Key\").execute(query)\n print(response)\n except MixnodeError as error:\n print(error)\n\nMixnode's execute functionality\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n``execute`` is a synchronous operation which builds response based on\npaging Mixnode SQL API.\n\nexecute can accept upto two parameters : query, inputLimit (optional).\n''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''\n\nPlease see various\n`Examples `__\nfor usage details.\n\n.. code:: Python\n\n from mixnode import Mixnode, MixnodeError\n try:\n response = Mixnode(\"Your API Key\").execute(query)\n # Do something with response\n except MixnodeError as error:\n # Do something with error\n\n.. code:: Python\n\n from mixnode import Mixnode, MixnodeError\n try:\n # Fires a query and also sets the input limit on the data to be scanned\n response = Mixnode(\"Your API Key\").execute(query, inputLimit)\n # Do something with response\n except MixnodeError as error:\n # Do something with error\n\nSDK debugging\n^^^^^^^^^^^^^\n\nTurning on the debug mode logs the HTTP requests being sent to the\nMixnode API. This is useful to verify if the queries being sent are\ncorrect or to verify if query execution is in progress.\n\n.. code:: Python\n\n # Setting debug to true logs the state of the application.\n # Do not use this in production.\n Mixnode(\"Your API Key\").setDebug(True);\n\nExamples: Mixnode Python Client\n-------------------------------\n\n`Examples `__\n\nSupport\n-------\n\nhi@mixnode.com\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/Mixnode/mixnode-py-sdk", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Mixnode/mixnode-py-sdk", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "mixnode-py-sdk", "package_url": "https://pypi.org/project/mixnode-py-sdk/", "platform": "", "project_url": "https://pypi.org/project/mixnode-py-sdk/", "project_urls": { "Download": "https://github.com/Mixnode/mixnode-py-sdk", "Homepage": "https://github.com/Mixnode/mixnode-py-sdk" }, "release_url": "https://pypi.org/project/mixnode-py-sdk/1.0.2/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Mixnode Python SDK", "version": "1.0.2" }, "last_serial": 5179966, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "eda862b873b92328698b7d90db7a18f5", "sha256": "c05b5f6d5141f001717fac61331e66b0e6131e0d5b7f89fd62b2a2f474c99837" }, "downloads": -1, "filename": "mixnode_py_sdk-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eda862b873b92328698b7d90db7a18f5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11842, "upload_time": "2019-04-16T06:12:58", "url": "https://files.pythonhosted.org/packages/4a/ab/7f6041ff85a5e6b323c7c54d8a82a99b19b9f7fc6d4bda7c1a9e40d21592/mixnode_py_sdk-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "db6fe8b4a80484ee95f2b354590a785c", "sha256": "44190e78c1e749b0d62a9b90b31cb3115196606a5a01aa38d1f8e1a5f3b3c41a" }, "downloads": -1, "filename": "mixnode-py-sdk-1.0.0.tar.gz", "has_sig": false, "md5_digest": "db6fe8b4a80484ee95f2b354590a785c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 184441, "upload_time": "2019-04-16T06:13:01", "url": "https://files.pythonhosted.org/packages/a6/41/c747a0568e043c3750650767eb11d30250beacc9894fe5a9bff02b0de905/mixnode-py-sdk-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e9d1ba46ad1121bbde0de8f7b16008a9", "sha256": "ec6c3deb1dfae968bea63c59d9eee411f8ecab879b0285f10c579f2f6cb5ed5a" }, "downloads": -1, "filename": "mixnode_py_sdk-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9d1ba46ad1121bbde0de8f7b16008a9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11845, "upload_time": "2019-04-18T07:01:35", "url": "https://files.pythonhosted.org/packages/0c/4d/50a9d960c67a64273b18ee8aea7607956b95b8101e16c075e2393c22f3a3/mixnode_py_sdk-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "19b53cb34625cd928774d4e4a6bbf776", "sha256": "04e019fd5276784f0d4ccc3aae80661cf9cbc5de31175f20c8aa20c4b28402a0" }, "downloads": -1, "filename": "mixnode-py-sdk-1.0.1.tar.gz", "has_sig": false, "md5_digest": "19b53cb34625cd928774d4e4a6bbf776", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 184451, "upload_time": "2019-04-18T07:01:37", "url": "https://files.pythonhosted.org/packages/ac/98/8b04da75214544f64499014bf2bf440a2825254aa9cb014dd582cef2059c/mixnode-py-sdk-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "962504bf5f0251c0d686877fc3cf47c7", "sha256": "1db1e9855f58c5073abf5152d3e7a30bbaa368b9bc5b6e5d71530b9d14cb495d" }, "downloads": -1, "filename": "mixnode_py_sdk-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "962504bf5f0251c0d686877fc3cf47c7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11847, "upload_time": "2019-04-24T02:13:48", "url": "https://files.pythonhosted.org/packages/6f/aa/1e7ac5fd0ea35af7f4476fd7e994db59fe502482acd78d1ad4b7048ad1dc/mixnode_py_sdk-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "748ac610988e3fcd3523767a96e7ed58", "sha256": "dba519e0b1a1eaf75056c313e45bbc1e516e421338a5b00b55457d54400c4b50" }, "downloads": -1, "filename": "mixnode-py-sdk-1.0.2.tar.gz", "has_sig": false, "md5_digest": "748ac610988e3fcd3523767a96e7ed58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 184443, "upload_time": "2019-04-24T02:13:51", "url": "https://files.pythonhosted.org/packages/a0/dc/383120d6936a565075275faeba4f1412e40be2dced667419a6822f0da574/mixnode-py-sdk-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "962504bf5f0251c0d686877fc3cf47c7", "sha256": "1db1e9855f58c5073abf5152d3e7a30bbaa368b9bc5b6e5d71530b9d14cb495d" }, "downloads": -1, "filename": "mixnode_py_sdk-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "962504bf5f0251c0d686877fc3cf47c7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11847, "upload_time": "2019-04-24T02:13:48", "url": "https://files.pythonhosted.org/packages/6f/aa/1e7ac5fd0ea35af7f4476fd7e994db59fe502482acd78d1ad4b7048ad1dc/mixnode_py_sdk-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "748ac610988e3fcd3523767a96e7ed58", "sha256": "dba519e0b1a1eaf75056c313e45bbc1e516e421338a5b00b55457d54400c4b50" }, "downloads": -1, "filename": "mixnode-py-sdk-1.0.2.tar.gz", "has_sig": false, "md5_digest": "748ac610988e3fcd3523767a96e7ed58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 184443, "upload_time": "2019-04-24T02:13:51", "url": "https://files.pythonhosted.org/packages/a0/dc/383120d6936a565075275faeba4f1412e40be2dced667419a6822f0da574/mixnode-py-sdk-1.0.2.tar.gz" } ] }