django-import-export
Django application and library for importing and exporting data with included admin integration.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a common Django problem with both programmatic and UI-driven workflows. It's suitable for production use if you need import/export functionality; the BSD license poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 4.2 or later and Python 3.9 or later; Django must be installed and configured.
- Low friction installation with 3 runtime dependencies.
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
permissive license (permissive) — BSD license (permissive); you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-05-05 (101 days) · last repo commit 2026-08-14 · 3,332 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,017,559 downloads/mo, #2,787 on PyPI
Alternatives
Verify before relying
pip install django-import-export
from django_import_export import resources
from django_import_export.admin import ImportExportModelAdmin
class MyModelResource(resources.ModelResource):
class Meta:
model = MyModel
class MyModelAdmin(ImportExportModelAdmin):
resource_class = MyModelResource- Performance characteristics when importing or exporting very large datasets.
- Specific validation error messages and how they surface in the Admin UI.
- Reliability of character encoding handling across different file sources.
What it is and what it does
django-import-export is a Django application that lets you move data in and out of your models using common file formats like CSV, JSON, and XLSX. It works both programmatically and through a built-in Django Admin interface, so non-technical users can import or export data without writing code. The package handles reading files, mapping columns to model fields, validating data, and deciding whether to create new records or update existing ones.
It relies on tablib for format support and diff-match-patch for diffing, and integrates with Django's permission system to control who can import or export. It supports foreign keys, many-to-many relationships, custom transformations, and bulk operations. The Admin integration includes a preview step so users can review data before committing it to the database.
Use it for
- Bulk-load user or reference data from CSV files into your Django models via the Admin UI.
- Export model instances to multiple formats (CSV, JSON, XLSX) for reporting or data portability.
- Set up scheduled imports via cron jobs to sync external data sources into your application.
- Migrate data between different platforms by exporting from one system and importing into Django.
- Provide non-technical staff with a UI to manage data imports without direct database access.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and solves a common Django problem with both programmatic and UI-driven workflows. It's suitable for production use if you need import/export functionality; the BSD license poses no restrictions.
Install
django-import-export on PyPI
Before you install
Low friction installation with 3 runtime dependencies. Actively maintained with recent commits and no known vulnerabilities.
Requires Django 4.2 or later and Python 3.9 or later; Django must be installed and configured.
License in practice
BSD license (permissive); you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install django-import-export
from django_import_export import resources
from django_import_export.admin import ImportExportModelAdmin
class MyModelResource(resources.ModelResource):
class Meta:
model = MyModel
class MyModelAdmin(ImportExportModelAdmin):
resource_class = MyModelResource
Verify before relying
- Performance characteristics when importing or exporting very large datasets.
- Specific validation error messages and how they surface in the Admin UI.
- Reliability of character encoding handling across different file sources.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesdiff-match-patchDjangotablib |
| Maintenance | Actively maintained 101 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,017,559 / month, #2,787 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Framework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development |
Evidence: django_import_export-4.4.1-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 data import export”
- django-import-exportHandles import and export of data to and from Django models across…
- django-postgres-copyProvides Django ORM integration for PostgreSQL's COPY command to…
- pyexcel-ioProvides a unified API to read and write data in CSV, TSV, and zipped…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
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.
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.
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.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also django-postgres-copy · xlsx2csv · django-admin-csvexport · tablib · DataRecorder · DrissionRecord · django-sql-explorer · django-ajax-selects · django-data-browser · pyexcel