This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Extract Mixpanel raw events and store on S3


  • Download raw events from the Mixpanel data api
  • Upload on S3
  • Store locally
  • Gzip compression
  • Retry download (5 times, wait 60s before retrying)


  • Parameters can be set by environment variables (like MIXPANEL_KEY)
  • Download events of yesterday by default


pip install mixpanel-extract


usage: mixpanel-extract [-h] [--mixpanel-key MIXPANEL_KEY]
                        [--mixpanel-secret MIXPANEL_SECRET]
                        [--s3-bucket S3_BUCKET] [--s3-prefix S3_PREFIX]
                        [--s3-key S3_KEY] [-o OUTPUT] [-z]
                        [--from-date YYYY-MM-DD] [--to-date YYYY-MM-DD]

optional arguments:
  -h, --help            show this help message and exit
  --mixpanel-key MIXPANEL_KEY
                        Mixpanel API key
  --mixpanel-secret MIXPANEL_SECRET
                        Mixpanel API secret
  --s3-bucket S3_BUCKET
                        Store on S3 [default=None]
  --s3-prefix S3_PREFIX
                        Prefix for the S3 key
  --s3-key S3_KEY       Prefix for the S3 key [default=2015-03-08]
  -o OUTPUT, --output OUTPUT
                        Store in local filesystem [default=None]
  -z, --gzip            Store as GZIP file
  --from-date YYYY-MM-DD
                        Extract events from this date [default=2015-03-08]
  --to-date YYYY-MM-DD  Extract events up to this date [default=2015-03-08]


mixpanel-extract --gzip --s3-bucket jean-mixpanel -o /jean.gz
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mixpanel_extract-0.1-py2-none-any.whl (6.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 10, 2015
mixpanel_extract-0.1.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Mar 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting