Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/ pyfuncblobclone Public archive

A python Azure Functions sample that takes an BlobTrigger InputStream object and uploads it to another container while retaining the content-type using the Azure Storage Python SDK

License

Notifications You must be signed in to change notification settings

glennmusa/pyfuncblobclone

Repository files navigation

pyfuncblobclone

This repo https://github.com/glennmusa/azfuncblobwithcontenttype, but make it Python

Uses the Azure Functions Storage BlobTrigger to process a blob from the configured input_container_name in local.settings.json and makes use of the Azure Storage Blob SDK BlobClient to clone the blob with its content type to the configured output_container_name in local.settings.json.

To get started:

  1. Clone ./local.settings.json.sample and rename it to local.settings.json
  2. Subtitute the settings values with your resources
  3. All the fun stuff happens in ./pyfuncblobclone/__init__.py

About

A python Azure Functions sample that takes an BlobTrigger InputStream object and uploads it to another container while retaining the content-type using the Azure Storage Python SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages