# Path: scrypture/webapi.py
# class WebAPI(flask_wtf.Form):
# class PassHTTPAuthorizationHeader(requests.auth.AuthBase):
# def text_input(*args, **kwargs):
# def list_input(*args, **kwargs):
# def line_input(*args, **kwargs):
# def password_input(*args, **kwargs):
# def radio_field(*args, **kwargs):
# def submit_button(*args, **kwargs):
# def multiple_input(*args, **kwargs):
# def checkbox_field(*args, **kwargs):
# def file_field(*args, **kwargs):
#     def __init__(self, header):
#     def __call__(self, r):


import base64
import re
from scrypture import webapi
#!/usr/bin/env python
# module_template.py
"""
Encode or decode base64 strings
"""

from __future__ import print_function

def b64encode(s):
    return base64.encodestring(s)

def b64decode(s):
    return repr(str(base64.decodestring(s)))

### WebAPI ###


# Path: scrypture/webapi.py
# class WebAPI(flask_wtf.Form):
# class PassHTTPAuthorizationHeader(requests.auth.AuthBase):
# def text_input(*args, **kwargs):
# def list_input(*args, **kwargs):
# def line_input(*args, **kwargs):
# def password_input(*args, **kwargs):
# def radio_field(*args, **kwargs):
# def submit_button(*args, **kwargs):
# def multiple_input(*args, **kwargs):
# def checkbox_field(*args, **kwargs):
# def file_field(*args, **kwargs):
#     def __init__(self, header):
#     def __call__(self, r):


# Path: scrypture/demo_scripts/Utils/b64encode.py
import base64
import re
from scrypture import webapi

#!/usr/bin/env python
# module_template.py
"""
Encode or decode base64 strings
"""

from __future__ import print_function

def b64encode(s):
    return base64.encodestring(s)

def b64decode(s):
    return repr(str(base64.decodestring(s)))

### WebAPI ###


class WebAPI(webapi.WebAPI):