Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Export your data from cloud apps like Stripe, Hubspot, and Metabase into Pandas Dataframes.

Project description

PetalData Python Library

Export your data from cloud apps like Stripe, Hubspot, and Metabase into Pandas Dataframes with PetalData.


pip install --upgrade petaldata


Python 3.4+


import petaldata

Example Usage

See the examples directory in the GitHub repo.


Interactive documentation is at


  • Update CHANGELOG
  • Bump the version number in
  • Generate the distribution archive and upload the archive:
rm dist/*
python sdist bdist_wheel
python -m twine upload --repository-url dist/*

Adding a Dataset

  • Create a petaldata/datasets/[CLOUD_APP] directory
  • Create a petaldata/datasets/[CLOUD_APP]/[DATASET_NAME (PLURAL)].py file.
    • Create a class that inherits from petaldata.datasets.abstract.Dataset. See petaldata.datasets.stripe.Invoices for an example.
  • Create a petaldata/datasets/[CLOUD_APP]/ file.
    • Import the dataset created above.
    • Add config variables needed to use the [CLOUD_APP] API (like anAPI KEY`).
  • Add from petaldata.datasets import [CLOUD_APP] to petaldata/



Project details

Download files

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

Files for petaldata, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size petaldata-1.0.2-py3-none-any.whl (33.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size petaldata-1.0.2.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page