An internet MIME-message is usually accompanied by a content-type string like text/plain or application/collection+json. The mimes library allows parsing these and can if types are subsets of another – a parser that handles application/json, for example, will be perfectly fine handing the collection+json type with less semantics.
It also parses more complex strings including parameters (e.g. application/vnd.company.someapi; version=3) and can construct these as well.
See the docs for details.
Metadata
Release files for mimes 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mimes-0.3.tar.gz | 2.9 kB | Details |
Release files / mimes-0.3.tar.gz
| Download URL | mimes-0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bffcb730a6cb648d3c10cb9f11d7b36e4c41f5cc78df7a1f112d490adcb0a2c
|
|
BLAKE2b-256 checksum How to use checksums |
036e97533a18f0e321b7f62bd38637fcf2eccb4176e0a27aeafa70bf5f2446bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |