Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cityofdetroit/airflow-smartsheet
Smartsheet plugin for Apache Airflow.
https://github.com/cityofdetroit/airflow-smartsheet
airflow airflow-plugin python smartsheet smartsheet-api
Last synced: about 1 month ago
JSON representation
Smartsheet plugin for Apache Airflow.
- Host: GitHub
- URL: https://github.com/cityofdetroit/airflow-smartsheet
- Owner: CityOfDetroit
- License: mit
- Created: 2019-05-15T18:06:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T14:38:24.000Z (over 5 years ago)
- Last Synced: 2024-11-09T00:52:42.985Z (about 1 month ago)
- Topics: airflow, airflow-plugin, python, smartsheet, smartsheet-api
- Language: Python
- Size: 43 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# airflow-smartsheet [![PyPI version](https://badge.fury.io/py/airflow-smartsheet-plugin.svg)](https://pypi.org/project/airflow-smartsheet-plugin/0.0.2/)
Simple hooks and operators for transporting data from Smartsheet.Import Smartsheet into PostgreSQL or export as CSV, PDF or EXCEL file.
# Features
- `SmartsheetToFileOperator`: exporting a Smartsheet sheet to a file/json
- `SmartsheetToPostgresOperator`: exporting a Smartsheet sheet to a PostgreSQL table# 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.