Blackneedles
Blackneedles a simple and easy to use python library and command line tool to manage and bring observability to Snowflake Snowpark Container Services and Snowflake Native Apps.
The name comes from the Black Needles Peak (Pico das Agulhas Negras), the highest mountain in the state of Rio de Janeiro, Brazil, and only place in the state where one can see snowflakes.
Installation
pip install blackneedles
Usage
To use either the library or the command line tool, you need to have a Snowflake configurations at ~/.snowsql/config or set the environment variables SNOWFLAKE_ACCOUNT, SNOWFLAKE_USER, SNOWFLAKE_PASSWORD, SNOWFLAKE_ROLE, SNOWFLAKE_WAREHOUSE, SNOWFLAKE_DATABASE, SNOWFLAKE_SCHEMA.
If you want to connect to Snowflake Container Services, you must set SNOWFLAKE_DATABASE to your database name.When using it on Native App, you must set SNOWFLAKE_DATABASE to the native app name.
In either way, you must install the support procedures and functions in your database or native app. You can do that by running the following command:
SNOWFLAKE_DATABASE=your_database_or_native_app blackneedles install
This will install the necessary procedures and functions in a __blacknedlles__ schema. To remove everything, you just need to drop this schema from the database.
If you are installing this in a Native App, you must also grant the necessary privileges to the role that will be using the library. You can do that by running the following command:
SNOWFLAKE_DATABASE=your_database_or_native_app blackneedles install --grant <your_application_role>
Metadata
Release files for blackneedles 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blackneedles-0.1.14.tar.gz | 7.8 kB | Without provenance | Details for blackneedles-0.1.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blackneedles-0.1.14-py3-none-any.whl | Python 3 | none | any | Details for blackneedles-0.1.14-py3-none-any.whl |
Total release size: 19.1 kB
Release files / blackneedles-0.1.14.tar.gz
| Download URL | blackneedles-0.1.14.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fe32fabc77fb9be1a3f7b55524625465622a63b556c584ad0480b7b094a28f0
|
|
BLAKE2b-256 checksum How to use checksums |
9834bf64dd5ee3174e0bdab3fbe1d36d26fafa12cf03d560f832252953c0da1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.11 Linux/6.5.0-1017-azure
|
Release files / blackneedles-0.1.14-py3-none-any.whl
| Download URL | blackneedles-0.1.14-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7d4eb31b1411f1998fd4ae759682e57d91892a41fd46226d4eb7fe56434f47d
|
|
BLAKE2b-256 checksum How to use checksums |
ec0144c399e980bf70011a7359fbd690e4b82c7e87bf9af30c53d1b80c854621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.11 Linux/6.5.0-1017-azure
|
Security for blackneedles 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.