Code Monkey home page Code Monkey logo

sitetosheet's Introduction

SiteToSheet

SiteToSheet is a Python project that combines web scraping, natural language processing, and Google API integration to extract data from websites and store it in Google Sheets.

python workflow Pylint

Installation

This project requires Python 3.7 or later. To set up the project environment:

  1. Clone the repository:
  2. Create a virtual environment:
  3. Activate the virtual environment:
  • On Windows:
    venv\Scripts\activate
    
  • On macOS and Linux:
    source venv/bin/activate
    
  1. Install the required packages:

Dependencies

This project relies on several key libraries:

  • Web Scraping: BeautifulSoup4
  • Natural Language Processing: spaCy (with en_core_web_sm model)
  • Google API Integration: google-api-python-client, gspread
  • Data Manipulation: pandas, numpy
  • Mapping: googlemaps
  • Environment Management: python-dotenv
  • Rate Limiting: ratelimit

For a complete list of dependencies, see the requirements.txt file.

Configuration

  1. Set up Google Cloud Project and enable necessary APIs (Sheets, Maps).
  2. Create and download a credentials.json file for Google API authentication.
  3. Create a .env file in the project root and add your API keys:

Usage

An example on how to use the tool will be provided on my portfolio website. For now you just have to ask :)

Features

  • Web scraping with BeautifulSoup4
  • Natural language processing with spaCy
  • Google Sheets integration for data storage
  • Google Maps API for geolocation services
  • Rate limiting to respect API usage limits

License

This project is licensed under the MIT License - see the LICENSE file for details.

This project uses the following third-party services and libraries:

Users of this software are responsible for ensuring their own compliance with the terms of these services and libraries.

Acknowledgments

This project makes use of several open-source libraries and APIs. We thank the maintainers and contributors of these projects.

sitetosheet's People

Contributors

jsh4w avatar jontysh4w avatar

Stargazers

 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.