Skip to main content

Django File Md5

Project description

Django File Md5

Installation

pip install django-file-md5

Usage

from django_file_md5 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.3.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_file_md5-1.0.3-py2.py3-none-any.whl (2.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: django-file-md5-1.0.3.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for django-file-md5-1.0.3.tar.gz
Algorithm Hash digest
SHA256 97d06c53ec8ff106c1f1ef2e58cad05c41b17dfa452fb0b0d3f614592fd14ef7
MD5 523106eafe1b1881c3364b7c46040541
BLAKE2b-256 453c0799e962383f297b416b55ae6fa484da63783fbff5182b20a113d25c9510

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_file_md5-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for django_file_md5-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 297f6ec6a08e2e04cc320a14db85bfc0526b13f76a14545be5602ae4c2e2054d
MD5 ac93211939688f23c5bc85a9c0be7536
BLAKE2b-256 6b345c705fa09764aa08094bef665e6c3e25c914d7f0068fd895f038d86f3207

See more details on using hashes here.

Supported by

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