Data · Python · Case Study

Digital Stress &
Screen Time Survey

A terminal-based digital wellness survey that measures screen fatigue and delivers personalised recommendations — powered by Python and Google Sheets.

PythonGoogle Sheets APIHerokuCLI
100% Python
Google Sheets API Data Storage
CLI Interface
Heroku Deployed On
Real-time Recommendations
01

Challenge

Digital fatigue is a growing concern — but most people don't have a simple, accessible way to measure how their screen habits are affecting their stress levels.

The challenge was to build a conversational terminal tool that guides users through a short survey, captures their digital habits, and returns instant personalised recommendations — all without a web interface, using pure Python logic deployed to Heroku.

02

Approach

The application was built entirely in Python, using a guided CLI experience with input validation and personalised response logic. All data is stored and retrieved via the Google Sheets API.

  • Designed a conversational CLI flow — step-by-step prompts with validation and error handling
  • Built personalised recommendation logic based on user responses about screen time, social media and stress
  • Integrated Google Sheets API via gspread for secure data storage and group comparisons
  • Implemented group-level analysis — users see how their habits compare to others
  • Deployed to Heroku using the Code Institute terminal template
  • Designed for inclusivity — simple language, jargon-free, accessible to all reading levels

A terminal app has no visual design to hide behind. Every word counts — the tone, the prompts, the feedback. This project is as much about communication design as it is about code.

03

Deliverables

  • Digital wellness survey — guided CLI questionnaire on screen habits and stress
  • Personalised recommendations — instant feedback based on individual responses
  • Group comparisons — see how habits align with other users
  • Google Sheets integration — secure data storage via API
  • Input validation — robust error handling throughout the flow
  • Heroku deployment — live and publicly accessible terminal app
04

Results

A fully functional wellness tool deployed and accessible in production:

Python 100% Zero dependencies on web frameworks
Data Storage Google Sheets API Real-time data storage and retrieval
Interface CLI Publicly accessible terminal app

The Digital Stress Survey demonstrates pure Python development — logic design, API integration, data handling, and CLI user experience — deployed as a real-world wellness tool accessible to anyone with a browser.

Ready to build something like this?

Let's turn your idea into a working tool.

Start a Project →