文件名称:file_storage:通过HTTP访问的文件存储
文件大小:675KB
文件格式:ZIP
更新时间:2024-05-02 06:13:55
Python
file_storage 可通过HTTP访问的文件存储。 Описание 守护程序,提供用于上传,下载和删除文件的HTTP API。 文件存储在名为store的项目的子文件夹中。 文件名是它们的哈希值总和,它们也嵌套在文件夹中,文件名是文件哈希值的前两个字符。 例如:文件名(又名文件哈希) dr2342...23dfe ,相对于具有file_storage/store/dr/dr2342...23dfe的文件夹的文件路径。 Подготовка к запуску 需要Python 3+才能运行程序 从存储git clone https://github.com/Glooshak/file_storage项目: git clone https://github.com/Glooshak/file_storage 转到项目文件夹: cd file_storage/ ,创建一个新的虚
【文件预览】:
file_storage-main
----.gitignore(2KB)
----README.md(3KB)
----manage.py(663B)
----files_manager()
--------admin.py(255B)
--------models.py(1KB)
--------migrations()
--------tests.py(60B)
--------hashes.py(418B)
--------__init__.py(0B)
--------apps.py(157B)
--------serializers.py(193B)
--------views.py(2KB)
----tutorial_images()
--------deleting.png(172KB)
--------uploading.png(254KB)
--------downloading.png(235KB)
----chamber_of_files.service(244B)
----LICENSE(1KB)
----requirements.txt(42B)
----storage()
--------settings.py(3KB)
--------urls.py(1KB)
--------__init__.py(0B)
--------asgi.py(391B)
--------routers.py(169B)
--------wsgi.py(391B)
----Makefile(381B)