more stuff to build package

This commit is contained in:
Ari Brown 2023-07-27 14:16:36 -04:00
parent 13169ea48a
commit a9954f2037
3 changed files with 22 additions and 2 deletions

20
pyproject.toml Normal file
View 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"}
]

View file

@ -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))