Turn disappointing json into happy json!
😞
{"glossary":{"GlossDiv":{"GlossList":{"GlossEntry":{"Abbrev":"ISO 8879:1986","Acronym":"SGML","GlossDef":{"GlossSeeAlso":
["GML","XML"],"para":"A meta-markup language, used to create markup languages such as DocBook."},
"GlossSee":"markup","GlossTerm":"Standard Generalized Markup Language","ID":"SGML","SortAs":"SGML"}},"title":"S"},"title":"example glossary"}}
😄
{
"glossary": {
"GlossDiv": {
"GlossList": {
"GlossEntry": {
"Abbrev": "ISO 8879:1986",
"Acronym": "SGML",
"GlossDef": {
"GlossSeeAlso": [
"GML",
"XML"
],
"para": "A meta-markup language, used to create markup languages such as DocBook."
},
"GlossSee": "markup",
"GlossTerm": "Standard Generalized Markup Language",
"ID": "SGML",
"SortAs": "SGML"
}
},
"title": "S"
},
"title": "example glossary"
}
}
Installation:
- Clone the repository
- Create a new virtual env with
$ virtualenv venv
. See docs for more information on Python's virtual environment $ source project_name/bin/activate
$ pip install requirements.txt
$ source start.sh
to run program
The program runs via the nohup
command. This will prevent the process from being stopped on logout.
To force kill the process there are 2 commands you can run to find and kill this process.
$ lsof -c Python
$ kill -9 <PID>