setup.py 243B

123456789101112
  1. import sys
  2. import json
  3. sys.path.append("config/db")
  4. from db_setup import db_setup
  5. from db_read_csv_txs import db_insert_csv_txs
  6. config = json.load(open("./settings.json"))
  7. db_setup(config)
  8. db_insert_csv_txs(config, "./small_test_data.csv")