mo-future
More future! Make Python 2/3 compatibility a bit easier
Decision gist · record as of 2026-08-14
Yes, if you are actively maintaining Python 2 legacy code that needs to run on Python 3. The flat namespace genuinely simplifies compatibility imports compared to larger libraries. However, the aging maintenance status (425 days since last release) and small user base (2 GitHub stars) suggest this is a niche tool—if you are starting a new project or have already fully migrated to Python 3, it offers no value.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last release was 425 days ago, though the repository remains active with a recent commit on 2025-06-15.
License · maintenance · safety
MPL 2.0 (copyleft) — Licensed under MPL 2.0 (copyleft). Users must comply with copyleft obligations if they modify and distribute the package; proprietary projects using it unmodified face no additional restrictions.
last release 2025-06-15 (425 days) · last repo commit 2025-06-15 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 342,902 downloads/mo, #7,391 on PyPI
Alternatives
Verify before relying
pip install mo-future
from mo_future import StringIO, text
# Use StringIO and text type directly without version checks
output = StringIO()
output.write(text("hello"))- Whether the package still actively maintains Python 2 compatibility code or has fully migrated to Python 3-only internals as of December 2022
- Specific list of all compatibility types and utilities exposed in the mo_future namespace beyond StringIO and text
What it is and what it does
mo-future is a Python 2/3 compatibility shim designed to simplify migration of legacy Python 2 code to Python 3. Rather than hunting through sub-modules of larger compatibility libraries like `future` or `six`, it flattens all commonly needed compatibility imports into a single top-level `mo_future` namespace. This eliminates the need for conditional imports or try-except blocks when accessing types like StringIO or text across Python versions.
The package targets codebases that still carry Python 2 logic but need to run on modern Python 3 versions. It has been marked Production/Stable and supports Python 3.8 through 3.13, though it no longer points to Python 2 modules as of December 2022. With no runtime dependencies, it adds minimal friction to any project.
Use it for
- Migrating legacy Python 2 codebases to Python 3 without rewriting all compatibility imports at once
- Simplifying StringIO imports that differ between Python 2 and 3 standard libraries
- Centralizing text type handling across Python versions in a single import statement
- Reducing boilerplate in projects that still contain Python 2-era code patterns
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively maintaining Python 2 legacy code that needs to run on Python 3.
The flat namespace genuinely simplifies compatibility imports compared to larger libraries. However, the aging maintenance status (425 days since last release) and small user base (2 GitHub stars) suggest this is a niche tool—if you are starting a new project or have already fully migrated to Python 3, it offers no value.
Install
mo-future on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last release was 425 days ago, though the repository remains active with a recent commit on 2025-06-15.
License in practice
Licensed under MPL 2.0 (copyleft). Users must comply with copyleft obligations if they modify and distribute the package; proprietary projects using it unmodified face no additional restrictions.
Quickstart
pip install mo-future
from mo_future import StringIO, text
# Use StringIO and text type directly without version checks
output = StringIO()
output.write(text("hello"))
Verify before relying
- Whether the package still actively maintains Python 2 compatibility code or has fully migrated to Python 3-only internals as of December 2022
- Specific list of all compatibility types and utilities exposed in the mo_future namespace beyond StringIO and text
Package facts
| License | MPL 2.0 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 425 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 342,902 / month, #7,391 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: mo_future-7.685.25166-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 › “python 2 to 3 compatibility”
- mo-futureProvides a flat-namespace compatibility layer for Python 2/3 code…
- sixSix provides utility functions to write Python code that runs on both…
- django-utils-sixProvides a backport of Django 2.2's django.utils.six module for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also future · mo-imports · reorder-python-imports · langchain-databricks · sqlite-migrate · snowflake._legacy · lia-web · eight · sklearn-compat