Script pour obtenir une animation de la toile de confiance duniter. [dépôt archivé] le code a été intégré à DataJune (
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

23 lines
764 B

# This command line program calls the JSON blockchain browser
import os
import argparse
import blockchain_browser
from os.path import expanduser
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("-i", "--input", help="tell custom chunk location",
".config/duniter/duniter_default/g1"), action="store")
parser.add_argument("-o", "--output", help="tell custom output directory",
default="./output", action="store")
args = parser.parse_args()
# create output directory
if not os.path.exists(args.output):
# parse blocks and write files
blockchain_browser.main(args.input, args.output)