Skip to main content

growpanel (Python)

Official Python SDK for the GrowPanel subscription analytics REST API.

pip install growpanel
from growpanel import GrowPanel

gp = GrowPanel(api_key="gp_...")

summary = gp.reports.get_reports_summary()
print(summary.summary.mrr_current)

mrr = gp.reports.get_reports_mrr(date="20260101-20260531", interval="month")
for period in mrr.result:
    print(period.date, period.total_mrr)

Methods are named after the endpoint (GET /reports/paused → get_reports_paused). Enum parameters take the generated enum types:

from growpanel._generated.models.get_reports_paused_sort import GetReportsPausedSort

paused = gp.reports.get_reports_paused(sort=GetReportsPausedSort.EXPECTED_BACK)
print(paused.result.summary.paused_mrr_current)

Auth

Issue a key in app.growpanel.io → Account → API keys. Pass it as api_key= when constructing the client; it's sent as Authorization: Bearer <key> on every request.

Surfaces

The SDK mirrors the interactive docs:

Analytics (read-only):

  • gp.reports.* — MRR, leads, cohorts, cashflow, retention, churn
  • gp.customers.* — list + detail (analytics view)
  • gp.plans.* — list plans

Account & integrations:

  • gp.profile.*, gp.notifications.*, gp.webhooks.*

Data ingestion (CRUD on a data source):

  • gp.data.customers.* — create / read / update / delete raw customer rows
  • gp.data.plans.* — raw plan CRUD
  • gp.data.plan_groups.* — group plans together
  • gp.data.segments.* — saved filter combinations
  • gp.data.invoices.* — raw invoice CRUD
  • gp.data.sources.* — connected billing systems

gp.data.* mirrors the /data/* URL prefix and keeps the ingestion API visually separate from the analytics surfaces.

For anything not exposed as a named method, gp.raw is the generated module tree — every endpoint in the OpenAPI spec is reachable from there.

Generating from the live spec

pip install -e ".[dev]"
openapi-python-client generate \
    --url https://api-dev.growpanel.io/openapi.json \
    --config openapi-python-client.config.yaml \
    --overwrite

Output lands in src/growpanel/_generated/. In CI, this runs automatically on every API change.

Errors

from growpanel import GrowPanel, GrowPanelError

gp = GrowPanel(api_key="...")
try:
    gp.customers.get_customers_id(id="cus_doesnotexist")
except GrowPanelError as err:
    if err.status == 404:
        ...  # handle not-found
    raise

Interactive docs

The full reference (with try-it-out) lives at api.growpanel.io/docs.

Metadata

Release files for growpanel 0.1.24

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

Source distribution (sdist)

Source distribution for growpanel 0.1.24
File Size Uploaded Provenance Actions
growpanel-0.1.24.tar.gz 165.5 kB Without provenance Details for growpanel-0.1.24.tar.gz

Built distribution (wheel)

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

Total release size: 836.3 kB

Release files / growpanel-0.1.24.tar.gz

Download URL growpanel-0.1.24.tar.gz
Size 165.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d8915a434994692b54caf6d2abb1207dfc8d254e9172ebb1d6f95f1018b7f6b0
BLAKE2b-256 checksum
How to use checksums
5a606e63e5d5f8be5fc55c0adc8e7356f2673cf671a1e2ab2ad4bc8882652ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / growpanel-0.1.24-py3-none-any.whl

Download URL growpanel-0.1.24-py3-none-any.whl
Size 670.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2c6584a4f00646e2301734cdf304b85ab3d2c65b7d7f7246fe9ff7c4feb26c4
BLAKE2b-256 checksum
How to use checksums
aa6cf34ccbeeae80e93ebd11c6d3fb1bf9988e2d000f8a08b96382113f5e42ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for growpanel 0.1.24

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.

Release history Release notifications | RSS feed

This release

0.1.24 This release

2 release files No provenance

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