def valid_guids(): return utils.load_json_file(_DIR, 'guids.json')['valid_guids']
import os from stackcite.api import utils _DIR = os.path.dirname(__file__) GROUP_CHOICES = utils.load_json_file(_DIR, 'groups.json') GROUPS = [k for k, v in GROUP_CHOICES] USERS, STAFF, ADMIN = GROUPS
def invalid_usernames(): return utils.load_json_file(_DIR, 'usernames.json')['invalid_usernames']
def invalid_passwords(): return utils.load_json_file(_DIR, 'passwords.json')['invalid_passwords']
def invalid_keys(): return utils.load_json_file(_DIR, 'keys.json')['invalid_keys']
def invalid_isbns(): return utils.load_json_file(_DIR, 'isbns.json')['invalid_isbns']
def valid_isbn13s(): return utils.load_json_file(_DIR, 'isbns.json')['valid_isbn13s']