No video

02. Azure using Python SDK: Access and upload files in Azure Blob Storage

  Рет қаралды 12,335

TechyTacos

TechyTacos

Күн бұрын

Пікірлер: 23
@dhanaraj5638
@dhanaraj5638 3 күн бұрын
Thanks for your video. It's really useful
@oscarlai9511
@oscarlai9511 Күн бұрын
Perfect resource, love your work
@pavankalyanaddepalli22
@pavankalyanaddepalli22 5 ай бұрын
Awesome Explanation I searched for many resources, but couldn't find a good one like this
@TravelersCanada1008
@TravelersCanada1008 9 ай бұрын
It’s really detailed video. Thanks for sharing knowledge!!
@TechyTacos
@TechyTacos 9 ай бұрын
Glad it was helpful!
@therealsirben
@therealsirben 8 ай бұрын
Thank you so much for this detailed tutorial
@TechyTacos
@TechyTacos 8 ай бұрын
Most welcome 😊
@olatunjiosunji8579
@olatunjiosunji8579 4 ай бұрын
So, if i need to locally write a python script to connect to Azure storage from a linux box, I cannot use DefaultAzureCredential for authentication
@TechyTacos
@TechyTacos 4 ай бұрын
Actually, you can use DefaultAzureCredential for authentication when writing a Python script. ClientSecretCredential and DefaultAzureCredential are both part of the azure-identity library and are used for authentication in Azure. ClientSecretCredential is a more direct method that requires specific details (client ID, client secret, and tenant ID), while DefaultAzureCredential is a more flexible method that can handle a variety of scenarios. DefaultAzureCredential is a class that provides a simplified authentication experience. It’s designed to interactively authenticate your development environment, a managed identity, or a service principal. It sequentially checks for the availability of multiple credential types and uses the first one it finds. This makes it a more flexible option when you’re unsure of the environment in which your code will be run. I will try to cover it in my future videos !
@ramum4684
@ramum4684 5 ай бұрын
Awesome explanation Thank you. Looking for good vedios further
@lavanijavidalikhan3844
@lavanijavidalikhan3844 6 ай бұрын
When i am executing with excel file it is getting encrypted in o/p How to tackle that
@user-of3se9ve7d
@user-of3se9ve7d 8 ай бұрын
Thanks for knowledge sharing, can we copy blobs from one storage account to other between different Tenants.
@TechyTacos
@TechyTacos 7 ай бұрын
Yes, it is possible to copy blobs from one storage account to another between different tenants. We can try something like this : from azure.storage.blob import BlobServiceClient # Create BlobServiceClient for source and target storage accounts source_blob_service_client = BlobServiceClient(account_url=".blob.core.windows.net", credential="") target_blob_service_client = BlobServiceClient(account_url=".blob.core.windows.net", credential="") # Get the container client for the source and target containers source_container_client = source_blob_service_client.get_container_client("") target_container_client = target_blob_service_client.get_container_client("") # List all blobs in the source container blobs_list = source_container_client.list_blobs() # Copy each blob from the source container to the target container for blob in blobs_list: source_blob_url = source_blob_service_client.make_blob_url("", blob.name) copied_blob = target_container_client.get_blob_client(blob.name) copied_blob.start_copy_from_url(source_blob_url)
@harshitgupta7782
@harshitgupta7782 8 ай бұрын
What if I have ADLS Gen2 and not Blob storage. Can you please also make a video on how to read data from ADLS Gen2 (HNS enabled)
@TechyTacos
@TechyTacos 8 ай бұрын
Thanks for the ask. Let me look into it.
@jintuthomas-vj3tt
@jintuthomas-vj3tt 6 ай бұрын
can you please share the link of service principle part ?
@TechyTacos
@TechyTacos 6 ай бұрын
Please refer this. kzbin.info/www/bejne/jKSWqKx8oJ6optE Search for Microsoft Entra ID instead of Azure Active Directroy. This service has been renamed.
@sudhansumtripathy
@sudhansumtripathy 10 ай бұрын
bro how do I download the size of the file ,here the file size is 22bytes, how to write the script which says the file name and the file byte size
@TechyTacos
@TechyTacos 10 ай бұрын
You can do it very easily. We just need to loop over the list of the blobs and print the properties. for blob in container_client.list_blobs(): print(f"Blob name: {blob.name}") print(f"Blob size: {blob.size} bytes")
@sudhansumtripathy
@sudhansumtripathy 11 ай бұрын
bro awesome , needs some help how to connect with you
@TechyTacos
@TechyTacos 11 ай бұрын
Thanks ! You can email. Please go to About -> Business Inquiries -> View Email to get email ID.
@ansarikasim5497
@ansarikasim5497 8 ай бұрын
How to save this file?
@TechyTacos
@TechyTacos 8 ай бұрын
Are you looking to save file on your local ? Could you please explain a bit.
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 1,2 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 40 МЛН
Azure Storage Tutorial | Introduction to Blob, Queue, Table & File Share
23:01
Adam Marczak - Azure for Everyone
Рет қаралды 227 М.
Using Blob Storage [3 of 8] | .NET on Azure for Beginners
22:07
powerapps azure blob storage connector
35:59
Shane Young
Рет қаралды 43 М.
Simple, Fast, Idiomatic: An Intro to the Azure SDK for Python
26:05
Microsoft Azure Developers
Рет қаралды 2,3 М.
AZ-900 Episode 11 | Azure Storage Services | Blob, Queue, Table, Files, Disk and Storage Tiers
19:25
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 1,2 МЛН