#!/usr/bin/env python3 """Build the Wheel of Wellness assessment site.""" import json, textwrap # ── Question data ──────────────────────────────────────────── QUESTIONS = { "generalized": { "title": "General", "subtitle": "For anyone who wants to check in on their wellness", "scale": ["Almost all the time", "More than half the time", "Some of the time", "Once in a while"], "emoji": None, "items": [ {"id":"G1","dim":"physical","text":"In the past month, how often have you felt tired or worn out?","reverse":True}, {"id":"G2","dim":"physical","text":"How would you rate your overall physical health right now?","reverse":False}, {"id":"G3","dim":"physical","text":"In a typical week, how often do you move your body in a way that feels good (walking, stretching, playing)?","reverse":False}, {"id":"G4","dim":"emotional","text":"In the past two weeks, how often have you felt calm and at ease?","reverse":False}, {"id":"G5","dim":"emotional","text":"In the past two weeks, how often have you felt cheerful or in good spirits?","reverse":False}, {"id":"G6","dim":"emotional","text":"How often have you felt worried, sad, or upset in a way that was hard to shake?","reverse":True}, {"id":"G7","dim":"social","text":"Do you have people in your life you can count on when things get hard?","reverse":False}, {"id":"G8","dim":"social","text":"How satisfied are you with how you get along with the people closest to you?","reverse":False}, {"id":"G9","dim":"social","text":"In the past month, how often have you felt alone even when other people were around?","reverse":True}, {"id":"G10","dim":"daily-life","text":"How confident are you that you can handle everyday tasks like bills, forms, and schedules?","reverse":False}, {"id":"G11","dim":"daily-life","text":"In the past two weeks, how often has your sleep been restful?","reverse":False}, {"id":"G12","dim":"daily-life","text":"How safe do you feel in your home and neighborhood?","reverse":False}, {"id":"G13","dim":"purpose","text":"In the past two weeks, how often has your daily life been filled with things that interest you?","reverse":False}, {"id":"G14","dim":"purpose","text":"How would you rate your quality of life right now?","reverse":False}, {"id":"G15","dim":"purpose","text":"Do you feel like your life has meaning or direction?","reverse":False}, {"id":"G16","dim":"growth","text":"In the past two weeks, how often have you felt active and full of energy?","reverse":False}, {"id":"G17","dim":"growth","text":"Are you learning or trying anything new right now?","reverse":False}, {"id":"G18","dim":"growth","text":"How often do you make time for things that help you grow (reading, classes, hobbies)?","reverse":False}, ], }, "parent-caregiver": { "title": "Parent / Caregiver", "subtitle": "For parents and caregivers of people with disabilities", "scale": ["Almost every day", "More days than not", "Once in a while", "Rarely"], "emoji": None, "items": [ {"id":"P1","dim":"physical","text":"When did you last see a doctor for YOUR own health check?","reverse":False}, {"id":"P2","dim":"physical","text":"In the past month, how often have you felt tired or worn out from caregiving?","reverse":True}, {"id":"P3","dim":"physical","text":"In a typical week, how often do you get enough sleep?","reverse":False}, {"id":"P4","dim":"emotional","text":"How often do you feel worn out or weighed down by all you have to do?","reverse":True}, {"id":"P5","dim":"emotional","text":"In the past two weeks, how often have you been bothered by not being able to stop or control worrying?","reverse":True}, {"id":"P6","dim":"emotional","text":"How often do you feel like you are doing a good job as a caregiver?","reverse":False}, {"id":"P7","dim":"social","text":"Do you have someone who can watch your kids so you can take a break?","reverse":False}, {"id":"P8","dim":"social","text":"Is there someone you can talk to honestly about how hard caregiving can be?","reverse":False}, {"id":"P9","dim":"social","text":"How often do you spend time with friends or do something fun for yourself?","reverse":False}, {"id":"P10","dim":"daily-life","text":"How confident are you about handling school meetings, doctor visits, and paperwork for your family?","reverse":False}, {"id":"P11","dim":"daily-life","text":"Does your family have the money and resources to cover your basic needs?","reverse":False}, {"id":"P12","dim":"daily-life","text":"Are you able to get the services and supports your family member with a disability needs?","reverse":False}, {"id":"P13","dim":"purpose","text":"Do you feel accepted and respected by the professionals who work with your family?","reverse":False}, {"id":"P14","dim":"purpose","text":"How often do you feel like your role as a caregiver gives your life meaning?","reverse":False}, {"id":"P15","dim":"purpose","text":"Is there anything outside of caregiving that is important to who you are?","reverse":False}, {"id":"P16","dim":"growth","text":"Are you learning new things about how to support your family member?","reverse":False}, {"id":"P17","dim":"growth","text":"How often do you feel stuck or like nothing you do makes a difference?","reverse":True}, {"id":"P18","dim":"growth","text":"In the past month, have you done anything just for you (a class, a hobby, time with a friend)?","reverse":False}, ], }, "family-member": { "title": "Family Member", "subtitle": "For household members of people with disabilities", "scale": ["Very satisfied", "Satisfied", "Neither satisfied nor dissatisfied", "Dissatisfied"], "emoji": None, "items": [ {"id":"F1","dim":"physical","text":"Do members of your family get the medical care they need when they need it?","reverse":False}, {"id":"F2","dim":"physical","text":"Does your family feel safe at home, work, school, and in the neighborhood?","reverse":False}, {"id":"F3","dim":"physical","text":"Does your family have transportation to get to the places you need to be?","reverse":False}, {"id":"F4","dim":"emotional","text":"Does your family have the support you need to handle stress?","reverse":False}, {"id":"F5","dim":"emotional","text":"Do family members have some time to pursue their own interests?","reverse":False}, {"id":"F6","dim":"emotional","text":"Do family members have outside help available for special needs?","reverse":False}, {"id":"F7","dim":"social","text":"Do family members have friends or others outside the home they can lean on?","reverse":False}, {"id":"F8","dim":"social","text":"Does your family enjoy spending time together?","reverse":False}, {"id":"F9","dim":"social","text":"Do family members show that they love and care for each other?","reverse":False}, {"id":"F10","dim":"daily-life","text":"Are you able to get the services and supports your family member with a disability needs?","reverse":False}, {"id":"F11","dim":"daily-life","text":"Does your family have a way to take care of expenses?","reverse":False}, {"id":"F12","dim":"daily-life","text":"Does your family have a good relationship with the service providers who work with your family member?","reverse":False}, {"id":"F13","dim":"purpose","text":"Does your family solve problems together?","reverse":False}, {"id":"F14","dim":"purpose","text":"Do family members support each other to accomplish goals?","reverse":False}, {"id":"F15","dim":"purpose","text":"Does your family feel like it is handling life\u2019s ups and downs well?","reverse":False}, {"id":"F16","dim":"growth","text":"Do family members help the children learn to be independent?","reverse":False}, {"id":"F17","dim":"growth","text":"Do adults in the family know other people in the children\u2019s lives (friends, teachers)?","reverse":False}, {"id":"F18","dim":"growth","text":"Do family members talk openly with each other?","reverse":False}, ], }, "professional": { "title": "Professional", "subtitle": "For therapists, counselors, educators, and healthcare workers", "scale": ["Almost every day", "Several days a week", "Once in a while", "Rarely"], "emoji": None, "items": [ {"id":"PR1","dim":"physical","text":"How often do you feel physically drained after your workday?","reverse":True}, {"id":"PR2","dim":"physical","text":"In the past month, how often have you lost sleep over the experiences of people you help?","reverse":True}, {"id":"PR3","dim":"physical","text":"How often do you feel on edge or jumpy because of things you hear at work?","reverse":True}, {"id":"PR4","dim":"emotional","text":"I find my work as a helper to be deeply satisfying.","reverse":False}, {"id":"PR5","dim":"emotional","text":"How often do you feel depressed because of the experiences of people you help?","reverse":True}, {"id":"PR6","dim":"emotional","text":"How often do you feel overwhelmed because your workload seems endless?","reverse":True}, {"id":"PR7","dim":"social","text":"Do you have colleagues or peers you can talk with honestly about difficult cases?","reverse":False}, {"id":"PR8","dim":"social","text":"How often do you feel connected to the people around you at work?","reverse":False}, {"id":"PR9","dim":"social","text":"How often do you feel trapped by your job?","reverse":True}, {"id":"PR10","dim":"daily-life","text":"How well do you maintain a boundary between your work and your personal life?","reverse":False}, {"id":"PR11","dim":"daily-life","text":"I am pleased with how I keep up with professional techniques and protocols.","reverse":False}, {"id":"PR12","dim":"daily-life","text":"How often do you feel bogged down by the systems and rules at work?","reverse":True}, {"id":"PR13","dim":"purpose","text":"I believe I can make a difference through my work.","reverse":False}, {"id":"PR14","dim":"purpose","text":"How often do you have happy thoughts about the people you help?","reverse":False}, {"id":"PR15","dim":"purpose","text":"Are you happy that you chose this line of work?","reverse":False}, {"id":"PR16","dim":"growth","text":"I am pleased with how I am able to keep up with helping techniques and protocols.","reverse":False}, {"id":"PR17","dim":"growth","text":"How often do you avoid situations that remind you of frightening things people you help have told you?","reverse":True}, {"id":"PR18","dim":"growth","text":"Are you the person you always wanted to be in this work?","reverse":False}, ], }, "special-needs": { "title": "Accessible", "subtitle": "For people with disabilities (a support person may help you read)", "scale": ["Not Good", "Okay", "Pretty Good", "Good", "Very Good"], "emoji": ["😟", "😐", "🙂", "😊", "😄"], "items": [ {"id":"SN1","dim":"physical","text":"How do you feel about your health?","reverse":False}, {"id":"SN2","dim":"physical","text":"How do you feel about how safe you feel?","reverse":False}, {"id":"SN3","dim":"emotional","text":"In the past two weeks, how often have you felt happy?","reverse":False}, {"id":"SN4","dim":"emotional","text":"In the past two weeks, how often have you felt calm?","reverse":False}, {"id":"SN5","dim":"social","text":"How do you feel about how you get along with people? Like your family and friends.","reverse":False}, {"id":"SN6","dim":"social","text":"How do you feel about doing things outside your home? Like in your community or neighborhood.","reverse":False}, {"id":"SN7","dim":"daily-life","text":"How do you feel about the things you have? Like your money and the things you own.","reverse":False}, {"id":"SN8","dim":"daily-life","text":"How do you feel about how your day goes? Like your routine and what you do.","reverse":False}, {"id":"SN9","dim":"purpose","text":"How do you feel about the things you do or make?","reverse":False}, {"id":"SN10","dim":"purpose","text":"How do you feel about your life as a whole?","reverse":False}, {"id":"SN11","dim":"growth","text":"How do you feel about what will happen to you later in your life?","reverse":False}, {"id":"SN12","dim":"growth","text":"In the past two weeks, how often have you felt like doing things?","reverse":False}, ], }, } DIMS = [ {"key":"physical","label":"Physical","icon":"💪","color":"#1565C0","bg":"#E3F2FD","desc":"rest, movement, nutrition, medical care"}, {"key":"emotional","label":"Emotional","icon":"💗","color":"#7B1FA2","bg":"#F3E5F5","desc":"naming feelings, coping, support"}, {"key":"social","label":"Social","icon":"🤝","color":"#2E7D32","bg":"#E8F5E9","desc":"connection, understanding, community"}, {"key":"daily-life","label":"Daily Life","icon":"📋","color":"#E65100","bg":"#FFF3E0","desc":"home, finances, schedules, advocacy"}, {"key":"purpose","label":"Purpose","icon":"⭐","color":"#F57F17","bg":"#FFF8E1","desc":"meaning, values, identity, hope"}, {"key":"growth","label":"Growth","icon":"🌱","color":"#C62828","bg":"#FFEBEE","desc":"learning, creativity, becoming"}, ] # ── Build ──────────────────────────────────────────────────── questions_json = json.dumps(QUESTIONS, ensure_ascii=False) dims_json = json.dumps(DIMS, ensure_ascii=False) html = textwrap.dedent(r"""
Find the resources your family needs — in 5 minutes
Whether you are a parent, caregiver, or individual navigating disability, this quick assessment identifies your needs across six wellness areas and connects you to resources.
18 questions · About 5 minutes · Private & anonymous