-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
25 lines (18 loc) · 881 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##########################################################
#This scripts walks through several CKAN instances given by the CKAN instances project (https://github.com/ckan/ckan-instances/blob/gh-pages/config/instances.json) and collects information about the portals, the datasets, and tags. Data are stored as objects of the class Open Data Portal.
#This script outputs a file that is suitable to be inserted in a (semantic) media wiki instance.
##########################################################
global DEBUG
DEBUG = True
global objects_file
objects_file = 'ODP.pkl'
global global_tags_file
global_tags_file = 'GlobalTags.pkl'
global wiki_out_file
wiki_out_file = 'wiki_portal.txt'
global instances_file
#instances_file = 'instances.json'
#instances_file = 'instances_debug.json'
instances_file = 'instances_test.json'
global groups_file
groups_file = 'groups.pkl'