Metadata-Version: 2.1
Name: airflow-smartsheet-plugin
Version: 0.0.2
Summary: An Apache Airflow plugin to export Smartsheet sheets.
Home-page: https://github.com/xyx0826/Airflow-Smartsheet
Author: xyx0826
Author-email: xyx0826@hotmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Environment :: Plugins
Description-Content-Type: text/markdown

# Airflow-Smartsheet
Simple hooks and operators for exporting data from Smartsheet.

This plugin currently supports exporting a Smartsheet sheet as CSV, PDF or EXCEL file. For PDF format, a paper size is required.

# Features
- Exporting a Smartsheet sheet to a file
- Exporting a Smartsheet sheet JSON dump
- Specifying path to store exported files
- Enabling/disabling overwriting existing files

# Install
Using pip:
```bash
pip3 install airflow-smartsheet-plugin
```

# Usage
Create a variable in Airflow named `SMARTSHEET_ACCESS_TOKEN` to store your Smartsheet API access token.
*You can also pass in an override token in your DAG definition.*

This plugin is published as a pip package. Refer to the [example DAG](example_dag.py) for available parameters.

Refer to the [enums](airflow_smartsheet/operators/enums.py) for available PDF paper sizes.


