$npx skillfedfor your agent

django-chunkator

Chunk large QuerySets into small chunks, and iterate over them without killing your RAM.

SkipPyPI WWW/HTTPReleased Jun 2020178.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_chunkator-2.0.0-py3-none-any.whl
v2.0.0 · released 2020-06-22 · 1 runtime deps: django

No. The package is abandoned (last release 2020-06-22, last commit 2022-07-11) and untested against Django versions beyond 3.0. Compatibility with modern Django and Python versions is unverified. For new projects, consider using Django's built-in QuerySet.iterator() with chunk_size parameter, which provides similar functionality and is actively maintained.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Your Django model must define a unique pk field (the default), and the queryset must include it if using values().
  • Low install friction with a single Django dependency.
  • However, the package is abandoned—last release was 2020-06-22, with no commits since 2022-07-11.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2020-06-22 (2244 days) · last repo commit 2022-07-11 · 110 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 178,291 downloads/mo, #10,198 on PyPI

Verify before relying

pip install django-chunkator

from chunkator import chunkator
for item in chunkator(LargeModel.objects.all(), 200):
    do_something(item)
  • Compatibility with Django versions released after 3.0 and Python versions after 3.8.
  • Performance characteristics and memory savings on very large datasets.
  • Whether the package functions correctly with modern dependency versions.
Same gist for agents: .md · .json

What it is and what it does

django-chunkator provides a simple iterator that breaks a Django QuerySet into smaller batches, fetching and processing them one chunk at a time instead of loading the entire result set into memory. This is useful when you need to process large numbers of records but don't have enough RAM to hold them all at once. The package exports two main functions: chunkator() for iterating over individual items in chunks, and chunkator_page() for working with entire pages of results as lists.

The tool works by repeatedly querying the database with offset and limit, fetching each batch sequentially. It requires that your model has a unique primary key (which Django provides by default) and works with both standard integer PKs and UUIDs. The package has been tested with PostgreSQL and SQLite. Note that chunking does not speed up the overall process—it trades a single large query for multiple smaller ones, with the main benefit being reduced memory consumption during iteration.

Use it for

  • Bulk-update large numbers of records in a Django model without exhausting available RAM.
  • Export large datasets to CSV or other formats by processing rows in manageable batches.
  • Perform background tasks on all records in a table by chunking the queryset and dispatching each chunk to a task queue.
  • Migrate or transform data from one table to another when the result set is too large to fit in memory.
  • Generate reports or analytics by iterating over a large queryset in controlled increments.

Worth the install?

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

Skip

No.

The package is abandoned (last release 2020-06-22, last commit 2022-07-11) and untested against Django versions beyond 3.0. Compatibility with modern Django and Python versions is unverified. For new projects, consider using Django's built-in QuerySet.iterator() with chunk_size parameter, which provides similar functionality and is actively maintained.

Install

django-chunkator on PyPI

Before you install

Low install friction with a single Django dependency. However, the package is abandoned—last release was 2020-06-22, with no commits since 2022-07-11.

Your Django model must define a unique pk field (the default), and the queryset must include it if using values().

License in practice

MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install django-chunkator

from chunkator import chunkator
for item in chunkator(LargeModel.objects.all(), 200):
    do_something(item)

Verify before relying

  • Compatibility with Django versions released after 3.0 and Python versions after 3.8.
  • Performance characteristics and memory savings on very large datasets.
  • Whether the package functions correctly with modern dependency versions.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
django
MaintenanceAbandoned 2,244 days since the last release
Last repo commit
First released
Downloads178,291 / month, #10,198 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentFramework :: DjangoLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic Content

Evidence: django_chunkator-2.0.0-py3-none-any.whl

Tags

Capabilities
django queryset memory efficientbatch process large querysetschunk queryset iterationdjango ram optimizationpaginate queryset chunksdjango bulk processing
Topics
django-ormmemory-efficientabandoned

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 queryset memory efficient”

  • django-chunkatorIterates over large Django QuerySets in configurable chunks to avoid…
  • django-cursor-paginationImplements cursor-based pagination for Django querysets, allowing…
  • django-mysqlDjango-MySQL extends Django's ORM with MySQL and MariaDB-specific…

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also django-cursor-pagination · iterproxy · django-queryset-csv · graphene-django-optimizer · django-mock-queries · django-tables2 · django-sql-utils · django-query-builder · django-cacheops · django-pg-returning