snowauth


Namesnowauth JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/sfc-gh-dwilczak/snowauth
SummaryA package for the simple local management of snowpark for python connections.
upload_time2023-09-21 20:08:44
maintainer
docs_urlNone
authorBranden Ciranni, Daniel Wilczak
requires_python<3.11,>=3.8
licensemit
keywords snowflake snowpark
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Snowauth.
A package for the simple local management of snowpark for python connections.

## Documentation 
Documentation can be found here: [Wiki](https://sfc-gh-dwilczak.github.io/snowauth/)

## Example

```python
import snowauth

session = snowauth.connect('example_connection')
```


## Setup

```
pip install snowauth
```

After installing `snowauth`, set up your snowflake credentials:

1. Create the `.snowauth` folder and the `snowflake.conf` file that will store different snowflake credentials.
    ```
    mkdir ~/.snowauth

    mkfile ~/.snowauth/snowflake.conf
    ```
2. Add your snowflake credentials.

    Example:
    ```toml
    [example_connection]
    account = "ACCOUNT_NAME"
    user = "USER"
    password = "PASSWORD"
    role = "ACCOUNTADMIN"
    warehouse = "EXAMPLE_WH"
    ```



Then, to create a snowpark session in 1 line.

```python
import snowauth

session = snowauth.connect('example_connection')
```



### Output:
```
<snowflake.snowpark.session.Session: account=...>
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sfc-gh-dwilczak/snowauth",
    "name": "snowauth",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<3.11,>=3.8",
    "maintainer_email": "",
    "keywords": "Snowflake,Snowpark",
    "author": "Branden Ciranni, Daniel Wilczak",
    "author_email": "daniel.wilczak@snowflake.com",
    "download_url": "https://files.pythonhosted.org/packages/37/4b/72cc8708b2084aa34c94c0717cd1d472f112f8e5530c4f78befb395d627b/snowauth-1.0.2.tar.gz",
    "platform": null,
    "description": "# Snowauth.\nA package for the simple local management of snowpark for python connections.\n\n## Documentation \nDocumentation can be found here: [Wiki](https://sfc-gh-dwilczak.github.io/snowauth/)\n\n## Example\n\n```python\nimport snowauth\n\nsession = snowauth.connect('example_connection')\n```\n\n\n## Setup\n\n```\npip install snowauth\n```\n\nAfter installing `snowauth`, set up your snowflake credentials:\n\n1. Create the `.snowauth` folder and the `snowflake.conf` file that will store different snowflake credentials.\n    ```\n    mkdir ~/.snowauth\n\n    mkfile ~/.snowauth/snowflake.conf\n    ```\n2. Add your snowflake credentials.\n\n    Example:\n    ```toml\n    [example_connection]\n    account = \"ACCOUNT_NAME\"\n    user = \"USER\"\n    password = \"PASSWORD\"\n    role = \"ACCOUNTADMIN\"\n    warehouse = \"EXAMPLE_WH\"\n    ```\n\n\n\nThen, to create a snowpark session in 1 line.\n\n```python\nimport snowauth\n\nsession = snowauth.connect('example_connection')\n```\n\n\n\n### Output:\n```\n<snowflake.snowpark.session.Session: account=...>\n```\n",
    "bugtrack_url": null,
    "license": "mit",
    "summary": "A package for the simple local management of snowpark for python connections.",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/sfc-gh-dwilczak/snowauth"
    },
    "split_keywords": [
        "snowflake",
        "snowpark"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e0c15b1dc1d0d1dc994c6cd33e07dc838e8e5a475d83b561ee9b53a732c2334c",
                "md5": "f45dc6cbc2fb0faaf70673a4109ff918",
                "sha256": "440cf10d6895fc5164f5f85d5ca7a73ebf76e25afc9a85be63f975d35eca0fb0"
            },
            "downloads": -1,
            "filename": "snowauth-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f45dc6cbc2fb0faaf70673a4109ff918",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.11,>=3.8",
            "size": 2583,
            "upload_time": "2023-09-21T20:08:42",
            "upload_time_iso_8601": "2023-09-21T20:08:42.627567Z",
            "url": "https://files.pythonhosted.org/packages/e0/c1/5b1dc1d0d1dc994c6cd33e07dc838e8e5a475d83b561ee9b53a732c2334c/snowauth-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "374b72cc8708b2084aa34c94c0717cd1d472f112f8e5530c4f78befb395d627b",
                "md5": "d1e8b68e130f5e72929c5f0007da12b6",
                "sha256": "5686e2603d7958cf3be0b7c730662e3ca94545da2af59177a0192cc771860454"
            },
            "downloads": -1,
            "filename": "snowauth-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d1e8b68e130f5e72929c5f0007da12b6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.11,>=3.8",
            "size": 2333,
            "upload_time": "2023-09-21T20:08:44",
            "upload_time_iso_8601": "2023-09-21T20:08:44.432724Z",
            "url": "https://files.pythonhosted.org/packages/37/4b/72cc8708b2084aa34c94c0717cd1d472f112f8e5530c4f78befb395d627b/snowauth-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-21 20:08:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sfc-gh-dwilczak",
    "github_project": "snowauth",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "snowauth"
}
        
Elapsed time: 0.11800s