Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.

This module provides basic functions for parsing mime-type names and matching them against a list of media-ranges.

See section 14.1 of RFC 2616 (the HTTP specification) for a complete explanation.

Testing

The format of the JSON test data file is as follows: A top-level JSON object which has a key for each of the functions to be tested. The value corresponding to that key is a list of tests. Each test contains: the argument or arguments to the function being tested, the expected results and an optional description.

Python

The Python tests require either Python 2.6 or the installation of the SimpleJSON library.

Installing SimpleJson can be done by: sudo easy_install simplejson

Run the tests by typing: PYTHONPATH=. python tests/mimeparse_test.py

Release files for lapis-mimeparse 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lapis-mimeparse 0.1.5
File Size Uploaded
lapis-mimeparse-0.1.5.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lapis-mimeparse 0.1.5
File Interpreter ABI Platform
lapis_mimeparse-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / lapis-mimeparse-0.1.5.tar.gz

Download URL lapis-mimeparse-0.1.5.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f1c650526437e3dc55a1334f1b40fe733aa566b4f217c9ef18422a86e4ec953a
BLAKE2b-256 checksum
How to use checksums
26aaea02174e241493a6c1bc32c049393756862f34e6317633079ed94519c948
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0

Release files / lapis_mimeparse-0.1.5-py3-none-any.whl

Download URL lapis_mimeparse-0.1.5-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cebe3ac40866760107792aa13234ed0ac180087039e3ec28563ba46325a3d31c
BLAKE2b-256 checksum
How to use checksums
5ed3468f2048facce24f8b4f28075e38c0050af638e5d59f89a7a46578e84be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page