The 'Create a folder' feature is as the name suggests to create a new folder in a resource of your HydroShare account which would contain all the files you intend to upload. This feature is brought about by the HydroShare api Python library.
To try this on your own, you can use the code snippet below that is used in this demonstration.
auth = HydroShareAuthBasic(username= username, password= password)
hs = HydroShare(auth=auth)
folder_to_create = foldername
response_json = hs.createResourceFolder(resourcein, pathname=folder_to_create)
messages.success(request, "Folder created successfully")
if has_errors:
messages.error(request, "Please fix errors.")