Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bufu-0.0.4.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

bufu-0.0.4-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page