Prerequisites
Python 3.9 or higher
Morning Brain Starter requires Python 3.9+. Check your Python version:
On macOS and Linux, the command is typically
python3. On Windows, it’s usually python. If the command isn’t found, download Python from the official website.Google account
You’ll need a Google account for Calendar access. This is the only required integration—Asana and Gmail are optional.
Optional: Asana account
If you want task management features, you’ll need an Asana account and a Personal Access Token.
Get your copy of the project
You have two options for getting the code:- Fork (recommended)
- Local only
Fork the repository to your own GitHub account. This lets you customize the code and contribute back if you want.
- On the GitHub project page, click Fork (top right)
- Choose your account—GitHub will create a copy under your username
- Clone your fork:
Install dependencies
Create a virtual environment
A virtual environment keeps this project’s dependencies isolated from your system Python.This creates a
.venv directory in your project root.Activate the virtual environment
(.venv) when the environment is active.Install required packages
Install all dependencies from This installs:
requirements.txt:google-api-python-client- Google Calendar and Gmail APIsgoogle-auth-oauthlib- OAuth authenticationgoogle-auth-httplib2- HTTP library for Google APIsasana- Asana API client (optional integration)python-dotenv- Environment variable managementPyYAML- YAML configuration file support
Directory structure
After installation, your project structure looks like this:The
resources/secrets/ directory is excluded from version control (.gitignore). Your credentials stay private.Next steps
Quickstart
Set up your credentials and run your first morning routine