Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manikandanthangavelu/hf-gmailsearch
Interview assesment repository
https://github.com/manikandanthangavelu/hf-gmailsearch
Last synced: about 1 month ago
JSON representation
Interview assesment repository
- Host: GitHub
- URL: https://github.com/manikandanthangavelu/hf-gmailsearch
- Owner: ManikandanThangavelu
- License: mit
- Created: 2023-12-16T06:43:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-19T17:16:53.000Z (about 1 year ago)
- Last Synced: 2023-12-20T12:14:37.146Z (about 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HF-GmailSearch
Interview assesment repository for Happy Fox# Project Setup
## Installation Steps
### Google Auth
1. Follow the [Google Gmail API Python Quickstart](https://developers.google.com/gmail/api/quickstart/python) to setup OAuth for your account and download credentials file
2. Install the `google-auth` library using pip:
```bash
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
```3. Make sure to download the Google client secret file (`client_secret.json`) and save it inside the `config` folder.
### BeautifulSoup
Install the `beautifulsoup4` library using pip:
```bash
pip install beautifulsoup4
```# Getting Started
1. Run the script to fetch emails:
```bash
python src/fetch-emails.py
```2. Edit the rules in the config/rules.json file.
3. Run the script to apply rules:
```bash
python src/apply-rules.py
```