Metadata-Version: 2.1
Name: mediatype
Version: 0.1.5
Summary: Media Type parsing and creation
Home-page: https://github.com/tombulled/mediatype
License: MIT
Keywords: python,mimetype,mediatype,contenttype,mime
Author: Tom Bulled
Author-email: 26026015+tombulled@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: enumb (>=0.1.4,<0.2.0)
Project-URL: Documentation, https://github.com/tombulled/mediatype
Project-URL: Repository, https://github.com/tombulled/mediatype
Description-Content-Type: text/markdown

# mediatype
Media Type parsing and creation

## Usage
```python
>>> import mediatype
>>>
>>> mime = mediatype('application/manifest+json')
>>>
>>> mime
MediaType(type='application', subtype='manifest', suffix='json', parameters=None)
>>>
```

## References
* [IANA - Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml)
* [RFC-6838 - Media Type Specifications and Registration Procedures](https://www.rfc-editor.org/rfc/rfc6838.html)
* [Mozilla - MIME types (IANA media types)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)
* [Wikipedia - Media type](https://en.wikipedia.org/wiki/Media_type)

