MIME type detection by filename
Project description
k3mime
This module provide some util methods to handle mime type.
k3mime is a component of pykit3 project: a python3 toolkit set.
Table of Content
Name
k3mime
Status
The library is considered production ready.
Install
pip install k3mime
Synopsis
import k3mime
print(k3mime.get_by_filename('file.json'))
# application/json
Author
Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com
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
k3mime-0.1.6.tar.gz
(12.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
k3mime-0.1.6-py3-none-any.whl
(12.9 kB
view details)
File details
Details for the file k3mime-0.1.6.tar.gz.
File metadata
- Download URL: k3mime-0.1.6.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7362d1f5ebf12f53c93b15690c5dc249f0fe5902fbcfffdb8ea50a9fdc5483d
|
|
| MD5 |
89225f10454aaf9e27439c2758e59dbc
|
|
| BLAKE2b-256 |
bc1a51da91bf4cf4fac7fdd548966caf0a3c14844e51ff3d0951393d143f4629
|
File details
Details for the file k3mime-0.1.6-py3-none-any.whl.
File metadata
- Download URL: k3mime-0.1.6-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a67dd36405b31df4f0adeeef2e18d67c0e15b48dd47a089fcb06ad3159213990
|
|
| MD5 |
cd0a78b18a5cdf23ce6564f73dcb99fb
|
|
| BLAKE2b-256 |
d33840e1c547b6bc289303fb0b3dd7f96e04b4c881dcee722dcec6cbbaf5d85a
|