procfile – a procfile Parser for Python¶
Contributing¶
Contributions welcome! Fork procfile on GitHub and send in a pull request!
Getting started¶
import json
import procfile
process_types = procfile.loads('''
web: gunicorn myapp.wsgi
''')
print(json.dumps(process_types, indent=2, sort_keys=True))
{
"web": {
"cmd": "gunicorn myapp.wsgi",
"env": []
}
}