Skip to main content

A package for the simple local management of snowpark for python connections.

Project description

Snowauth.

A package for the simple local management of snowpark for python connections.

Example:

Setup:

Install the python package.

pip install snowauth

Create a file name creds.conf.

[connection]
account   = "ACCOUNT"
user      = "USER"
password  = "PASSWORD"
role      = "ROLE"
warehouse = "WAREHOUSE"

Usage

import snowauth

# creds.conf is the default. It can be change to whatever name you want.
session = snowauth.connect('connection','creds.conf')

print(session)

Output:

<snowflake.snowpark.session.Session: account=...>

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

snowauth-1.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

snowauth-1.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file snowauth-1.0.1.tar.gz.

File metadata

  • Download URL: snowauth-1.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for snowauth-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f37bd4c16465a3fbd52c2f12ce3c2fdf53683aafb52bdb41ffd1ec3c45c1cba5
MD5 d554da3d4d4eaba4cc9b905cc5877144
BLAKE2b-256 777d242f87ddec5b914c94e14d1b3704142c4efa8ecc22e9874e19cfec592c23

See more details on using hashes here.

File details

Details for the file snowauth-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: snowauth-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for snowauth-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f92d447c1e91d5c697190da62b94b170b8989b3600f526138ebeebda7b39878e
MD5 09f8d5932b88f620dc6d2a5ceddbdcc8
BLAKE2b-256 6e0ab7d6afd769c53dad7a751ad0575c874f63be3449f6ecd976e5b1f24c1cb4

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