Snowflake CLI
Project description
Snowflake CLI
Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations. It is a flexible and extensible tool that can accommodate modern development practices and technologies.
With Snowflake CLI, developers can create, manage, update, and view apps running on Snowflake across workloads such as Streamlit in Snowflake, the Snowflake Native App Framework, Snowpark Container Services, and Snowpark. It supports a range of Snowflake features, including user-defined functions, stored procedures, Streamlit in Snowflake, and SQL execution.
Note: Snowflake CLI is in Public Preview (PuPr).
Docs: https://docs.snowflake.com/en/developer-guide/snowflake-cli-v2/index.
Quick start: https://quickstarts.snowflake.com/guide/getting-started-with-snowflake-cli
Cheatsheet: https://github.com/Snowflake-Labs/sf-cheatsheets/blob/main/snowflake-cli.md
Install Snowflake CLI
Install with pipx (PyPi)
We recommend installing Snowflake CLI in isolated environment using pipx. Requires Python >= 3.10
pipx install snowflake-cli
snow --help
Install with Homebrew (Mac only)
Requires Homebrew.
brew tap snowflakedb/snowflake-cli
brew install snowflake-cli
snow --help
Install from source
Requires Python >= 3.10 and git
git clone https://github.com/snowflakedb/snowflake-cli
cd snowflake-cli
# you can also do the below in an active virtual environment:
# python -m venv .venv
# source .venv/bin/activate
hatch build && pip install .
snow --version
You should now be able to run snow
and get the CLI message.
Get involved
Have a feature idea? Running into a bug? Want to contribute? We'd love to hear from you! Please open or review issues, open pull requests, or reach out to us on developers@snowflake.com
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
Built Distribution
File details
Details for the file snowflake_cli-3.1.0.tar.gz
.
File metadata
- Download URL: snowflake_cli-3.1.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cb6face57aa8edffd4b35a112671ac206dbf1cf6eee4eeaa0f1e85676cc969 |
|
MD5 | 0bf2f4fddb8c712d55fb4113caff6c23 |
|
BLAKE2b-256 | 2233fcca760c683ecdcb9b046491fbcd4a55ade65e69878f5e7851774f9ca1cc |
File details
Details for the file snowflake_cli-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: snowflake_cli-3.1.0-py3-none-any.whl
- Upload date:
- Size: 386.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f5a294ce743c1483a620658c6a0c325d15eb14d506e3ae1c7ee26d5ff53ae63 |
|
MD5 | 844ee7340849208bd0f19c626c4f8dcb |
|
BLAKE2b-256 | a3377a75b44bf778aa9d0a2e83c711b2321fdb9e4603aa07ca74ae3ccfc02640 |