{ "info": { "author": "Ankur Srivastava", "author_email": "best.ankur@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "==========\npyswitcheo\n==========\n\n.. image:: https://raw.githubusercontent.com/ansrivas/pyswitcheo/master/docs/source/_static/2.png\n :width: 100px\n :height: 100px\n :alt: Switcheo Decentralized Exchange\n :align: left\n\n|License: MIT| |CircleCI| |Coverage| |Documentation|\n\n**pyswitcheo** is a simple python client to interact with `Switcheo Decentralized Exchange `_\n\nCurrent Alpha Version\n----------------------\n\n::\n\n 0.1.1\n\nInstallation\n------------\n\npip\n~~~\n\n.. code-block:: bash\n\n $ pip install pyswitcheo\n\n\nGetting Started\n----------------\n\nClient example\n\n.. code-block:: python\n\n import json\n from http import HTTPStatus\n from pyswitcheo.api import SwitcheoApi\n\n if __name__ == '__main__':\n client = SwitcheoApi(base_url=\"https://test-api.switcheo.network\")\n\n resp = client.list_contracts()\n if resp.status_code == HTTPStatus.OK:\n print(json.loads(resp.text.encode(\"UTF-8\")))\n\n\nMore examples are located at `examples `_\n\n\nDevelopment Installation\n-------------------------\n\n\n- This project uses ``pipenv`` for python environment management.\n- Download/Install ``pipenv`` like this ``pip install --user pipenv``\n- Clone the project.\n- Inside the project directory run ``pipenv install``.\n- This will create a python virtualenv which can be activated using ``pipenv shell``.\n- Now install the application in editable mode and you are ready to\n start development\n\n ::\n\n $ pip install -e .\n\nTest\n----\n\nTo run the tests:\n\n::\n\n make test\n\n\n-------\n\nDocumentation theme is highly inspired by `Aiohttp `_.\n\n\n.. |License: MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n :target: https://opensource.org/licenses/MIT\n.. |CircleCI| image:: https://circleci.com/gh/ansrivas/pyswitcheo.svg?style=svg\n :target: https://circleci.com/gh/ansrivas/pyswitcheo\n.. |Coverage| image:: https://coveralls.io/repos/github/ansrivas/pyswitcheo/badge.svg\n :target: https://coveralls.io/github/ansrivas/pyswitcheo\n.. |Documentation| image:: https://readthedocs.org/projects/pyswitcheo/badge/?version=latest\n :target: https://pyswitcheo.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/ansrivas/pyswitcheo/archive/0.1.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyswitcheo", "package_url": "https://pypi.org/project/pyswitcheo/", "platform": "", "project_url": "https://pypi.org/project/pyswitcheo/", "project_urls": { "Download": "https://github.com/ansrivas/pyswitcheo/archive/0.1.1.tar.gz" }, "release_url": "https://pypi.org/project/pyswitcheo/0.1.1/", "requires_dist": [ "requests (==2.19.1)", "neocore", "jsonschema (==2.6.0)" ], "requires_python": "", "summary": "Python library to interact with switcheo APIs", "version": "0.1.1" }, "last_serial": 4182679, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4e5946ec15d12a850724ae06d789bc97", "sha256": "4c185ef4cad81770e938097b77195c054b09f8b8044ed0d1912b83dbfce1499f" }, "downloads": -1, "filename": "pyswitcheo-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4e5946ec15d12a850724ae06d789bc97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 32991, "upload_time": "2018-08-12T16:31:34", "url": "https://files.pythonhosted.org/packages/9c/48/73d893f4b21def6558f8efcb2c7e3d70abbcd66a223c8a3bbc5473a9f5f7/pyswitcheo-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "254510667b1f1d63b005b39dbf56e97c", "sha256": "71a4c364cba7fd663a0f07a231f04be4f5a9cb746ed70e58764b8642f81e6568" }, "downloads": -1, "filename": "pyswitcheo-0.1.0.tar.gz", "has_sig": false, "md5_digest": "254510667b1f1d63b005b39dbf56e97c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20990, "upload_time": "2018-08-12T16:31:35", "url": "https://files.pythonhosted.org/packages/e8/a5/5ffe0ad46580e2cbb859bd178780f6931af22139a9e5b85951a88004db35/pyswitcheo-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9183ad955c4c957fb409b03886fe7a42", "sha256": "f470f5680964b07442fb58e22f10bef782522f7a6bf63b2f32e336e7d16924b0" }, "downloads": -1, "filename": "pyswitcheo-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9183ad955c4c957fb409b03886fe7a42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35672, "upload_time": "2018-08-18T09:29:59", "url": "https://files.pythonhosted.org/packages/d3/12/27f731dbc68d82946af417e391457918d0838831bbc423f5f587f5f1b0a9/pyswitcheo-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52028eca4bdab72d49a77e68c193595c", "sha256": "3f7468d114b90c9ecdf389bf864ae6150d3ccaafa65b6940f6297e67c298b65e" }, "downloads": -1, "filename": "pyswitcheo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "52028eca4bdab72d49a77e68c193595c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21359, "upload_time": "2018-08-18T09:30:01", "url": "https://files.pythonhosted.org/packages/d1/81/fd9133355afce8c795f3d270d7f0a0a765df0d32db3af5fd0305bde309f0/pyswitcheo-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9183ad955c4c957fb409b03886fe7a42", "sha256": "f470f5680964b07442fb58e22f10bef782522f7a6bf63b2f32e336e7d16924b0" }, "downloads": -1, "filename": "pyswitcheo-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9183ad955c4c957fb409b03886fe7a42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 35672, "upload_time": "2018-08-18T09:29:59", "url": "https://files.pythonhosted.org/packages/d3/12/27f731dbc68d82946af417e391457918d0838831bbc423f5f587f5f1b0a9/pyswitcheo-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52028eca4bdab72d49a77e68c193595c", "sha256": "3f7468d114b90c9ecdf389bf864ae6150d3ccaafa65b6940f6297e67c298b65e" }, "downloads": -1, "filename": "pyswitcheo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "52028eca4bdab72d49a77e68c193595c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21359, "upload_time": "2018-08-18T09:30:01", "url": "https://files.pythonhosted.org/packages/d1/81/fd9133355afce8c795f3d270d7f0a0a765df0d32db3af5fd0305bde309f0/pyswitcheo-0.1.1.tar.gz" } ] }