{ "info": { "author": "Deginner", "author_email": "ira@deginner.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Topic :: Software Development :: Libraries" ], "description": "bravado-bitjws |PyPi version| |Build Status| |Coverage| |Gitter|\n================================================================\n\nBravado-bitjws is an add on for\n`Bravado `__ that allows\n`bitjws `__ authentication.\n\nInstall\n-------\n\nBy default it's expected that\n`secp256k1 `__ is available, so\ninstall it before proceeding; make sure to run\n``./configure --enable-module-recovery``. If you're using some other\nlibrary that provides the functionality necessary for this, check the\n**Using a custom library** section of the bitjws README.\n\nBravado-bitjws can be installed by running:\n\n``pip install bravado-bitjws``\n\nBuilding secp256k1\n''''''''''''''''''\n\nIn case you need to install the ``secp256k1`` C library, the following\nsequence of commands is recommended. If you already have ``secp256k1``,\nmake sure it was compiled from the expected git commit or it might fail\nto work due to API incompatibilities.\n\n::\n\n git clone git://github.com/bitcoin/secp256k1.git libsecp256k1\n cd libsecp256k1\n git checkout d7eb1ae96dfe9d497a26b3e7ff8b6f58e61e400a\n ./autogen.sh\n ./configure --enable-module-recovery\n make\n sudo make install\n\nUsage\n-----\n\nBravado-bitjws is used just like Bravado. The primary difference users\nneed to be aware of is the management of bitjws keys.\n\nCreate a client with existing keys\n''''''''''''''''''''''''''''''''''\n\n.. code:: Python\n\n # Your bitjws private key in WIF\n privkey = \"KweY4PozGhtkGPMvvD7vk7nLiN6211XZ2QGxLBMginAQW7MBbgp8\"\n\n # the URL of the swagger spec\n url = \"http://0.0.0.0:8002/static/swagger.json\"\n\n # initialize your client\n client = BitJWSSwaggerClient.from_url(url, privkey=privkey)\n\nIf no key is provided to BitJWSSwaggerClient, one will be generated.\nHowever the private key originated, it is important to store private key\nsomewhere secure.\n\nKnown Limitations\n-----------------\n\nCurrently there is no management of server keys. This means that\nBravado-bitjws checks the signature of server responses, but trusts all\nkeys. It is up to the Bravado-bitjws user to match the server's key\nagainst a trusted list.\n\n.. |PyPi version| image:: https://img.shields.io/pypi/v/bravado-bitjws.svg\n :target: https://pypi.python.org/pypi/bravado-bitjws/\n.. |Build Status| image:: https://travis-ci.org/deginner/bravado-bitjws.svg?branch=master\n :target: https://travis-ci.org/deginner/bravado-bitjws\n.. |Coverage| image:: https://coveralls.io/repos/deginner/bravado-bitjws/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/deginner/bravado-bitjws?branch=master\n.. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg\n :target: https://gitter.im/deginner/bitjws?utm_source=share-link&utm_medium=link&utm_campaign=share-link\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/deginner/bravado-bitjws", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "bravado-bitjws", "package_url": "https://pypi.org/project/bravado-bitjws/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bravado-bitjws/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/deginner/bravado-bitjws" }, "release_url": "https://pypi.org/project/bravado-bitjws/0.1.2.1/", "requires_dist": null, "requires_python": null, "summary": "Library for accessing Swagger-enabled API's with bitjws authentication.", "version": "0.1.2.1" }, "last_serial": 1793085, "releases": { "0.0.9": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "cc272879847bae61ddf8cd12c77df0c1", "sha256": "8af943ae763ebfba9d72b5fb008d0043c942f238930a767467c1b73c67439a72" }, "downloads": -1, "filename": "bravado-bitjws-0.1.1.tar.gz", "has_sig": false, "md5_digest": "cc272879847bae61ddf8cd12c77df0c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5044, "upload_time": "2015-10-29T03:01:11", "url": "https://files.pythonhosted.org/packages/bd/36/be911011388726e4ec02cf430db30ff472c590d7238895d94c032cfbe47c/bravado-bitjws-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "eb679a43b31fe6e15a783e2d25d69833", "sha256": "ac43320a89145f5bb6190d6c2268260a7038fbac1b009bf69415e7916f11d6d2" }, "downloads": -1, "filename": "bravado-bitjws-0.1.2.tar.gz", "has_sig": false, "md5_digest": "eb679a43b31fe6e15a783e2d25d69833", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6634, "upload_time": "2015-10-29T05:45:07", "url": "https://files.pythonhosted.org/packages/00/f6/ba77d9c68f52eee201a782f7991fbcb624f1c57a728b4033df5468bee0c6/bravado-bitjws-0.1.2.tar.gz" } ], "0.1.2.1": [ { "comment_text": "", "digests": { "md5": "903687f5aec911770d28ec778d436dc2", "sha256": "a36a4dfa0f92ce15fd8ad4159da7f101bfe13df96058161fd66e8e71579ed120" }, "downloads": -1, "filename": "bravado-bitjws-0.1.2.1.tar.gz", "has_sig": false, "md5_digest": "903687f5aec911770d28ec778d436dc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6749, "upload_time": "2015-10-30T06:49:27", "url": "https://files.pythonhosted.org/packages/d8/d7/e63ef7c625b070a0e2c94cade39ede0720a14f49a43136fd2c93aaa51293/bravado-bitjws-0.1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "903687f5aec911770d28ec778d436dc2", "sha256": "a36a4dfa0f92ce15fd8ad4159da7f101bfe13df96058161fd66e8e71579ed120" }, "downloads": -1, "filename": "bravado-bitjws-0.1.2.1.tar.gz", "has_sig": false, "md5_digest": "903687f5aec911770d28ec778d436dc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6749, "upload_time": "2015-10-30T06:49:27", "url": "https://files.pythonhosted.org/packages/d8/d7/e63ef7c625b070a0e2c94cade39ede0720a14f49a43136fd2c93aaa51293/bravado-bitjws-0.1.2.1.tar.gz" } ] }