Introducing django-postgres-copy v0.0.7
A new release of our bulk-loading tool includes features contributed by our users
Today we released a new version of django-postgres-copy, our open-source software library that allows users of the Django web framework to more quickly load comma-delimited data into PostgreSQL databases.
It includes a series of bug fixes and features from members of our user base, who are not participating in our core project but share our need for better tools to bulk load big data files.
For instance, if your database table includes columns that are not in the data file you’re seeking to load, you might want to specify fixed values for the extra fields.
Thanks to contributor Chaim Kirby you can now
do so with the new
An example could be if you want to include the name of the source data file along with each row you load into a data table.
Your Django database model might look like this:
And your loader would look like this, adding the new
to our existing
Check out his changes and learn more about django-postgres-copy in the official documentation.
If there are changes you’d like to see, go get involved on our GitHub repository.