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.

Metadata

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 Provenance Actions
petaldata-1.0.2.tar.gz 13.1 kB Without provenance Details for petaldata-1.0.2.tar.gz

Built distribution (wheel)

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

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

Security for petaldata 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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