Skip to main content

Minimal file upload 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.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

bufu-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file bufu-0.0.2.tar.gz.

File metadata

  • Download URL: bufu-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 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

Hashes for bufu-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6fec6c8d67a1f15a09255ef0c272e62737fb145ae710a214e34b9469016915bc
MD5 2b261d105589981c5adc8f305bea77cb
BLAKE2b-256 ca80d0ed29eae0c0b9ac58a3e34dc83361b73e7ee8b7a41ac99f4fcfb6fe7fa2

See more details on using hashes here.

File details

Details for the file bufu-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: bufu-0.0.2-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

Hashes for bufu-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b308598027733691640f372b354ffc6075126dcbf694ae151afcb810fc91fea
MD5 d8aae921ced49cbad90b15740d610a6c
BLAKE2b-256 26c180a84ec43e8cbd8b2bef2756fbe34889b40257caac6b3f01a2352a6aaf60

See more details on using hashes here.

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