BitCoin Network Information Library
Project description
This is a bitcoin network information library.
Currently it is the backend polling implementation for bitHopper although anyone may use. Note that it uses gevent.
It has two main methods.
The first one returns a list of pools.
EX:
import btcnet_info
for pool in btcnet_info.get_pools:
print pool.name
print pool.shares
It also allows you to iterate over know coins
EX:
import btcnet_info
for pool in btcnet_info.get_coins():
print coin.name
print coin.difficulty
If you don't like this you can also get difficulties and exchange rates directly
EX:
import btcnet_info
print btcnet_info.get_difficulty('btc')
print btcnet_info.get_exchange('btc')
Currently it is the backend polling implementation for bitHopper although anyone may use. Note that it uses gevent.
It has two main methods.
The first one returns a list of pools.
EX:
import btcnet_info
for pool in btcnet_info.get_pools:
print pool.name
print pool.shares
It also allows you to iterate over know coins
EX:
import btcnet_info
for pool in btcnet_info.get_coins():
print coin.name
print coin.difficulty
If you don't like this you can also get difficulties and exchange rates directly
EX:
import btcnet_info
print btcnet_info.get_difficulty('btc')
print btcnet_info.get_exchange('btc')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
btcnet_info-0.1.2.36.tar.gz
(14.4 kB
view details)
File details
Details for the file btcnet_info-0.1.2.36.tar.gz
.
File metadata
- Download URL: btcnet_info-0.1.2.36.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b1a499707117814734cebb24bafd20df22962ca1213fb3267da2f7f65f5f7c4 |
|
MD5 | 4ffc7c3114abed47926bb1820689fd8f |
|
BLAKE2b-256 | b7d950904aa143f3b97dc725045ad1b2738a9bb964f9262ccf307b0d5735d26e |