django-utils-six
Forward compatibility django.utils.six for Django 3
Decision gist · record as of 2026-08-14
Yes, but only as a temporary migration aid. Install this if you need to run Django 3+ code that still imports from django.utils.six and you cannot immediately refactor those imports. Do not rely on it long-term: the package is abandoned and will not track Django or Python version changes. Plan to remove the dependency by replacing six calls with native Python 3 equivalents.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 3 or later; does not work with Django 2.x where django.utils.six is already present
- Installation is frictionless with no runtime dependencies, but the package has been abandoned since its single release and will not receive updates for newer Django versions or Python changes.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is a permissive open-source license with minimal restrictions; you can use this package freely in commercial and private projects.
last release 2020-06-17 (2249 days) · last repo commit 2020-10-27 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 249,038 downloads/mo, #8,655 on PyPI
Alternatives
Verify before relying
pip install django-utils-six
from django.utils.six import string_types
if isinstance(value, string_types):
pass- Whether this backport remains compatible with Django versions released after 2020
- Whether the backported six module covers all use cases that django.utils.six provided in Django 2.2
- Whether Python versions beyond 3.8 are supported despite classifier declarations
What it is and what it does
django-utils-six is a compatibility shim that restores the django.utils.six module for Django 3+. Django removed six in version 3, breaking libraries that depended on it for Python 2/3 compatibility utilities. This package copies the six implementation from Django 2.2 and makes it available as a standalone module, allowing legacy code to continue working without rewriting imports or compatibility logic.
The package is a thin wrapper with no external dependencies and supports Python 3.6, 3.7, and 3.8. It is intended as a temporary bridge for migrating codebases away from django.utils.six, not as a long-term solution. Since its only release on 2020-06-17, it has received no updates and is no longer maintained.
Use it for
- Migrate a Django 2.x codebase to Django 3+ without immediately refactoring all six imports
- Unblock third-party libraries that still reference django.utils.six when upgrading to Django 3
- Provide a compatibility layer while gradually replacing six utilities with native Python 3 equivalents
- Test legacy Django middleware or utilities that depend on django.utils.six in a Django 3 environment
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but only as a temporary migration aid.
Install this if you need to run Django 3+ code that still imports from django.utils.six and you cannot immediately refactor those imports. Do not rely on it long-term: the package is abandoned and will not track Django or Python version changes. Plan to remove the dependency by replacing six calls with native Python 3 equivalents.
Install
django-utils-six on PyPI
Before you install
Installation is frictionless with no runtime dependencies, but the package has been abandoned since its single release and will not receive updates for newer Django versions or Python changes.
Requires Django 3 or later; does not work with Django 2.x where django.utils.six is already present
License in practice
BSD-3-Clause is a permissive open-source license with minimal restrictions; you can use this package freely in commercial and private projects.
Quickstart
pip install django-utils-six
from django.utils.six import string_types
if isinstance(value, string_types):
pass
Verify before relying
- Whether this backport remains compatible with Django versions released after 2020
- Whether the backported six module covers all use cases that django.utils.six provided in Django 2.2
- Whether Python versions beyond 3.8 are supported despite classifier declarations
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.6,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,249 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 249,038 / month, #8,655 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: django_utils_six-2.0-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 › “django six compatibility”
- django-utils-sixProvides a backport of Django 2.2's django.utils.six module for…
- types-sixProvides type hints for the six Python 2/3 compatibility library,…
- dj-inmemorystorageAn in-memory storage backend for Django that implements Django's…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also traceback2 · inspect2 · backports.tempfile · multiprocessing · backports.ssl · importlib · pathlib2 · pickle5 · linecache2 · django-js-reverse