py-bitcoinrpc: added version 1.0
AuthServiceProxy is an improved version of python-jsonrpc. It includes the following generic improvements: * HTTP connections persist for the life of the AuthServiceProxy object * sends protocol 'version', per JSON-RPC 1.1 * sends proper, incrementing 'id' * uses standard Python json lib * can optionally log all RPC calls and results * JSON-2.0 batch support It also includes the following bitcoin-specific details: * sends Basic HTTP authentication headers * parses all JSON numbers that look like floats as Decimal, and serializes Decimal values to JSON-RPC connections.
This commit is contained in:
parent
3d64ba8ed3
commit
4f53fa4e49
5 changed files with 46 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.69 2019/11/25 18:24:49 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.70 2019/12/03 16:32:16 adam Exp $
|
||||
#
|
||||
|
||||
COMMENT= Monetary, financial and related applications
|
||||
|
@ -31,6 +31,7 @@ SUBDIR+= py-alpha_vantage
|
|||
SUBDIR+= py-alphalens
|
||||
SUBDIR+= py-backtrader
|
||||
SUBDIR+= py-bitcoinlib
|
||||
SUBDIR+= py-bitcoinrpc
|
||||
SUBDIR+= py-braintree
|
||||
SUBDIR+= py-empyrical
|
||||
SUBDIR+= py-fecon235
|
||||
|
|
14
finance/py-bitcoinrpc/DESCR
Normal file
14
finance/py-bitcoinrpc/DESCR
Normal file
|
@ -0,0 +1,14 @@
|
|||
AuthServiceProxy is an improved version of python-jsonrpc.
|
||||
|
||||
It includes the following generic improvements:
|
||||
* HTTP connections persist for the life of the AuthServiceProxy object
|
||||
* sends protocol 'version', per JSON-RPC 1.1
|
||||
* sends proper, incrementing 'id'
|
||||
* uses standard Python json lib
|
||||
* can optionally log all RPC calls and results
|
||||
* JSON-2.0 batch support
|
||||
|
||||
It also includes the following bitcoin-specific details:
|
||||
* sends Basic HTTP authentication headers
|
||||
* parses all JSON numbers that look like floats as Decimal, and serializes
|
||||
Decimal values to JSON-RPC connections.
|
16
finance/py-bitcoinrpc/Makefile
Normal file
16
finance/py-bitcoinrpc/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
# $NetBSD: Makefile,v 1.1 2019/12/03 16:32:16 adam Exp $
|
||||
|
||||
DISTNAME= python-bitcoinrpc-1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
|
||||
CATEGORIES= finance python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-bitcoinrpc/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/jgarzik/python-bitcoinrpc
|
||||
COMMENT= Enhanced version of python-jsonrpc for use with Bitcoin
|
||||
LICENSE= gnu-lgpl-v2.1
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/python/distutils.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
8
finance/py-bitcoinrpc/PLIST
Normal file
8
finance/py-bitcoinrpc/PLIST
Normal file
|
@ -0,0 +1,8 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2019/12/03 16:32:16 adam Exp $
|
||||
${PYSITELIB}/${EGG_FILE}
|
||||
${PYSITELIB}/bitcoinrpc/__init__.py
|
||||
${PYSITELIB}/bitcoinrpc/__init__.pyc
|
||||
${PYSITELIB}/bitcoinrpc/__init__.pyo
|
||||
${PYSITELIB}/bitcoinrpc/authproxy.py
|
||||
${PYSITELIB}/bitcoinrpc/authproxy.pyc
|
||||
${PYSITELIB}/bitcoinrpc/authproxy.pyo
|
6
finance/py-bitcoinrpc/distinfo
Normal file
6
finance/py-bitcoinrpc/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2019/12/03 16:32:16 adam Exp $
|
||||
|
||||
SHA1 (python-bitcoinrpc-1.0.tar.gz) = c345fbf5a98f77d940fa58bad664211124899a63
|
||||
RMD160 (python-bitcoinrpc-1.0.tar.gz) = fc396d742c86b72d87d3e44f810a97e9ae38bfbf
|
||||
SHA512 (python-bitcoinrpc-1.0.tar.gz) = 75e6fe804b3e6340164030a25fde0ebee1fe573d590745d4f5634e2d850d35bdd20956b3a8523aabb55441eb6486f601d3cdb48564a8469df7656e7468b43608
|
||||
Size (python-bitcoinrpc-1.0.tar.gz) = 13146 bytes
|
Loading…
Reference in a new issue