• Bug#1103880: ITP: python-django-pgbulk -- Django functions for doing na

    From Colin Watson@21:1/5 to All on Tue Apr 22 14:20:02 2025
    XPost: linux.debian.devel

    Package: wnpp
    Severity: wishlist
    Owner: Colin Watson <cjwatson@debian.org>
    X-Debbugs-Cc: debian-devel@lists.debian.org

    * Package name : python-django-pgbulk
    Version : 3.2.2
    Upstream Contact: Wes Kendall
    * URL : https://github.com/AmbitionEng/django-pgbulk
    * License : BSD-3-clause
    Programming Lang: Python
    Description : Django functions for doing native PostgreSQL bulk upserts

    django-pgbulk provides functions for doing native Postgres bulk upserts
    (i.e. UPDATE ON CONFLICT), bulk updates, and COPY FROM.

    Bulk upserts can distinguish between updated/created rows and ignore
    unchanged updates.

    Bulk updates are true bulk updates, unlike Django's bulk_update which
    can still suffer from O(N) queries and can create poor locking
    scenarios.

    Bulk copies can significantly speed-up bulk inserts, sometimes by an
    order of magnitude over Django's bulk_create.


    I intend to package this because it's a dependency of new versions of python-django-pgtrigger, which we use in debusine; but it seems like a
    useful thing to have anyway. I'll maintain it within the Debian Python
    Team.

    --
    Colin Watson (he/him) [cjwatson@debian.org]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)