# django-file
Django File Relative
## Installation
```shell
pip install django-file
```
## Usage
```python
from django_file import calculate_md5
def xxx(request):
photo = request.FILES.get('photo', '')
# if photo:
# md5 = calculate_md5(photo)
md5 = calculate_md5(photo)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/django-xxx/django-file",
"name": "django-file",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Django File",
"author": "Hackathon",
"author_email": "kimi.huang@brightcells.com",
"download_url": "https://files.pythonhosted.org/packages/1e/a6/cfd511852a69a0593c4c6936893440b9ea56f7ca85fecb2532216a7e7096/django-file-1.0.6.tar.gz",
"platform": null,
"description": "# django-file\nDjango File Relative\n\n## Installation\n```shell\npip install django-file\n```\n\n## Usage\n```python\nfrom django_file import calculate_md5\n\ndef xxx(request):\n photo = request.FILES.get('photo', '')\n # if photo:\n # md5 = calculate_md5(photo)\n md5 = calculate_md5(photo)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Django File Relative",
"version": "1.0.6",
"split_keywords": [
"django",
"file"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5759cf35eb036ca497b4d696522ee0adf8af3bc7391e715c77d23dc0c2085b7b",
"md5": "bce2a942ea11e42413894f526010f3be",
"sha256": "1f15e1a597186b20ff10c2036bbca65bffc6ba99b9b693b51e50336d1708bfb2"
},
"downloads": -1,
"filename": "django_file-1.0.6-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "bce2a942ea11e42413894f526010f3be",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 2953,
"upload_time": "2023-02-06T10:48:15",
"upload_time_iso_8601": "2023-02-06T10:48:15.374647Z",
"url": "https://files.pythonhosted.org/packages/57/59/cf35eb036ca497b4d696522ee0adf8af3bc7391e715c77d23dc0c2085b7b/django_file-1.0.6-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ea6cfd511852a69a0593c4c6936893440b9ea56f7ca85fecb2532216a7e7096",
"md5": "dd0ab1a90e20ea84a799f5995d544fd4",
"sha256": "f77dd4d923dde0754731377ec5c51703d407197545fa03cc00eff5e4d89e7b0e"
},
"downloads": -1,
"filename": "django-file-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "dd0ab1a90e20ea84a799f5995d544fd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2210,
"upload_time": "2023-02-06T10:48:18",
"upload_time_iso_8601": "2023-02-06T10:48:18.111462Z",
"url": "https://files.pythonhosted.org/packages/1e/a6/cfd511852a69a0593c4c6936893440b9ea56f7ca85fecb2532216a7e7096/django-file-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-06 10:48:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "django-xxx",
"github_project": "django-file",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "django-file"
}