The goal of this app is to make information more accessible and to have a single place to hold information valuable to a family. The project is made as a website interface so everyone can follow along.
- Api connections
- Database Models
- Creating a Database
- CRUD with Database items
- Routes and "live" site with Flask
Current features are in the works. They will consist of:
- Daily weather forecast + next 3 days
- Grocery list
- ToDo list
- Calendar events for the day
You will need Python version 3. This project utilizes pipenv. To run:
- Download the project
- Make sure you have pipenv installed -
python -m pip install pipenv
orpip install pipenv
- Create the environment with
python -m pipenv shell
- Install the dependencies -
pipenv install --ignore-pipfile
- Run with
pipenv python run app.py
To run this project in development mode:
- Download the project
- Make sure you have pipenv installed -
python -m pip install pipenv
orpip install pipenv
- Create the environment with
python -m pipenv shell
- Install the dependencies -
pipenv install --dev
- Run with
pipenv python run app.py
You will need to create your own keys.py file and include your API information.
- Weather API
- variables: weather_key = api key, city = your city, state = your state
- If you want to connect to a specific Google Calendar (other than your primary one) you will need to grab the calendar's ID from it's settings.
- variable: cal_key = calendar id
Create an account at Open Weathermap to get an API key. Add the key to your keys.py file. You can find the docs here for the specific API connection being used.
Complete step 1 from Google's documentation. Make sure you are logged in with the Google account you want to use.
Download your credentials (file should be called credentials.json) and add the file to your directory and to your .gitignore file.
Both the Todos and Grocery list are using Peewee to create a SQLite database.