Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 542 Bytes

File metadata and controls

13 lines (7 loc) · 542 Bytes

insert_csv

Reads domains and organizations from any/all .csv files located within the current working directory, inserting if not all ready present within the database.

Setup

Dependencies can be installed by running pip3 install requirements.txt.

Notes:

  • The first row of each .csv file is skipped, as it serves as a "header" for all subsequent rows
  • Corresponding database credentials "DB_USER", "DB_PASS", "DB_HOST", and "DB_NAME" must be present within a "config.py" located within the current working directory