django-postgres-copy
django-postgres-copy copied to clipboard
Quickly import and export delimited data with Django support for PostgreSQL's COPY command
I wanted to check if a patch to support something like: `CopyMapping(model=Entry, data=huge_list_of_unsaved_entries)` would be a welcome patch I have some code I was considering making into a library that...
Great project! I love it! Wondering if i can import a csv that contains geographical data. For example, something like this c = CopyMapping( MyModel, "./data.csv", dict(point=['x', 'y'], number='NUMBER') )...
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.7 to 42.0.4. Changelog Sourced from cryptography's changelog. 42.0.4 - 2024-02-20 * Fixed a null-pointer-dereference and segfault that could occur when creating a PKCS#12 bundle. Credit to...
Bumps [django](https://github.com/django/django) from 4.2.8 to 4.2.10. Commits a684d73 [4.2.x] Bumped version for 4.2.10 release. 572ea07 [4.2.x] Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma template ... 9fe7411 [4.2.x] Pinned black...
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. Release notes Sourced from jinja2's releases. 3.1.3 This is a fix release for the 3.1.x feature branch. Fix for GHSA-h5c8-rqwp-cp95. You are affected if...
Docs
Adds an example which would close #168. Any edits or suggestions welcome!
Upsert
I'm willing to write tests and update documentation if this approach seems sufficient. Having some trouble getting the test suite to run (getting `django.db.utils.OperationalError: fe_sendauth: no password supplied` when I...
Would it be possible to provide an option to return PKs of inserted objects? Given that INSERT is used to put data into the destination table after COPY to the...
Fix & test for [#158 ](https://github.com/palewire/django-postgres-copy/issues/158).