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')
Release files for btcnet_info 0.1.2.36
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| btcnet_info-0.1.2.36.tar.gz | 14.4 kB | Details |
Release files / btcnet_info-0.1.2.36.tar.gz
| Download URL | btcnet_info-0.1.2.36.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b1a499707117814734cebb24bafd20df22962ca1213fb3267da2f7f65f5f7c4
|
|
BLAKE2b-256 checksum How to use checksums |
b7d950904aa143f3b97dc725045ad1b2738a9bb964f9262ccf307b0d5735d26e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |