Skip to main content
0000-0010:  89 50 4e 47-0d 0a 1a 0a-00 00 00 0d-49 48 44 52  .PNG.... ....IHDR
0000-0020:  00 00 04 7b-00 00 04 dc-08 06 00 00-00 14 48 89  ...{.... ......H.
0000-0030:  b8 00 00 20-00 49 44 41-54 78 9c ec-dd dd 6f 9b  .....IDA Tx....o.
0000-0040:  e7 79 c7 f1-4b 22 25 ca-2c d9 06 89-e2 84 69 d2  .y..K"%. ,.....i.
0000-0050:  ed a0 62 57-0c cb 10 ef-d8 f0 b1 e1-3f 70 c0 fe  ..bW.... ....?p..
0000-0060:  0f c3 c7 86-cf 5b ac c3-b0 56 ca 41-d3 bc 28 49  .....[.. .V.A..(I
0000-0070:  e5 34 0b 19-5a 6f b4 86-9b b3 8b b5-4b 03 c7 a6  .4..Zo.. ....K...
0000-0080:  24 ea a7 cf-07 20 22 39-00 f9 f0 b9-1f 09 d0 17  $....."9 ........
0000-0090:  d7 73 73 6d-32 99 9c 15-00 00 00 00-11 d6 2d 23  .ssm2... ......-#
0000-00a0:  00 00 00 40-0e b1 07 00-00 00 20 88-d8 03 00 00  ...@.... ........
0000-00b0:  00 10 44 ec-01 00 00 00-08 22 f6 00-00 00 00 04  ..D..... ."......
0000-00c0:  11 7b 00 00-00 00 82 88-3d 00 00 00-00 41 c4 1e  .{...... =....A..
0000-00d0:  00 00 00 80-20 62 0f 00-00 00 40 10-b1 07 00 00  .....b.. ..@.....
0000-00e0:  00 20 88 d8-03 00 00 00-10 44 ec 01-00 00 00 08  ........ .D......
0000-00f0:  22 f6 00 00-00 00 04 11-7b 00 00 00-00 82 88 3d  "....... {......=
0000-0100:  00 00 00 00-41 c4 1e 00-00 00 80 20-62 0f 00 00  ....A... ....b...
0000-0110:  00 40 10 b1-07 00 00 00-20 88 d8 03-00 00 00 10  .@...... ........

pypi made with python license Build status Coverage Status python-versions Downloads pre-commit.ci status DeepSource CodeFactor black docs Pylint Workflow for Codecov Python package CodeQL Percentage of issues still open

What Is File Validator? ✅

It is a Python library for file validation based on MIME, size, type and magic numbers that supports Django.

Why should we use this library? 🧐

  • File validation based on MIME, type, extension, magic numbers and size

  • File validation using the filetype library

  • File validation using the python-magic library

  • File validation using the mimetypes library

  • File validation using the puremagic library

  • File validation simultaneously with all libraries

  • File Size validation

  • Provided ValidatedFilefield and FileValidator for file validation in Django

  • Provided ValidatedFilefield in forms with support accept, multiple and custom css attributes

  • Supporting for all mimes

Where to report if we found a bug? 🪲

Can report the problem through this link

Where should I ask if I had any questions❓

Can you ask your questions through this link

Where to read the documentation? 📄

Can you read the documentation through this link

Contributors

Where to read the last history of changes? 📃

you can read the latest changes history in this link

Metadata

Release files for file-validator 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for file-validator 1.0.9
File Size Uploaded
file_validator-1.0.9.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for file-validator 1.0.9
File Interpreter ABI Platform
file_validator-1.0.9-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 31.7 kB

Release files / file_validator-1.0.9.tar.gz

Download URL file_validator-1.0.9.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d74682e80c1e2117bd32d039a816ef3a2c1cf1e11053b216218b5b9758cae3ae
BLAKE2b-256 checksum
How to use checksums
2bf02e6e840794d807c64f634e524fe637b2bb0aa6bb057565ad618d490e9c21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.9.6 requests/2.28.2 setuptools/67.4.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.8.0

Release files / file_validator-1.0.9-py2.py3-none-any.whl

Download URL file_validator-1.0.9-py2.py3-none-any.whl
Size 15.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b3408820aa8eb389523eedd578e5af62667726b8c216cbb0bd8276b85c825792
BLAKE2b-256 checksum
How to use checksums
7663da77750bc4fe6a5d22b7733765f1cdbc90cf7f061c0e95819c35aac89182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.9.6 requests/2.28.2 setuptools/67.4.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page