Convert any JSON form to production-ready HTML in seconds!
cd python-forms
python3 generate_form.py --category weightloss --form-name GLP1
python3 generate_form.py --category antiaging --form-name NAD
python3 generate_form.py --category hormone --form-name Sermorelin
python3 generate_form.py --interactive
Then follow the prompts!
python3 generate_form.py --form ../surveys/weightloss/GLP1-screener.json
python3 generate_form.py --batch-all
Forms are saved in the same directory as the JSON:
surveys/weightloss/GLP1-screener-live.html
surveys/antiaging/NAD-screener-live.html
surveys/hormone/Sermorelin-screener-live.html
# List all available forms
python3 generate_form.py --list-forms
# Get help
python3 generate_form.py --help
# Interactive mode (best for beginners)
python3 generate_form.py --interactive
Your dashboard can call:
from generate_form import generate_by_category_and_name
success = generate_by_category_and_name("antiaging", "NAD", "async")
property_category
fieldquestions
array OR property_sub_item
referencessurveys/all-forms/
:
patient-profile.json
medical-history.json
verification.json
pip install -r requirements.txt
No complex setup, no configuration files. Just point it at your JSON and get a complete medical form!