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.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for bufu-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c3cc136dd8bad4e1b099b79f868afb6e5d269d0d8595aba9a72ceabdd9b6a73c
MD5 a51548109335ce1a2e900a0459cb97d9
BLAKE2b-256 4fc3a461528867437b1368122d96937d3306a40948138120c095c0a3486cfcf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bufu-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 092bb85b195f9c6284b559dda9f3ecc7a194688a9d2a03b6f29346da7437b1ad
MD5 fd10a61252f98c386279dd55028e081b
BLAKE2b-256 372cea67f9b7dcd4959328d9e11978db5d361b9bdf22a49e6aff882384b63d99

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