https://github.com/developmentseed/little-owl
🦉 - A companion to AWS Athena
https://github.com/developmentseed/little-owl
athena aws cli sql
Last synced: 4 months ago
JSON representation
🦉 - A companion to AWS Athena
- Host: GitHub
- URL: https://github.com/developmentseed/little-owl
- Owner: developmentseed
- License: mit
- Created: 2017-08-07T16:01:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-23T01:02:37.000Z (about 8 years ago)
- Last Synced: 2025-06-03T15:11:00.387Z (4 months ago)
- Topics: athena, aws, cli, sql
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 5
- Watchers: 46
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🦉 little-owl [](https://badge.fury.io/js/little-owl)
Helper tools to query AWS Athena.
```
npm install little-owl
```
## Documentation
`little-owl` can be used either as a command line tool or as a node library.### CLI
The cli requires the following environment variables to be set:
- `AWS_REGION`: Region where the S3 bucket and Athena queries will run (default is `us-east-1`)
- `AWS_ACCESS_KEY_ID`: AWS access key
- `AWS_SECRET_ACCESS_KEY`: AWS secret key
- `AWS_OUTPUT_BUCKET`: Bucket where query results are stored (default is `little_owl_athena_output`)```
Usage
$ little-owl query
$ echo | little-owl queryExamples
$ little-owl query "SELECT count(*) from owls"
```### [Node API](docs/NODE_API.md)
## License
MIT - See [LICENSE.md](LICENSE.md)