codesagar / azure-blobs Goto Github PK
View Code? Open in Web Editor NEWPython flask application to upload files to Azure Blob
Python flask application to upload files to Azure Blob
Can you please share the content of config.py file that I can place to run the app. Currently it gives me an error
FileNotFoundError: [Errno 2] Unable to load configuration file
Having a Flask app that uploads folders from local device to Azure Blob Storage (ABS) and downloads folders from ABS to local device, while the app is dockerized, Iād like to download folders from ABS directly to the host device (not the docker image). Similarly, Iād like to upload folders available on the host device directly to the ABS.
Below is how currently the upload function I am using looklike:
# upload function
def post(self, local_folder_path):
local_folder_path = local_folder_path["local_folder_path"]
client = DirectoryClient(IMST_CREDENTIALS, IMST_CONTAINER_NAME)
client.upload(local_folder_path, '')
Below is how currently the download function I am using looklike:
# download function
def post(self, folder_path_on_ABS):
client = DirectoryClient(IMST_CREDENTIALS, IMST_CONTAINER_NAME)
client.download("folder_path_on_ABS", 'downloads/')
Note that Dockerfiles and docker-compose are already developed.
Support would be highly appreciated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.