Metadata-Version: 2.4
Name: sheet-ripper
Version: 0.1.4
Summary: Download and Upload Google Sheets.
Author: Rafay Khan
Author-email: Rafay Khan <contact.hazelnut560@passinbox.com>
License-Expression: MIT
License-File: LICENSE
Requires-Dist: google-api-python-client>=2.183.0
Requires-Dist: google-auth-httplib2>=0.2.0
Requires-Dist: google-auth-oauthlib>=1.2.2
Requires-Python: >=3.12
Project-URL: Homepage, https://github.com/rafaykhan-source/sheet-ripper
Description-Content-Type: text/markdown

# Sheets

## Overview

`sheets` is a CLI and Library that allows for the downloading and uploading
of google sheets via `csv` files.

## Usage

In order to use this program, you must setup a google cloud project if you
seek to have this operate on spreadsheets you have access to. It may be useful
to check out the [Google Python Quickstart](https://developers.google.com/workspace/sheets/api/quickstart/python) for relevant information.

Specifically, you want to create a Google Cloud Project, so you can
copy over the project credentials to associate this program with and get
authentication and authorization to work for you.

1. Create Google Cloud Project
1. Enable the Google Sheets API
1. Configure OAuth Consent Screen
1. Create OAuth Credentials
  1. Copy Credentials Over to Project
1. Add Yourself As a Test User to Your Cloud Project

```bash
sheets -h
```

```bash
sheets --url "your_spreadsheet_url_here"
```

## Development

```bash
prek install
uv sync
. .venv/bin/activate
sheets -h
```
