Pure python mimesniff implementation of https://mimesniff.spec.whatwg.org
Project description
Pure python mimesniff implementation of https://mimesniff.spec.whatwg.org
API interface is same with API of python standard library
Install
pip install mimesniff
Usage
import mimesniff
res = mimesniff.what('sample.mp3')
print(res)
# audio/mpeg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file mimesniff-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mimesniff-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4187ef8c249d47497d4388d27aa72e35593bc06ca345e748026fc3264a02fa4d |
|
MD5 | 860afa53ad6e97d1946be535904f5188 |
|
BLAKE2b-256 | 4b986b25cf4be26d986878fa38421db561dc659fef990e5f05869d82b64290ed |