MIME Type Description
Human-readable MIME type descriptions based on shared-mime-info.
Install
pip install mimetype-description
Usage
from mimetype_description import guess_mime_type, get_mime_type_description
mime_type = guess_mime_type('file.txt')
description = get_mime_type_description(mime_type)
print(description) # plain text document
Test
pytest
Metadata
Release files for mimetype-description 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mimetype_description-0.1.1.tar.gz | 343.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mimetype_description-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 690.1 kB
Release files / mimetype_description-0.1.1.tar.gz
| Download URL | mimetype_description-0.1.1.tar.gz |
|---|---|
| Size | 343.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06ff34ac416a209fda7db322447352e7adb7d2800f473ce5e8c4c89847deb389
|
|
BLAKE2b-256 checksum How to use checksums |
eff18b69a54aebdfb9be618d262af9a50db6fd7d596424ae3c23082afbb9fd30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / mimetype_description-0.1.1-py3-none-any.whl
| Download URL | mimetype_description-0.1.1-py3-none-any.whl |
|---|---|
| Size | 346.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3aedb7bd5639f26c21c4c9e4577e909696bd71cf4758ad6deceedc15d4b20708
|
|
BLAKE2b-256 checksum How to use checksums |
3ce6d7ee0eb7703586b59a4c4ab6d18c66aabed7d3703d744835cc4c76833904
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for mimetype-description 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.