{ "info": { "author": "CoinWISE", "author_email": "safewise@coinwise.io", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3 :: Only" ], "description": "# python-safewise\n\n\nPython library and commandline client for communicating with SafeWISE\nHardware Wallet\n\nSee for more information\n\n## Install\n\nPython-safewise requires Python 3.3 or higher, and libusb 1.0. The easiest\nway to install it is with `pip`. The rest of this guide assumes you have\na working `pip`; if not, you can refer to [this\nguide](https://packaging.python.org/tutorials/installing-packages/).\n\n\nIn addition to the above, you need to install development headers for\nHIDAPI.\n\n#### Debian / Ubuntu\n\nOn a Debian or Ubuntu based system, you can install these:\n\n```sh\nsudo apt-get install python3-dev python3-pip cython3 libusb-1.0-0-dev libudev-dev\n```\n\n#### Windows\n\nOn a Windows based system, you can install these (for more info on choco, refer to [this](https://chocolatey.org/install)):\n\n```sh\nchoco install vcbuildtools python3 protoc\nrefreshenv\npip3 install protobuf\n```\n\nWhen installing the safewise library, you need to specify that you want\n`hidapi`:\n\n```sh\npip3 install --upgrade setuptools\npip3 install safewise[hidapi]\n```\n\n### Ethereum support\n\nEthereum requires additional python packages. Instead of\n`pip3 install safewise`, specify `pip3 install safewise[ethereum]`.\n\nYou can combine it with the above, to get both HIDAPI and Ethereum\nsupport:\n\n```sh\npip3 install safewise[ethereum,hidapi]\n```\n\n### FreeBSD\n\nOn FreeBSD you can install the packages:\n\n```sh\npkg install security/py-safewise\n```\n\nor build via ports:\n\n```sh\ncd /usr/ports/security/py-safewise\nmake install clean\n```\n\n## Command line client (safewisectl)\n\nThe included `safewisectl` python script can perform various tasks such as\nchanging setting in the SafeWISE, signing transactions, retrieving account\ninfo and addresses. See the [docs/](docs/) sub folder for detailed\nexamples and options.\n\n\n## Python Library\n\nYou can use this python library to interact with a SafeWISE and\nuse its capabilities in your application. See examples here in the\n[tools/](tools/) sub folder.\n\n## PIN Entering\n\nWhen you are asked for PIN, you have to enter scrambled PIN. Follow the\nnumbers shown on SafeWISE display and enter the their positions using the\nnumeric keyboard mapping:\n\n| | | |\n|---|---|---|\n| 7 | 8 | 9 |\n| 4 | 5 | 6 |\n| 1 | 2 | 3 |\n\nExample: your PIN is **1234** and SafeWISE is displaying the following:\n\n| | | |\n|---|---|---|\n| 2 | 8 | 3 |\n| 5 | 4 | 6 |\n| 7 | 9 | 1 |\n\nYou have to enter: **3795**", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/coinwise-io/safewise-python", "keywords": "", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "safewise", "package_url": "https://pypi.org/project/safewise/", "platform": "", "project_url": "https://pypi.org/project/safewise/", "project_urls": { "Homepage": "https://github.com/coinwise-io/safewise-python" }, "release_url": "https://pypi.org/project/safewise/1.1.0/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Python library for communicating with SafeWISE Hardware Wallet", "version": "1.1.0" }, "last_serial": 4874846, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "cef88e7347ee9145162fbdc4a6723675", "sha256": "503a583726139019ba1e4068d28024e11e421772bd6acb1c0c696add6df88e82" }, "downloads": -1, "filename": "safewise-1.0.0.tar.gz", "has_sig": false, "md5_digest": "cef88e7347ee9145162fbdc4a6723675", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.3", "size": 627457, "upload_time": "2018-12-18T16:11:47", "url": "https://files.pythonhosted.org/packages/c6/4e/a1c7132e2b031c505d33035b008352669ee306dc67a2d42d4e2414c2a803/safewise-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "ec8bf170bfc55f96e01f1c15dcb5344f", "sha256": "8740676c23bb4b3be0a85a4551dd28c500e031c2e9e3d3b759aa106f48e85f23" }, "downloads": -1, "filename": "safewise-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec8bf170bfc55f96e01f1c15dcb5344f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 456847, "upload_time": "2019-02-27T15:37:06", "url": "https://files.pythonhosted.org/packages/18/7c/204d3b4cbeecf76fd44d63be5d96bf2df156c084cbc1663f78ec27f02593/safewise-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e5482d06f78c868a0683be37ddf4589", "sha256": "22010d642cffe4a637d33b30e07c66b1bfa92b18d2eaf0b37ac045553d30cc42" }, "downloads": -1, "filename": "safewise-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9e5482d06f78c868a0683be37ddf4589", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 1389013, "upload_time": "2019-02-25T21:56:01", "url": "https://files.pythonhosted.org/packages/5e/4e/e3bdc7aac7d39bf380876057d0cfeb3d13521438397ac4686c3031310085/safewise-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec8bf170bfc55f96e01f1c15dcb5344f", "sha256": "8740676c23bb4b3be0a85a4551dd28c500e031c2e9e3d3b759aa106f48e85f23" }, "downloads": -1, "filename": "safewise-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec8bf170bfc55f96e01f1c15dcb5344f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 456847, "upload_time": "2019-02-27T15:37:06", "url": "https://files.pythonhosted.org/packages/18/7c/204d3b4cbeecf76fd44d63be5d96bf2df156c084cbc1663f78ec27f02593/safewise-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e5482d06f78c868a0683be37ddf4589", "sha256": "22010d642cffe4a637d33b30e07c66b1bfa92b18d2eaf0b37ac045553d30cc42" }, "downloads": -1, "filename": "safewise-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9e5482d06f78c868a0683be37ddf4589", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 1389013, "upload_time": "2019-02-25T21:56:01", "url": "https://files.pythonhosted.org/packages/5e/4e/e3bdc7aac7d39bf380876057d0cfeb3d13521438397ac4686c3031310085/safewise-1.1.0.tar.gz" } ] }