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.
Metadata
Release files for ocfinance 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ocfinance-0.0.12.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ocfinance-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 kB
Release files / ocfinance-0.0.12.tar.gz
| Download URL | ocfinance-0.0.12.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8b49700c3b3d56a7268e4fabff54ff344af21d597b119260cbf11556f0300a1
|
|
BLAKE2b-256 checksum How to use checksums |
eba4821599dc0fe4cb667b72f6929b90765ba2d2cd42b4b41088870bfcc31bef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2025.
Transparency logRelease files / ocfinance-0.0.12-py3-none-any.whl
| Download URL | ocfinance-0.0.12-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1564ddddda188bc292971b47058808a23966c8812bfb0310d508d2621e3b796d
|
|
BLAKE2b-256 checksum How to use checksums |
99094f1ba14f0ebb1c92361f18ff1b9c02475fb6d4629aacec1eb5e967389ede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2025.
Transparency log