File: create_default_config.py

package info (click to toggle)
augustus 3.4.0%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 758,480 kB
  • sloc: cpp: 65,451; perl: 21,436; python: 3,927; ansic: 1,240; makefile: 1,032; sh: 189; javascript: 32
file content (15 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python3

import json

config = {
    'dbname':   'aug_vertebrates',
    'dbhost':   '127.0.0.1',
    'dbuser':   'augustus',
    'dbpasswd': 'aug_passwd',
    'cpuno':    '2' 
    }


with open('testconfig.json', 'w') as file:
    json.dump(config, file, indent=4, sort_keys=True)