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)

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.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

django_file_md5-1.0.0-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.0.tar.gz.

File metadata

File hashes

Hashes for django-file-md5-1.0.0.tar.gz
Algorithm Hash digest
SHA256 001ca689db0dc7abffe8a3fcf6f28e75de64f58175891f7c51fcae3471155c80
MD5 15accef6e8d479473a23d60db2b5459b
BLAKE2b-256 a9e5ca224d9ebfd7d232279d60d1c5e7aea0d16b081ec934e27733422cf424b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_file_md5-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 96f248c49202191b8dafe6e24e1baac2044ef278500d271089b3d40cd1647736
MD5 0b4470cbe5d2951662b0e19853694b48
BLAKE2b-256 dc9c0cd4d4bc064d680f08d470e7aa76cac97665c2fcf4e92178e283252f9b21

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