Spark extension utils for blockchain
Project description
blockchain-spark: Spark extension utils for Web3
How to use
from spark3.transfomer import Transformer
t = Transformer()
df = spark.sql('select * from ethereum.traces limit 100')
df = t.parse_traces_input(df=df, abi='xxxx')
df.show()
from spark3.transfomer import Transformer
t = Transformer()
df = spark.sql('select * from ethereum.logs limit 100')
df = t.parse_logs_data(df=df, abi='xxxx')
df.show()
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
File details
Details for the file blockchain-spark-0.2.2.tar.gz
.
File metadata
- Download URL: blockchain-spark-0.2.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c1e071ecddba40563deae680f7828844d6dcaed855b67b023c32558af64dda2 |
|
MD5 | 1e325f6f4877809f47b9fd7b9259cc6d |
|
BLAKE2b-256 | 663c6526499fcb13845e2281742d0c0be20a6313f6fc747866077ed83c0bd016 |