Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /FastJango_FastJango /fastjango /media /__init__.py
| """ | |
| FastJango Media - Django-like media file handling. | |
| This module provides media file handling for FastJango, similar to Django's | |
| media file handling but adapted for FastAPI. | |
| """ | |
| from .files import MediaFile, MediaFileHandler, MediaStorage | |
| from .upload import FileUploadHandler, ImageUploadHandler | |
| from .storage import FileSystemStorage, MemoryStorage | |
| from .utils import get_media_url, get_media_path, serve_media_file | |
| __all__ = [ | |
| # Files | |
| 'MediaFile', | |
| 'MediaFileHandler', | |
| 'MediaStorage', | |
| # Upload | |
| 'FileUploadHandler', | |
| 'ImageUploadHandler', | |
| # Storage | |
| 'FileSystemStorage', | |
| 'MemoryStorage', | |
| # Utils | |
| 'get_media_url', | |
| 'get_media_path', | |
| 'serve_media_file', | |
| ] | |
Xet Storage Details
- Size:
- 728 Bytes
- Xet hash:
- e3ec95a0fa8c518dd57a9d996b414704d52443b5a128a7802a2ceaabcf64e1d4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.