Skip to main content

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.

import btcnet_info
for pool in btcnet_info.get_pools:
print pool.shares

It also allows you to iterate over know coins

import btcnet_info
for pool in btcnet_info.get_coins():
print coin.difficulty

If you don't like this you can also get difficulties and exchange rates directly

import btcnet_info
print btcnet_info.get_difficulty('btc')
print btcnet_info.get_exchange('btc')

Project details

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- (14.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page