Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
338 stars 240 forks source link

new feature request: adding unix style globbing tool to list files on azure blobs #690

Open martinResearch opened 3 years ago

martinResearch commented 3 years ago

It would be great to be able to list files in a azure blob using unix style glob expressions as provided in python for files on disk through the glob module.

This can be implemented in the client side using the original glob module as a reference and changing calls to os.listdir function by client.walk_blobs function. I implemented a working prototype using this approach.

If this was implemented on the server side this would potentially run much faster as would not require many back and forth communication between the azure server and the client.