Download on-chain data for bitcoin (works for cryptoquant)
Project description
ocfinance
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8b49700c3b3d56a7268e4fabff54ff344af21d597b119260cbf11556f0300a1
|
|
| MD5 |
b2d67f4ba9b95047d60d4eb4b22ab519
|
|
| BLAKE2b-256 |
eba4821599dc0fe4cb667b72f6929b90765ba2d2cd42b4b41088870bfcc31bef
|
Provenance
The following attestation bundles were made for ocfinance-0.0.12.tar.gz:
Publisher:
release.yml on dhruvan2006/ocfinance
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ocfinance-0.0.12.tar.gz -
Subject digest:
d8b49700c3b3d56a7268e4fabff54ff344af21d597b119260cbf11556f0300a1 - Sigstore transparency entry: 416366850
- Sigstore integration time:
-
Permalink:
dhruvan2006/ocfinance@5fa5a60a7e3beb4192a11bccc5cfa3c1ad213fd7 -
Branch / Tag:
refs/tags/0.0.12 - Owner: https://github.com/dhruvan2006
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5fa5a60a7e3beb4192a11bccc5cfa3c1ad213fd7 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1564ddddda188bc292971b47058808a23966c8812bfb0310d508d2621e3b796d
|
|
| MD5 |
ae1c6d06a05fe4820f53f1c0963ab532
|
|
| BLAKE2b-256 |
99094f1ba14f0ebb1c92361f18ff1b9c02475fb6d4629aacec1eb5e967389ede
|
Provenance
The following attestation bundles were made for ocfinance-0.0.12-py3-none-any.whl:
Publisher:
release.yml on dhruvan2006/ocfinance
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ocfinance-0.0.12-py3-none-any.whl -
Subject digest:
1564ddddda188bc292971b47058808a23966c8812bfb0310d508d2621e3b796d - Sigstore transparency entry: 416366874
- Sigstore integration time:
-
Permalink:
dhruvan2006/ocfinance@5fa5a60a7e3beb4192a11bccc5cfa3c1ad213fd7 -
Branch / Tag:
refs/tags/0.0.12 - Owner: https://github.com/dhruvan2006
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5fa5a60a7e3beb4192a11bccc5cfa3c1ad213fd7 -
Trigger Event:
push
-
Statement type: