dask-snowflake-0.2.0
توضیحات
Dask + Snowflake intergration
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dask-snowflake-0.2.0 |
| نام | dask-snowflake |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | ['James Bourbeau'] |
| ایمیل نگهدارنده | ['james@coiled.io'] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dask-snowflake/ |
| مجوز | BSD |
# Dask-Snowflake
[](https://github.com/coiled/dask-snowflake/actions/workflows/tests.yml)
[](https://github.com/coiled/dask-snowflake/actions/workflows/pre-commit.yml)
This connector is in an early experimental/testing phase.
[Reach out to us](https://coiled.io/contact-us/) if you are interested in trying
it out!
## Installation
`dask-snowflake` can be installed with `pip`:
```
pip install dask-snowflake
```
or with `conda`:
```
conda install -c conda-forge dask-snowflake
```
## Usage
`dask-snowflake` provides `read_snowflake` and `to_snowflake` methods
for parallel IO from Snowflake with Dask.
```python
>>> from dask_snowflake import read_snowflake
>>> example_query = '''
... SELECT *
... FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.CUSTOMER;
... '''
>>> ddf = read_snowflake(
... query=example_query,
... connection_kwargs={
... "user": "...",
... "password": "...",
... "account": "...",
... },
... )
```
```python
>>> from dask_snowflake import to_snowflake
>>> to_snowflake(
... ddf,
... name="my_table",
... connection_kwargs={
... "user": "...",
... "password": "...",
... "account": "...",
... },
... )
```
See their docstrings for further API information.
## License
[BSD-3](LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| >=2021.05.0 | dask |
| - | distributed |
| >=2.6.0 | snowflake-connector-python[pandas] |
| - | snowflake-sqlalchemy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dask-snowflake-0.2.0:
pip install dask-snowflake-0.2.0.whl
نصب پکیج tar.gz dask-snowflake-0.2.0:
pip install dask-snowflake-0.2.0.tar.gz