Skip to main content

Django File Md5

Project description

Django File Md5

Installation

pip install django-file-md5

Usage

from filemd5 import calculate_md5

def xxx(request):
    photo = request.FILES.get('photo', '')
    # if photo:
    #     md5 = calculate_md5(photo)
    md5 = calculate_md5(photo)

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

django-file-md5-1.0.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

django_file_md5-1.0.1-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-file-md5-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-file-md5-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b56fefe6cae39e98fed78473a52a2459685e6fcd351ef3ff9a0cec7e26128fbc
MD5 11d6f3309ad094d14bf2bfec50eb518b
BLAKE2b-256 ebb433d81e02ebc592502a0bae9382cf7eb7b1ce45777b83f92a183562d45cba

See more details on using hashes here.

File details

Details for the file django_file_md5-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_file_md5-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0009a6d14ae932c15e66efa382354209f6e805c07deaf04f01659bcc41ae3a33
MD5 669ddfa4a2126c453f96d299432753cb
BLAKE2b-256 667131b052512e7d93beec03ad7cdd910eb4a2a9c4981b1178cfb263f0f2826a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page