forked from bellwether/minerva
more stuff to build package
This commit is contained in:
parent
13169ea48a
commit
a9954f2037
3 changed files with 22 additions and 2 deletions
20
pyproject.toml
Normal file
20
pyproject.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[project]
|
||||
name = "minerva"
|
||||
version = "0.1.0"
|
||||
description = "Easier access to AWS Athena"
|
||||
dependencies = [
|
||||
"boto3",
|
||||
"pyarrow"
|
||||
]
|
||||
|
||||
[tool.poetry]
|
||||
name = "wharfer"
|
||||
version = "0.1.0"
|
||||
description = "Easier access to AWS Athena"
|
||||
authors = [
|
||||
"Ari Brown <ari@airintech.com>"
|
||||
]
|
||||
packages = [
|
||||
{ include = "minerva.py" }
|
||||
# { include = "minerva/**/*.py"}
|
||||
]
|
||||
4
test.py
4
test.py
|
|
@ -1,9 +1,9 @@
|
|||
import access as a
|
||||
import minerva as m
|
||||
import pprint
|
||||
|
||||
pp = pprint.PrettyPrinter(indent=4)
|
||||
|
||||
athena = a.Athena("hay", "s3://haystac-pmo-athena/")
|
||||
athena = m.Athena("hay", "s3://haystac-pmo-athena/")
|
||||
query = athena.query('select * from "trajectories"."kitware" limit 10')
|
||||
data = query.results()
|
||||
print(data.head(10))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue