Giter VIP home page Giter VIP logo

mail_box's Introduction

Project Title

Overview

This project leverages the Gmail API and a database to play with your emails. This README will guide you through the prerequisites, installation, and setup process to get the project running on your local machine.

Prerequisites

Before you begin, ensure you have met the following requirements:

  1. Gmail API Setup:

    • Follow the instructions provided at the Gmail API Quickstart for Python to set up the Gmail API.
    • Ensure you have the credentials.json file, which is required for authentication. Keep a note of the path of the file.
  2. Database Setup:

    • Create a database and a role with login permission and note the host, username, password, port and database name.
  3. Install Python Package:

    • Clone the repository from GitHub:
      git clone https://github.com/rohan2921/mail_box.git
    • Navigate to the project directory:
      cd mail_box
    • Install the required Python packages using pip:
      pip install -r requirements.txt

Usage

To run the project, follow these steps:

  1. Initialize the Database:

    • Add the database url E.g: "postgresql://scp:[email protected]:5432/mail_box" to DATABASE_URL in db_helpers module in mail_box package.
    • Then run the following command from teh root
      alembic upgrade head
  2. Using the functionality:

    • Look at the example.py to understand the usage of the package.

mail_box's People

Contributors

rohan2921 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.