Minimal file uploader CLI for Snowflake internal stage
Project description
bufu - Minimal file uploader CLI for Snowflake stage
bufu
is a minimal file uploader CLI for Snowflake stage.
Important Note: it is not a Snowflake official software.
Install
$ pip install bufu
Configuration
bufu
automatically uses [connections]
section in ~/.snowsql/config
to setup a connection.
To use bufu
, specifying current database, schema and warehouse are mandatory.
Please see "Configuring SnowSQL" document to setup ~/.snowsql/config
file:
https://docs.snowflake.com/en/user-guide/snowsql-config.html#snowsql-config-file
Usage
bufu show
... List up all stages in the current schema
bufu show <stage>
... List up first 100 files in the stage
bufu create <stage>
... Create a stage in the current schema
bufu put <file>
... Create a stage starting with "bufu_" and put the file to the stage
bufu put <file> <schema>
... Put the file to the stage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bufu-0.0.4.tar.gz
.
File metadata
- Download URL: bufu-0.0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dc33860873060a8c689df72a0948f63f4fba1e2ac7db365bedd8afb87abb60c |
|
MD5 | df572d177289d69427a2fb5d34731b73 |
|
BLAKE2b-256 | 08c97aff44437606e806c426488e419757ea38ca3fe83e91879e76e100653098 |
File details
Details for the file bufu-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: bufu-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba202530108e70a08cd70e6bbe6c63faca33cc7bb5f43b02744eb664c348166 |
|
MD5 | 091bd8d15a586f7dfbf2040fccd4e665 |
|
BLAKE2b-256 | 874e451e8ea2b6319d0b2bd27cb3b86a12ff8c67be6c4b76cef8754418852e50 |