| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
pip install git+https://github.com/boilingdata/py-boilingdataA python client for sending SQL queries and receive results from BoilingData WebSockets API.
NOTE: This package is considered experimental. Feel free to suggest improvements, especially on how to make this module easier to use and more efficient.
import os
import asyncio
from py_boilingdata import BoilingData
# os.environ["BD_USERNAME"] = "yourBoilingAccountUsername"
# os.environ["BD_PASSWORD"] = "yourBoilingPassword"
async def main():
boiling = BoilingData()
await boiling.connect()
results = await boiling.execute(
"""
SELECT first_name, email
FROM parquet_scan('s3://boilingdata-demo/test.parquet')
LIMIT 2
"""
)
print(results)
await boiling.close()
asyncio.new_event_loop().run_until_complete(main())make install
make build
make lint
make test
make run
pip install dist/py_boilingdata-*-py3-none-any.whl| Back | FazBrowse Home | New Git URL |