{"library":"snowflake-ingest","title":"Snowflake File Ingest SDK","type":"library","description":"Official Snowflake SDK for bulk file ingestion via Snowpipe. Version 1.0.12 supports streaming ingest and historical file loading. Released monthly.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install snowflake-ingest"],"cli":null},"imports":["from snowflake.ingest import SnowflakeIngestManager","from snowflake.ingest import IngestError","from snowflake.ingest import FileIngestionRequest"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://www.snowflake.net","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/snowflake-ingest/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import os\nfrom snowflake.ingest import SnowflakeIngestManager, FileIngestionRequest\n\nmanager = SnowflakeIngestManager(\n    account=os.environ.get('SNOWFLAKE_ACCOUNT', ''),\n    user=os.environ.get('SNOWFLAKE_USER', ''),\n    private_key=open('/path/to/rsa_key.p8', 'rb').read(),\n    database='MYDB',\n    schema='PUBLIC'\n)\n\nrequest = FileIngestionRequest(\n    file='data.csv',\n    stage='MYSTAGE',\n    prefix='data/',\n    pipe='MYPIPE'\n)\nmanager.ingest_file(request)\nprint('File ingested successfully')","lang":"python","description":"Initialize manager with key-pair auth and ingest a single file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}