Tools for exporting Tezos blockchain data to JSON
Project description
Tezos ETL
Full documentation available here.
Quickstart
Install Tezos ETL:
pip install tezos-etl
Export blocks, balance updates and operations (Schema, Reference):
tezosetl export --start-block 1 --end-block 100 \
--provider-uri https://mainnet.api.tez.ie --output-dir output --output-format json
For the latest version, checkout the repo and call
pip install -e .
python tezosetl.py
Running Tests
pip install -e .[dev]
echo "TEZOSETL_PROVIDER_URI variable is optional"
export TEZOSETL_PROVIDER_URI=https://mainnet.api.tez.ie
pytest -vv
Running Tox Tests
pip install tox
tox
Running in Docker
-
Install Docker https://docs.docker.com/install/
-
Build a docker image:
docker build -t tezos-etl:latest . docker image ls
-
Start the export using the image:
docker run -v $HOME/output:/tezos-etl/output tezos-etl:latest export_partitioned \ -s 2018-06-30 -e 2018-07-01 -p https://mainnet.api.tez.ie --output-format csv
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
tezos-etl-1.4.6.tar.gz
(12.2 kB
view details)
File details
Details for the file tezos-etl-1.4.6.tar.gz
.
File metadata
- Download URL: tezos-etl-1.4.6.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75d27f4846db2a038befc85e4abbead4d6346b87b229ab5f8bc2d7f1b81418e5 |
|
MD5 | a12cadbe2d29a5ab55c44bc8dfd916e1 |
|
BLAKE2b-256 | 3277bf6eefe36a520906283c9c952445e4b62212e83b66241a2ffe37bc09c8b4 |