HubPublic
Package control recordPublished package

@pasar6987/stripe-subscriptions

Stripe subscriptions, MRR, and churn semantic model

Published package · Latest published 0.1.0 Mar 3, 2026 · 3 datasets / 2 measures in the latest review · Updated Apr 25, 2026

Release path

0.1.0Published Mar 3, 2026

Publisher

@pasar6987Published Mar 3, 2026

Structure snapshot

3 datasets2 measures · 14 dimensions

Reference context

Secondary package facts stay compact

Updated
Apr 25, 2026
Visibility
Public hub listing
License
Apache-2.0
Created
Mar 3, 2026

Reference facts

Secondary package facts after the usage path is clear

Licensing, categorization, ownership, and linked metadata stay below the runnable path so the page reads in the right order.

Format

OSI

Owner

@pasar6987

Organization

Independent

License

Apache-2.0

Visibility

Public hub listing

Publisher

@pasar6987Published Mar 3, 2026

Latest published version

0.1.0Published Mar 3, 2026

Tags

stripesubscriptionsmrrchurn

Schema preview

Schema 0.1.1

SDK handoff

Use this package in code and AI

After structure review, move straight into typed reads with load() or compact LLM context with to_prompt().

Python SDK

Python example for @pasar6987/stripe-subscriptions

This example uses the current package ref and, when preview data is available, fills in real dataset names from the published summary.

import rawctx

model = rawctx.load("@pasar6987/stripe-subscriptions")
prompt = rawctx.to_prompt(
    "@pasar6987/stripe-subscriptions",
    datasets=["subscriptions", "invoices"],
    max_tokens=2000,
)

print(model.datasets)        # ["subscriptions", "invoices", "invoiceLineItems"]
print(model.measures)        # [Measure(name="churnRate", ...), Measure(name="mrr", ...)]
print(model.dimensions)      # [Dimension(name="subscriptionPlan", ...), Dimension(name="interval", ...), Dimension(name="currency", ...)]
print(model.relationships)   # [Relationship(name='...', ...)]
print(prompt)

README

Package narrative and examples

Use documentation after the package clears provenance, ownership, and runnable-path checks.

@pasar6987/stripe-subscriptions

Stripe semantic package for recurring revenue and subscription churn analytics.

Included datasets

  • subscriptions from stripe.Subscription
  • invoices from stripe.Invoice
  • invoiceLineItems from Stripe invoice line items

Metrics

  • mrr: normalized monthly recurring revenue
  • churnRate: canceled subscription customers / total subscription customers

Key dimensions

  • subscriptionPlan
  • interval (month/year)
  • currency
  • status

Caveats

  • MRR normalization assumes yearly plans are prorated by 12.
  • Churn definition here is status-based cancellation churn.

Structure review

Inspect package structure after the usage path is clear

Use the structural review when you need the package footprint, field counts, and model paths before a deeper explorer pass.

Models1
Datasets3
Measures2
Dimensions14
Relationships3
AI context1
models/stripeSubscriptions.osi.yamlAI context included
3 datasets2 measures14 dimensions3 relationships

Topology

Semantic graph

Use the graph last, once provenance, documentation, and the runnable path are already clear.

Semantic Graph

Topology counts appear after the graph loads.

Loading graph

Semantic topology is still loading

Counts and graph nodes appear after the latest published summary has been fetched.