Skip to main content

Extracts body text from MediaWiki wikitext by stripping off templates, html tags, tables, headers, etc.

Project description

https://travis-ci.org/danmichaelo/mwtextextractor.png?branch=master https://coveralls.io/repos/danmichaelo/mwtextextractor/badge.png

mwtextextractor extracts simple body text from MediaWiki wikitext by stripping off templates, html tags, tables, headers, etc. The extracted text can be used for word counting.

Example:

from mwtextextractor import get_body_text
print get_body_text('Lorem {{ipsum}} dolor')

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

mwtextextractor-0.1.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

mwtextextractor-0.1.3-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mwtextextractor-0.1.3.tar.gz.

File metadata

  • Download URL: mwtextextractor-0.1.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.4

File hashes

Hashes for mwtextextractor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 014893a4c881c69cbe0459caad85e0f33e64f4485133342bc42ea4550d098b08
MD5 795f69eee640e6a329ff28cd6bb8ccfb
BLAKE2b-256 c397a716b7fb8124a36bc25567ba95e865d49c27fdcf71a9d9400b58b7131843

See more details on using hashes here.

File details

Details for the file mwtextextractor-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: mwtextextractor-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.4

File hashes

Hashes for mwtextextractor-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3c59a0a13d8bf688057aa5d427ff3de2b6fef820b7812b1e4eaeedbfec77ec1
MD5 288aae2f24572200d78c882807307bec
BLAKE2b-256 253925023b748b78eb95605e27e4df8d3b3d166743afca6f1779fd23392cac42

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