| 1 |
Source: python-django-pgbulk |
| 2 |
Section: python |
| 3 |
Maintainer: Debian Python Team <[email protected]> |
| 4 |
Uploaders: |
| 5 |
Colin Watson <[email protected]>, |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13), |
| 8 |
dh-sequence-python3, |
| 9 |
pybuild-plugin-pyproject, |
| 10 |
python3-all, |
| 11 |
python3-poetry-core (>= 2.2.1), |
| 12 |
Standards-Version: 4.7.3 |
| 13 |
Homepage: https://github.com/AmbitionEng/django-pgbulk |
| 14 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-django-pgbulk |
| 15 |
Vcs-Git: https://salsa.debian.org/python-team/packages/python-django-pgbulk.git |
| 16 |
X-Style: black |
| 17 |
|
| 18 |
Package: python3-django-pgbulk |
| 19 |
Architecture: all |
| 20 |
Depends: |
| 21 |
python3-psycopg | python3-psycopg2, |
| 22 |
${misc:Depends}, |
| 23 |
${python3:Depends}, |
| 24 |
Description: Django functions for doing native PostgreSQL bulk upserts |
| 25 |
django-pgbulk provides functions for doing native Postgres bulk upserts |
| 26 |
(i.e. UPDATE ON CONFLICT), bulk updates, and COPY FROM. |
| 27 |
. |
| 28 |
Bulk upserts can distinguish between updated/created rows and ignore |
| 29 |
unchanged updates. |
| 30 |
. |
| 31 |
Bulk updates are true bulk updates, unlike Django's bulk_update which |
| 32 |
can still suffer from O(N) queries and can create poor locking |
| 33 |
scenarios. |
| 34 |
. |
| 35 |
Bulk copies can significantly speed up bulk inserts, sometimes by an |
| 36 |
order of magnitude over Django's bulk_create. |