mwtypes
A set of types for processing MediaWiki data.
Decision gist · record as of 2026-08-14
Yes, if you are working directly with MediaWiki or Wikipedia data and need a stable, lightweight type system to normalize across sources. The permissive MIT license and low install friction make it a safe choice. However, verify that the included types match your specific use case, and be aware that maintenance is dormant—if you need active support or compatibility updates for newer MediaWiki API versions, you may need to maintain a fork or seek alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single lightweight dependency (jsonable).
- Dormant maintenance status—last release was 2024-07-09 and no commits since then—but the repository remains active and the package has been stable since its 2015 initial release.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and redistribute this package with minimal restrictions, provided you retain the license notice.
last release 2024-07-09 (766 days) · last repo commit 2024-07-29 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 247,802 downloads/mo, #8,682 on PyPI
Alternatives
Verify before relying
pip install mwtypes
import mwtypes
# Use mwtypes classes to work with MediaWiki data structures- What specific MediaWiki data types (e.g., User, Page, Revision, Edit) are included in the class set.
- Whether the library is actively maintained for compatibility with current MediaWiki API versions.
- Performance characteristics when handling large-scale MediaWiki data or dumps.
What it is and what it does
mwtypes is a Python library that defines a standard set of classes for representing MediaWiki data—the kind you encounter in Wikipedia databases, XML dumps, and API responses. Its purpose is to bridge naming and structural differences between these three sources, so you can work with MediaWiki information consistently regardless of where it came from.
The library depends only on jsonable for serialization support. It's designed for developers working with MediaWiki data programmatically—whether you're parsing Wikipedia dumps, querying the MediaWiki API, or reading database exports. The package has been stable since 2015 but is currently dormant, with no active development; the last release was in July 2024.
Use it for
- Parse and normalize Wikipedia or MediaWiki dump data into consistent Python objects.
- Convert between different MediaWiki API response formats and internal database representations.
- Build tools that read MediaWiki data from multiple sources and need a unified type system.
- Serialize MediaWiki objects to JSON for storage or transmission using standardized schemas.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working directly with MediaWiki or Wikipedia data and need a stable, lightweight type system to normalize across sources.
The permissive MIT license and low install friction make it a safe choice. However, verify that the included types match your specific use case, and be aware that maintenance is dormant—if you need active support or compatibility updates for newer MediaWiki API versions, you may need to maintain a fork or seek alternatives.
Install
mwtypes on PyPI
Before you install
Low install friction with a single lightweight dependency (jsonable). Dormant maintenance status—last release was 2024-07-09 and no commits since then—but the repository remains active and the package has been stable since its 2015 initial release.
License in practice
MIT license is permissive; you can use, modify, and redistribute this package with minimal restrictions, provided you retain the license notice.
Quickstart
pip install mwtypes
import mwtypes
# Use mwtypes classes to work with MediaWiki data structures
Verify before relying
- What specific MediaWiki data types (e.g., User, Page, Revision, Edit) are included in the class set.
- Whether the library is actively maintained for compatibility with current MediaWiki API versions.
- Performance characteristics when handling large-scale MediaWiki data or dumps.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagejsonable |
| Maintenance | Dormant 766 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 247,802 / month, #8,682 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Scientific/EngineeringTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: GeneralTopic :: Utilities |
Evidence: mwtypes-0.4.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mediawiki data types”
- mwtypesProvides standardized Python classes for MediaWiki data types,…
- wikitextparserParses and manipulates MediaWiki wikitext markup, extracting and…
- mwxmlEfficiently parse and stream-process MediaWiki XML database dumps…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also mwcli · mwxml · mwclient · wikipedia · mwparserfromhell · pywikibot · wikitextparser · zhconv · w3lib · Wikipedia-API