/
Step 1 - Unzip installer & create folders

Step 1 - Unzip installer & create folders

Python Script Installation

Extract the contents of the zip file NLPGImporter.zip to a convenient location e.g. C:\Python\NLPG Importer, keeping the same folder structure as the zip file.

Folder Structure

 

\Scripts

Database scripts

\Config

Example configuration file importer.config.example

Config.py

CS.py

Data.py

Files.py

Importer.py

Output.py

Python scripts for NLPG Importer

 

Create Folders for NLPG Importer

The NLPG Importer requires three sub folders for processing the supplied NLPG import files which you will need to create e.g.

 

C:\Python\NLPG Importer\Pending

Where all new NLPG files should be placed

C:\Python\NLPG Importer\Completed

Where the NLPG Importer places all processed files

C:\Python\NLPG Importer\Archive

Where all new NLPG files should be placed.

New files need to be placed in the archived folder as well as the pending folder in order that, if the NLPG postgres database needs to be re-built [reset], the files are available for this purpose.

Note

The postgres user [as defined in the Configuration Settings] requires full access to all of the above folders.

Related content

Step 3 - Configure Settings
Step 3 - Configure Settings
More like this
Step 6 - Create Task to Import NLPG data
Step 6 - Create Task to Import NLPG data
More like this
NLPG Importer Installation & Configuration
NLPG Importer Installation & Configuration
More like this
Step 2 - Database Setup
Step 2 - Database Setup
More like this
Step 10 - Create Task to Reset the NLPG data
Step 10 - Create Task to Reset the NLPG data
More like this
Step 5 - Create Job to Import & Build NLPG data
Step 5 - Create Job to Import & Build NLPG data
More like this