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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbb94f41058d9d168c719367b9ae6d94c6f4cd84edf962ce732c535289349bff |
|
MD5 | 52794c4b37a28c9a07b9981b69b0c559 |
|
BLAKE2b-256 | f143c126013a159a463e617be700214fa3702a8fcfb6c116c1aacdab17e453f1 |
Close
Hashes for django_bigquery_exporter-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2478b4bae9c75b8cd9321a440b4e0c7e0c575f5ef4b4ae75631a599670070e2 |
|
MD5 | 4d59c2923aebb9b9b689552416a54317 |
|
BLAKE2b-256 | b8958e058c96e51c0ec1e2db35740d8a75d0c96b553902cbb26082dec023abee |