from django.core.files.uploadedfile import SimpleUploadedFile file_content = b"This is a sample file." file_name = "sample.txt" mime_type = "text/plain" uploaded_file = SimpleUploadedFile(file_name, file_content, content_type=mime_type)In this example, we are creating a new instance of SimpleUploadedFile with file_content, file_name, and mime_type specified. This uploaded_file object can then be used for uploading the file to the Django server. This package library is used by Django to manage file uploads in web applications.