A Django plugin for exporting CMS data to Google BigQuery.
Project description
Django BigQuery Exporter is simple library providing an admin-esque base class for batching and exporting Django models to Google BigQuery.
Quick start
Install Django BigQuery Exporter: pip install django-bigquery-exporter
Make sure you have your Google Cloud credentials set up. See [here](https://cloud.google.com/docs/authentication/getting-started) for more information.
3. Import and create a subclass of BigQueryExporter and define the define_queryset method
from bigquery_exporter.base import BigQueryExporter class MyExporter(BigQueryExporter): def define_queryset(self): return MyModel.objects.all()
4. Call the export method
exporter = MyExporter() exporter.export()
Et voila! Your data is now in BigQuery.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-bigquery-exporter-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90914679ceced8dfe6b6fd03d24a2a4a617e830d81cce98394ecc7dae9da219b |
|
MD5 | b02acfdef99114d3f1ef3e733f668c9c |
|
BLAKE2b-256 | e84f060ddf8ceb5c5a434147689f6979a21d9cbf642656341ca2a5c0defa8042 |
Close
Hashes for django_bigquery_exporter-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb63549518ab9a2c935e4ca9193809b3f3e12b83fadf2fb5dc9020baa437b450 |
|
MD5 | 36fcd54cd3f8d3b4132493abd50b5980 |
|
BLAKE2b-256 | de4f24521e408a89b4faf58d26e8e53a7f692fe6c673052a468a1424c80524fc |