Skip to main content

peercoin_rpc

License: MIT PyPI Code style: black

Peercoin_rpc is a simple and minimal library made for communication with peercoind via JSON-RPC protocol. It has a single dependency - a Python requests library and it supports both mainnet and testnet peercoin network with authentication or SSL encryption. There is a single class to be imported from the library - Client.

Client class methods are named the same as ppcoind RPC methods so learning curve is non-existant.

Install

pip install git+git://github.com/peercoin/peercoin_rpc.git

or

pip install peercoin_rpc

How to use

from peercoin_rpc import Client

Spawn a new Client object with desired arguments:

ppcnode = Client(testnet=True, username="username", password="password", ip=, port=)

Use it:

ppcnode.getinfo()

ppcnode.getpeerinfo()

ppcnode.getbalance()

Release files for peercoin-rpc 0.61

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peercoin-rpc 0.61
File Size Uploaded
peercoin_rpc-0.61.tar.gz 5.0 kB Details

Release files / peercoin_rpc-0.61.tar.gz

Download URL peercoin_rpc-0.61.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9d26d0bf04da570b6c2916471fe6271678621849c3e01dab1a0b5b54ca4ba5fe
BLAKE2b-256 checksum
How to use checksums
060874f0df2b4953230f18d96956c7dbb13f5bb97c9cf29121a3706df0b3dbdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.61 This release

1 release file

0.60

2 release files

0.59

1 release file

0.58

1 release file

0.57

1 release file

0.56

1 release file

0.55.1

1 release file

0.55

1 release file

0.50

1 release file

0.49

1 release file

0.48

1 release file

0.47

1 release file

0.46

1 release file

0.45

1 release file

0.44

1 release file

0.43

1 release file

0.42

1 release file

0.41

0.4

1 release file

0.3

1 release file

0.2.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page