Official Snowflake SDK for bulk file ingestion via Snowpipe. Version 1.0.12 supports streaming ingest and historical file loading. Released monthly.
pip install snowflake-ingestVerified import paths — ran on the pinned version, not inferred.
Initialize manager with key-pair auth and ingest a single file.
Replace 'private_key_file' parameter with 'private_key' and read the file as bytes.
Use manager.ingest_file(request) for single file, or call it in a loop for multiple files.
Replace dashes with underscores or use the locator form (e.g., 'myorg-myaccount' -> 'myorg_myaccount').
Set historical=True in FileIngestionRequest if the file already exists in the stage.