Skip to main content

Download on-chain data for bitcoin (works for cryptoquant)

Project description

ocfinance

Build Passing Tests Passing PyPI - Version PyPI Downloads GitHub License

ocfinance is a python package that enables you to download on-chain data from various sources, including Cryptoquant, CheckOnChain, etc.

Features

  • Easy Data Download: Download on-chain data from various sources with a single line of code.
  • CSV Export: Save data as CSV files for easy analysis in Excel or other tools.
  • Pandas Integration: Work with data directly as a pandas DataFrame for simple manipulation and analysis.
  • Customizable Queries: Specify start and end date parameters.

Documentation: https://ocfinance.readthedocs.io/

Complete documentation is available at: https://ocfinance.readthedocs.io/

Supported Websites

Installation

To install the ocfinance package, use pip:

pip install ocfinance

Quick Start

To download the data of a chart, simply obtain the URL and pass it to the download function

import ocfinance as of

# Download the data from the specified URL
data = of.download("https://charts.checkonchain.com/btconchain/pricing/pricing_picycleindicator/pricing_picycleindicator_light.html")

# Usage examples
# Export as CSV
data.to_csv('out.csv')

# Plot
data.plot()

For detailed usage instructions, including how to work with Cryptoquant data and advanced features, please refer to our documentation.

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

ocfinance-0.0.12.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocfinance-0.0.12-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file ocfinance-0.0.12.tar.gz.

File metadata

  • Download URL: ocfinance-0.0.12.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ocfinance-0.0.12.tar.gz
Algorithm Hash digest
SHA256 d8b49700c3b3d56a7268e4fabff54ff344af21d597b119260cbf11556f0300a1
MD5 b2d67f4ba9b95047d60d4eb4b22ab519
BLAKE2b-256 eba4821599dc0fe4cb667b72f6929b90765ba2d2cd42b4b41088870bfcc31bef

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocfinance-0.0.12.tar.gz:

Publisher: release.yml on dhruvan2006/ocfinance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ocfinance-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: ocfinance-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ocfinance-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1564ddddda188bc292971b47058808a23966c8812bfb0310d508d2621e3b796d
MD5 ae1c6d06a05fe4820f53f1c0963ab532
BLAKE2b-256 99094f1ba14f0ebb1c92361f18ff1b9c02475fb6d4629aacec1eb5e967389ede

See more details on using hashes here.

Provenance

The following attestation bundles were made for ocfinance-0.0.12-py3-none-any.whl:

Publisher: release.yml on dhruvan2006/ocfinance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page