semvec/pypi-packages huggingface dataset:
mimetype-description 0.1.1
Human readable MIME type descriptions
License: MIT
Requires Python: >=3.7

# MIME Type Description

Human-readable MIME type descriptions based on [shared-mime-info](https://www.freedesktop.org/wiki/Software/shared-mime-info/).

## Install

```bash
pip install mimetype-description
```

## Usage

```python
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

```bash
pytest
```