password-manager/scripts/builder/backends/flaskBuilder.py
jokajak fab1d05127 Introduce new flask based python backend
This supports most functionality. Tested the following functionality:
* Create account
* Delete account
* Create a card
* Download offline copy (couldn't log in) - needs work
* Change passphrase
* One time password creation and use
2015-04-20 08:37:48 -04:00

19 lines
356 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import shutil
from scriptLanguageBuilder import ScriptLanguageBuilder
class FlaskBuilder(ScriptLanguageBuilder):
def name(self):
return "Flask builder"
def relativePath(self):
return 'flask'
def createPackage(self):
super(FlaskBuilder, self).createPackage()