Skip to main content

PetalData Python Library

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

Installation

pip install --upgrade petaldata

Requirements

Python 3.4+

Usage

import petaldata

Example Usage

See the examples directory in the GitHub repo.

Documentation

Interactive documentation is at https://petaldata.app/.

Releasing

  • Update CHANGELOG
  • Bump the version number in setup.py.
  • Generate the distribution archive and upload the archive:
rm dist/*
python setup.py sdist bdist_wheel
python -m twine upload --repository-url https://upload.pypi.org/legacy/ 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]/__init__.py file.
    • Import the dataset created above.
    • Add config variables needed to use the [CLOUD_APP] API (like an API KEY`).
  • Add from petaldata.datasets import [CLOUD_APP] to petaldata/__init__.py

Questions

Email derek@petaldata.app.

Release files for petaldata 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for petaldata 1.0.2
File Size Uploaded
petaldata-1.0.2.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for petaldata 1.0.2
File Interpreter ABI Platform
petaldata-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.9 kB

Release files / petaldata-1.0.2.tar.gz

Download URL petaldata-1.0.2.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2e573cfd20f865d5d4849fe36a8e408194dda5b8dcaf5a22e2f42b29e7bbd8db
BLAKE2b-256 checksum
How to use checksums
46f84730e70cc55c450579d1c8922abb8dfa843005c50ce346db615e2a850389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / petaldata-1.0.2-py3-none-any.whl

Download URL petaldata-1.0.2-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dffedb4bf2368fdbec621970f82b1adfad102c1be91b420d1ddc7caedbf9317b
BLAKE2b-256 checksum
How to use checksums
ad270b324e76605fe12f3e2266f755c08e9270263515332255cae698253b0687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release 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