$npx skillfedfor your agent

django-postgres-copy

Quickly import and export delimited data with Django support for PostgreSQL's COPY command

With conditionsPyPI DatabaseReleased Jun 20251.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_postgres_copy-2.8.0-py3-none-any.whl
v2.8.0 · released 2025-06-22 · Python >=3.9

Yes, if you use Django with PostgreSQL and need to move large volumes of delimited data. The package is production-stable, has no dependencies, and low install friction. The aging maintenance timeline is not a blocker—the code is stable and the repository shows recent activity. Install it if bulk operations speed is a requirement; skip it if you only work with small datasets or non-PostgreSQL databases.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Django project with a PostgreSQL database configured; the COPY command is PostgreSQL-specific and will not work with other database backends.
  • Low friction installation with no runtime dependencies.
  • Maintenance status is aging—last release was 418 days ago—but the repository remains active with recent commits and the package is marked production-stable across Django 4.2 through 5.2 and Python 3.9–3.13.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

last release 2025-06-22 (418 days) · last repo commit 2025-06-23 · 188 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,121,028 downloads/mo, #4,336 on PyPI

Verify before relying

pip install django-postgres-copy

from django_postgres_copy import CopyMapping

CopyMapping(
    MyModel,
    csv_file,
    dict_template={"field_name": "csv_column"}
).save()
  • Whether the package works with Django 6.0+ or if support is limited to the versions listed in classifiers.
  • Performance characteristics and memory efficiency gains compared to standard Django bulk operations.
  • Whether custom field types and model inheritance patterns are fully supported by the COPY mapping.
Same gist for agents: .md · .json

What it is and what it does

django-postgres-copy wraps PostgreSQL's native COPY command in a Django-friendly interface, letting you move delimited data directly from files without materializing rows in Python. It's designed for scenarios where you need to transfer large amounts of data into or out of a PostgreSQL table quickly—the COPY command bypasses Django's object instantiation and validation overhead.

The package provides a CopyMapping class that maps CSV columns to Django model fields and handles the mechanics of preparing data and executing the COPY operation. It's a thin, focused tool: no runtime dependencies, straightforward API, and production-stable across recent Django and Python versions. The aging maintenance status (last release 418 days ago) is offset by recent repository activity and broad version support, suggesting the package is stable rather than abandoned.

Use it for

  • Move large delimited files into PostgreSQL tables as part of a data pipeline.
  • Export Django model querysets to delimited files for reporting.
  • Migrate data between PostgreSQL tables using COPY for speed.
  • Load seed data during deployment when performance matters.
  • Integrate with external data sources that provide delimited formats.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Django with PostgreSQL and need to move large volumes of delimited data.

The package is production-stable, has no dependencies, and low install friction. The aging maintenance timeline is not a blocker—the code is stable and the repository shows recent activity. Install it if bulk operations speed is a requirement; skip it if you only work with small datasets or non-PostgreSQL databases.

Install

django-postgres-copy on PyPI

Before you install

Low friction installation with no runtime dependencies. Maintenance status is aging—last release was 418 days ago—but the repository remains active with recent commits and the package is marked production-stable across Django 4.2 through 5.2 and Python 3.9–3.13.

Requires a Django project with a PostgreSQL database configured; the COPY command is PostgreSQL-specific and will not work with other database backends.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install django-postgres-copy

from django_postgres_copy import CopyMapping

CopyMapping(
    MyModel,
    csv_file,
    dict_template={"field_name": "csv_column"}
).save()

Verify before relying

  • Whether the package works with Django 6.0+ or if support is limited to the versions listed in classifiers.
  • Performance characteristics and memory efficiency gains compared to standard Django bulk operations.
  • Whether custom field types and model inheritance patterns are fully supported by the COPY mapping.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 418 days since the last release
Last repo commit
First released
Downloads1,121,028 / month, #4,336 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: django_postgres_copy-2.8.0-py3-none-any.whl

Tags

Capabilities
django postgres bulk importpostgresql copy command djangofast csv import postgresbulk data loading djangopostgres delimited datadjango orm postgres copyhigh-performance data import
Topics
bulk-operationspostgres-nativeetl

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 postgres bulk import”

  • django-postgres-copyProvides Django ORM integration for PostgreSQL's COPY command to…
  • pgpqEncodes PyArrow RecordBatches into PostgreSQL's native binary format…
  • django-postgres-extraExtends Django's ORM to expose PostgreSQL-specific features like…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also django-import-export · pgcopy · django-postgres-extra · django-pg-bulk-update · django-citext · django-cities-light · records · django-bulk-update · pgpq · django-pglocks