Skip to main content

Parser for mhtml files

Project description

pimht

Python mhtml parser

Installation

$ pip install pimht

Example

import pimht

mhtml = pimht.from_filename("test.mhtml")
for part in mhtml:
    print(part)

Performance

The chardet module, used by default, is slow. Performance can be improved by also installing cchardet with:

$ pip install pimht[speedups]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pimht-0.2.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pimht-0.2.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pimht-0.2.2.tar.gz.

File metadata

  • Download URL: pimht-0.2.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pimht-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c4c800e988bd5aaf101d2ca2933c0d22e24a61fb012832e1f56924a11a5c68d1
MD5 d02de1f328bb99d2f00ba45172fd37e9
BLAKE2b-256 42ab6249611f50b45467706045e35562a9644797ea17cbfb1d1c95fd464fea87

See more details on using hashes here.

File details

Details for the file pimht-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pimht-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pimht-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23591ac828b28afc5885a7b63327542abeba358acfcee75da7b21f83998f8edf
MD5 15876ed782d64044d831ff4a590d802a
BLAKE2b-256 e367e8a6d34f412630c52640687feb1fe5a98fae08571d82ecda98b212094e28

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page