A django app for uploading videos chunk by chunk and completing uploaded chunk after all chunks have been uploaded.
Project description
# to making this page to graphic design, we should using ‘typora’
Chunked Upload
This simple django app enables users to upload large files to Django Rest Framework in multiple chunks, with the ability to automatically delete uncomplete uploads if the upload is not completed.
1 - insatll with pip:
pip install something = should writing something - 1
2 - for using automatically delete uncomplete uploads:
INSTALLED_APPS = ( # … ‘django_cron’, ) - 2
3 - Typical usage
First, a request is sent to the server, which includes the length of the file. Then the server returns a response including the chunk size and an upload ID to the client. In the next request, the client sends the file with a predetermined chunk size to the server.
hint = In this code, the chunk number equal to 10 , you can change it if you need.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chunkupload-0.1.tar.gz
.
File metadata
- Download URL: chunkupload-0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07801ec54363c955af65e2e99a961c44546079c12bb990e0a8c54916e9d898f8 |
|
MD5 | ac419d30fb8f3aba24b0b950d8dced6c |
|
BLAKE2b-256 | fea1f6f48646bdf09a7a59cc5edebb03dfee7fd156e3e2edf3785e6386405cf0 |
File details
Details for the file ChunkUpload-0.1-py3-none-any.whl
.
File metadata
- Download URL: ChunkUpload-0.1-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d6214ea6487d9ad432cda57f47bcd92ec0855e67d7352ef6eaea0d313a96f5 |
|
MD5 | 26ba1d3ff432857b1a4deee7f286f382 |
|
BLAKE2b-256 | 79fb29651f10befe187c6a5a1f5c1b065ce0d5f85d43b09f8286aa815cc25521 |