Skip to main content

Bart Extract GA

PyPI version

Extract event views to Google Analytics

Install

$ pip install bart-extract-ga

Modules

  • extract.processor.extract_yesterday: exports data from D-1
  • extract.processor.extract_by_date_ranger: exports data from date specified in the parameters, start_date and end_date

Usage

from extract.processor import extract_yesterday

extract_yesterday(
    ga_viewId="ga:123456789",
    ga_credential="/tmp/credentials/GA_credentials.json",
    s3_path="s3://prd-lake-raw-bart",
)

Obs

  • s3_path: the path can be a local path or a path to an AWS S3 bucket

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bart-extract-ga-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file bart-extract-ga-0.1.1.tar.gz.

File metadata

  • Download URL: bart-extract-ga-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/2.7.13 Linux/4.15.0-30deepin-generic

File hashes

Hashes for bart-extract-ga-0.1.1.tar.gz
Algorithm Hash digest
SHA256 99c7d74b853254a61369e1becdc8bbf0a3c2dba3e7c769c67a25abfb908bd4c4
MD5 3a0eb740130a885315ad5929f46c9575
BLAKE2b-256 5c6ebc824201e4ac5558d438a34d5dfb3b8c40dd8516cb7cc86a9988caac9ca8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page