tigrbl_billing 0.1.2.dev7__tar.gz → 0.1.2.dev10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/PKG-INFO +4 -4
  2. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/README.md +3 -3
  3. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/pyproject.toml +1 -1
  4. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_balance_top_off.py +2 -2
  5. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_banded_pricing.py +2 -2
  6. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_basic_subscriptions.py +2 -2
  7. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_checkout.py +2 -2
  8. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_complex_tiers.py +2 -2
  9. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_credit_usage.py +2 -2
  10. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_customer_to_customer.py +2 -2
  11. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_grants.py +2 -2
  12. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_invoice_payment.py +2 -2
  13. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_metered.py +2 -2
  14. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_payment_splitting.py +2 -2
  15. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_product_price.py +2 -2
  16. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_seats.py +2 -2
  17. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_stripe_connected_accounts.py +2 -2
  18. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_stripe_customer_accounts.py +2 -2
  19. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_subscriptions_trials.py +2 -2
  20. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_tiered.py +2 -2
  21. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/api_usage_based.py +2 -2
  22. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/examples/product_billing_app.py +2 -2
  23. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/examples/subscription_billing_app.py +2 -2
  24. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/examples/subscription_tiers_app.py +2 -2
  25. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/__init__.py +1 -1
  26. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/application_fee.py +4 -3
  27. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/balance_top_off.py +4 -3
  28. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/checkout_session.py +4 -3
  29. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/connected_account.py +3 -2
  30. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/credit_grant.py +4 -3
  31. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/credit_ledger.py +4 -3
  32. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/credit_usage_policy.py +3 -2
  33. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/customer.py +3 -2
  34. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/customer_account_link.py +4 -3
  35. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/customer_balance.py +4 -3
  36. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/feature.py +3 -2
  37. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/invoice.py +4 -3
  38. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/invoice_line_item.py +4 -3
  39. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/payment_intent.py +4 -3
  40. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/price.py +4 -3
  41. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/price_feature_entitlement.py +4 -3
  42. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/price_tier.py +4 -3
  43. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/product.py +3 -2
  44. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/refund.py +4 -3
  45. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/seat_allocation.py +4 -3
  46. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/split_rule.py +4 -3
  47. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/stripe_event_log.py +3 -2
  48. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/subscription.py +4 -3
  49. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/subscription_item.py +4 -3
  50. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/transfer.py +4 -3
  51. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/usage_event.py +4 -3
  52. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/usage_rollup.py +4 -3
  53. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/webhook_endpoint.py +3 -2
  54. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/arpu_monthly.py +1 -1
  55. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/arr_customer.py +1 -1
  56. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/cohort_retention.py +1 -1
  57. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/dunning_funnel.py +1 -1
  58. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/mrr_subscription.py +1 -1
  59. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/revenue_by_split_rule.py +1 -1
  60. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/usage_coverage_ratio.py +1 -1
  61. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/LICENSE +0 -0
  62. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/__init__.py +0 -0
  63. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/api/__init__.py +0 -0
  64. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/__init__.py +0 -0
  65. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/balance_ops.py +0 -0
  66. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/connect_ops.py +0 -0
  67. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/credit_usage_ops.py +0 -0
  68. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/customer_ops.py +0 -0
  69. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/grant_ops.py +0 -0
  70. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/invoice_ops.py +0 -0
  71. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/payment_ops.py +0 -0
  72. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/seats_ops.py +0 -0
  73. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/subscription_ops.py +0 -0
  74. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/sync_ops.py +0 -0
  75. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/usage_ops.py +0 -0
  76. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/ops/webhook_ops.py +0 -0
  77. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/tables/_mixins/extref.py +0 -0
  78. {tigrbl_billing-0.1.2.dev7 → tigrbl_billing-0.1.2.dev10}/src/tigrbl_billing/views/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tigrbl_billing
3
- Version: 0.1.2.dev7
3
+ Version: 0.1.2.dev10
4
4
  Summary: Canonical billing models, lifecycle operations, and analytics for the Tigrbl platform.
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -86,7 +86,7 @@ monorepo using `uv` workspaces.
86
86
  ## Quick Start 🚀
87
87
 
88
88
  ```python
89
- from tigrbl.engine.shortcuts import engine, mem
89
+ from tigrbl.engine.shortcuts import engine
90
90
  from tigrbl_billing.api import billing_api
91
91
 
92
92
  # Build a fully loaded billing app with async support.
@@ -135,7 +135,7 @@ clean and avoids double registration.
135
135
 
136
136
  ```python
137
137
  from tigrbl import TigrblApp
138
- from tigrbl.engine.shortcuts import engine as build_engine, mem
138
+ from tigrbl.shortcuts.engine import engine, mem
139
139
 
140
140
  from tigrbl_billing import ops
141
141
  from tigrbl_billing.tables.subscription import Subscription
@@ -146,7 +146,7 @@ ops.cancel_subscription
146
146
 
147
147
 
148
148
  def build_app(async_mode: bool = True) -> TigrblApp:
149
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
149
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
150
150
  app.include_models([Subscription])
151
151
  return app
152
152
  ```
@@ -52,7 +52,7 @@ monorepo using `uv` workspaces.
52
52
  ## Quick Start 🚀
53
53
 
54
54
  ```python
55
- from tigrbl.engine.shortcuts import engine, mem
55
+ from tigrbl.engine.shortcuts import engine
56
56
  from tigrbl_billing.api import billing_api
57
57
 
58
58
  # Build a fully loaded billing app with async support.
@@ -101,7 +101,7 @@ clean and avoids double registration.
101
101
 
102
102
  ```python
103
103
  from tigrbl import TigrblApp
104
- from tigrbl.engine.shortcuts import engine as build_engine, mem
104
+ from tigrbl.shortcuts.engine import engine, mem
105
105
 
106
106
  from tigrbl_billing import ops
107
107
  from tigrbl_billing.tables.subscription import Subscription
@@ -112,7 +112,7 @@ ops.cancel_subscription
112
112
 
113
113
 
114
114
  def build_app(async_mode: bool = True) -> TigrblApp:
115
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
115
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
116
116
  app.include_models([Subscription])
117
117
  return app
118
118
  ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tigrbl_billing"
3
- version = "0.1.2.dev7"
3
+ version = "0.1.2.dev10"
4
4
  description = "Canonical billing models, lifecycle operations, and analytics for the Tigrbl platform."
5
5
  license = "Apache-2.0"
6
6
  readme = "README.md"
@@ -1,5 +1,5 @@
1
1
  from tigrbl import TigrblApp
2
- from tigrbl.engine.shortcuts import engine as build_engine, mem
2
+ from tigrbl.shortcuts.engine import engine, mem
3
3
  from tigrbl_billing.tables.customer_balance import CustomerBalance
4
4
  from tigrbl_billing.tables.balance_top_off import BalanceTopOff
5
5
  from tigrbl_billing.tables.credit_ledger import CreditLedger
@@ -13,7 +13,7 @@ ops.check_and_top_off
13
13
 
14
14
 
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([CustomerBalance, BalanceTopOff, CreditLedger])
18
18
  return app
19
19
 
@@ -6,13 +6,13 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.price_tier import PriceTier
12
12
 
13
13
 
14
14
  def build_app(async_mode: bool = True) -> TigrblApp:
15
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
15
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
16
16
  app.include_models([PriceTier])
17
17
  return app
18
18
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing import ops
12
12
  from tigrbl_billing.tables.subscription import Subscription
@@ -20,7 +20,7 @@ ops.resume_subscription
20
20
 
21
21
 
22
22
  def build_app(async_mode: bool = True) -> TigrblApp:
23
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
23
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
24
24
  app.include_models([Subscription, SubscriptionItem])
25
25
  return app
26
26
 
@@ -6,13 +6,13 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.checkout_session import CheckoutSession
12
12
 
13
13
 
14
14
  def build_app(async_mode: bool = True) -> TigrblApp:
15
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
15
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
16
16
  app.include_models([CheckoutSession])
17
17
  return app
18
18
 
@@ -6,14 +6,14 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.feature import Feature
12
12
  from tigrbl_billing.tables.price_feature_entitlement import PriceFeatureEntitlement
13
13
 
14
14
 
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([Feature, PriceFeatureEntitlement])
18
18
  return app
19
19
 
@@ -1,5 +1,5 @@
1
1
  from tigrbl import TigrblApp
2
- from tigrbl.engine.shortcuts import engine as build_engine, mem
2
+ from tigrbl.shortcuts.engine import engine, mem
3
3
  from tigrbl_billing.tables.credit_usage_policy import CreditUsagePolicy
4
4
  from tigrbl_billing.tables.usage_event import UsageEvent
5
5
  from tigrbl_billing.tables.credit_ledger import CreditLedger
@@ -11,7 +11,7 @@ ops.charge_credits
11
11
 
12
12
 
13
13
  def build_app(async_mode: bool = True) -> TigrblApp:
14
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
14
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
15
15
  app.include_models([CreditUsagePolicy, UsageEvent, CreditLedger])
16
16
  return app
17
17
 
@@ -6,14 +6,14 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.transfer import Transfer
12
12
 
13
13
 
14
14
  # Transfer creation uses default create on /transfer
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([Transfer])
18
18
  return app
19
19
 
@@ -1,5 +1,5 @@
1
1
  from tigrbl import TigrblApp
2
- from tigrbl.engine.shortcuts import engine as build_engine, mem
2
+ from tigrbl.shortcuts.engine import engine, mem
3
3
 
4
4
  from tigrbl_billing import ops
5
5
  from tigrbl_billing.tables.credit_grant import CreditGrant
@@ -11,7 +11,7 @@ ops.revoke_grant
11
11
 
12
12
 
13
13
  def build_app(async_mode: bool = True) -> TigrblApp:
14
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
14
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
15
15
  app.include_models([CreditGrant, CreditLedger])
16
16
  return app
17
17
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.invoice import Invoice
12
12
  from tigrbl_billing.tables.invoice_line_item import InvoiceLineItem
@@ -24,7 +24,7 @@ ops.cancel_payment_intent
24
24
 
25
25
 
26
26
  def build_app(async_mode: bool = True) -> TigrblApp:
27
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
27
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
28
28
  app.include_models([Invoice, InvoiceLineItem, PaymentIntent, Refund])
29
29
  return app
30
30
 
@@ -6,14 +6,14 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.usage_event import UsageEvent
12
12
 
13
13
 
14
14
  # Metered usage ingest uses default create on UsageEvent.
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([UsageEvent])
18
18
  return app
19
19
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.split_rule import SplitRule
12
12
  from tigrbl_billing.tables.application_fee import ApplicationFee
@@ -18,7 +18,7 @@ ops.refund_application_fee
18
18
 
19
19
 
20
20
  def build_app(async_mode: bool = True) -> TigrblApp:
21
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
21
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
22
22
  app.include_models([SplitRule, ApplicationFee])
23
23
  return app
24
24
 
@@ -6,14 +6,14 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.product import Product
12
12
  from tigrbl_billing.tables.price import Price
13
13
 
14
14
 
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([Product, Price])
18
18
  return app
19
19
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.seat_allocation import SeatAllocation
12
12
 
@@ -19,7 +19,7 @@ ops.seat_suspend
19
19
 
20
20
 
21
21
  def build_app(async_mode: bool = True) -> TigrblApp:
22
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
22
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
23
23
  app.include_models([SeatAllocation])
24
24
  return app
25
25
 
@@ -6,14 +6,14 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.connected_account import ConnectedAccount
12
12
  from tigrbl_billing.tables.customer_account_link import CustomerAccountLink
13
13
 
14
14
 
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([ConnectedAccount, CustomerAccountLink])
18
18
  return app
19
19
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.customer import Customer
12
12
 
@@ -18,7 +18,7 @@ ops.attach_payment_method
18
18
 
19
19
 
20
20
  def build_app(async_mode: bool = True) -> TigrblApp:
21
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
21
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
22
22
  app.include_models([Customer])
23
23
  return app
24
24
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.subscription import Subscription
12
12
 
@@ -19,7 +19,7 @@ ops.proration_preview
19
19
 
20
20
 
21
21
  def build_app(async_mode: bool = True) -> TigrblApp:
22
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
22
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
23
23
  app.include_models([Subscription])
24
24
  return app
25
25
 
@@ -6,14 +6,14 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.price import Price
12
12
  from tigrbl_billing.tables.price_tier import PriceTier
13
13
 
14
14
 
15
15
  def build_app(async_mode: bool = True) -> TigrblApp:
16
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
16
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
17
17
  app.include_models([Price, PriceTier])
18
18
  return app
19
19
 
@@ -6,7 +6,7 @@ API for a specific billing strategy, built with tigrbl + tigrbl_billing.
6
6
  """
7
7
 
8
8
  from tigrbl import TigrblApp
9
- from tigrbl.engine.shortcuts import engine as build_engine, mem
9
+ from tigrbl.shortcuts.engine import engine, mem
10
10
 
11
11
  from tigrbl_billing.tables.usage_event import UsageEvent
12
12
  from tigrbl_billing.tables.usage_rollup import UsageRollup
@@ -18,7 +18,7 @@ ops.rollup_usage_periodic
18
18
 
19
19
 
20
20
  def build_app(async_mode: bool = True) -> TigrblApp:
21
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
21
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
22
22
  app.include_models([UsageEvent, UsageRollup])
23
23
  return app
24
24
 
@@ -7,7 +7,7 @@ from typing import Any, Dict
7
7
  import httpx
8
8
 
9
9
  from tigrbl import TigrblApp
10
- from tigrbl.engine.shortcuts import engine as build_engine, mem
10
+ from tigrbl.shortcuts.engine import engine, mem
11
11
 
12
12
  from tigrbl_billing import ops as billing_ops
13
13
  from tigrbl_billing.tables.checkout_session import CheckoutSession
@@ -30,7 +30,7 @@ _REQUIRED_OPS = (
30
30
  def build_product_billing_app(async_mode: bool = True) -> TigrblApp:
31
31
  """Create a :class:`~tigrbl.TigrblApp` preloaded with product billing tables."""
32
32
 
33
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
33
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
34
34
  app.include_models(
35
35
  [
36
36
  Product,
@@ -8,7 +8,7 @@ from typing import Any, Dict
8
8
  import httpx
9
9
 
10
10
  from tigrbl import TigrblApp
11
- from tigrbl.engine.shortcuts import engine as build_engine, mem
11
+ from tigrbl.shortcuts.engine import engine, mem
12
12
 
13
13
  from tigrbl_billing import ops as billing_ops
14
14
  from tigrbl_billing.tables.customer import Customer
@@ -41,7 +41,7 @@ _REQUIRED_OPS = (
41
41
  def build_subscription_billing_app(async_mode: bool = True) -> TigrblApp:
42
42
  """Instantiate an application preloaded with subscription billing tables."""
43
43
 
44
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
44
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
45
45
  app.include_models(
46
46
  [
47
47
  Product,
@@ -8,7 +8,7 @@ from typing import Any, Dict
8
8
  import httpx
9
9
 
10
10
  from tigrbl import TigrblApp
11
- from tigrbl.engine.shortcuts import engine as build_engine, mem
11
+ from tigrbl.shortcuts.engine import engine, mem
12
12
 
13
13
  from tigrbl_billing import ops as billing_ops
14
14
  from tigrbl_billing.tables.customer import Customer
@@ -38,7 +38,7 @@ _REQUIRED_OPS = (
38
38
  def build_subscription_tiers_app(async_mode: bool = True) -> TigrblApp:
39
39
  """Create a :class:`~tigrbl.TigrblApp` preloaded with subscription billing tables."""
40
40
 
41
- app = TigrblApp(engine=build_engine(mem(async_=async_mode)))
41
+ app = TigrblApp(engine=engine(mem(async_=async_mode)))
42
42
  app.include_models(
43
43
  [
44
44
  Product,
@@ -5,7 +5,7 @@ import importlib
5
5
  import pkgutil
6
6
  from typing import Iterator
7
7
 
8
- from tigrbl.table import Base as _Base # Declarative base
8
+ from tigrbl.orm.tables import Base as _Base # Declarative base
9
9
 
10
10
  # Explicit re-exports (keep these stable for static analyzers / IDEs)
11
11
  from .product import Product
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
8
- from tigrbl.specs.storage_spec import ForeignKeySpec
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
9
+ from tigrbl.specs import ForeignKeySpec
9
10
  from tigrbl.types import (
10
11
  Mapped,
11
12
  String,
@@ -3,10 +3,11 @@
3
3
  from __future__ import annotations
4
4
  import datetime as dt
5
5
  from enum import Enum
6
- from tigrbl.table import Base
6
+ from tigrbl.orm.tables import Base
7
7
  from tigrbl.orm.mixins import GUIDPk, Timestamped
8
- from tigrbl.specs import F, IO, S, acol
9
- from tigrbl.specs.storage_spec import ForeignKeySpec
8
+ from tigrbl.specs import F, IO, S
9
+ from tigrbl.shortcuts import acol
10
+ from tigrbl.specs import ForeignKeySpec
10
11
  from tigrbl.types import (
11
12
  Mapped,
12
13
  String,
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import (
12
13
  Mapped,
13
14
  String,
@@ -4,9 +4,10 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
10
11
  from tigrbl.types import Mapped, String, JSONB, Boolean, SAEnum, UniqueConstraint
11
12
 
12
13
  from ._mixins.extref import StripeExtRef
@@ -3,10 +3,11 @@
3
3
  from __future__ import annotations
4
4
  import datetime as dt
5
5
  from enum import Enum
6
- from tigrbl.table import Base
6
+ from tigrbl.orm.tables import Base
7
7
  from tigrbl.orm.mixins import GUIDPk, Timestamped, ActiveToggle
8
- from tigrbl.specs import F, IO, S, acol
9
- from tigrbl.specs.storage_spec import ForeignKeySpec
8
+ from tigrbl.specs import F, IO, S
9
+ from tigrbl.shortcuts import acol
10
+ from tigrbl.specs import ForeignKeySpec
10
11
  from tigrbl.types import (
11
12
  Mapped,
12
13
  String,
@@ -3,10 +3,11 @@
3
3
  from __future__ import annotations
4
4
  import datetime as dt
5
5
  from enum import Enum
6
- from tigrbl.table import Base
6
+ from tigrbl.orm.tables import Base
7
7
  from tigrbl.orm.mixins import GUIDPk, Timestamped
8
- from tigrbl.specs import F, IO, S, acol
9
- from tigrbl.specs.storage_spec import ForeignKeySpec
8
+ from tigrbl.specs import F, IO, S
9
+ from tigrbl.shortcuts import acol
10
+ from tigrbl.specs import ForeignKeySpec
10
11
  from tigrbl.types import (
11
12
  Mapped,
12
13
  String,
@@ -1,9 +1,10 @@
1
1
  """CreditUsagePolicy – maps usage features to credit cost (no Upsertable)."""
2
2
 
3
3
  from __future__ import annotations
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.orm.mixins import GUIDPk, Timestamped, ActiveToggle
6
- from tigrbl.specs import F, IO, S, acol
6
+ from tigrbl.specs import F, IO, S
7
+ from tigrbl.shortcuts import acol
7
8
  from tigrbl.types import Mapped, String, Integer, JSONB, UniqueConstraint
8
9
 
9
10
 
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
8
9
  from tigrbl.types import Mapped, String, JSONB, Boolean, UniqueConstraint
9
10
 
10
11
  from ._mixins.extref import StripeExtRef
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import Mapped, JSONB, UniqueConstraint, PgUUID, UUID, SAEnum
12
13
 
13
14
 
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from enum import Enum
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped, ActiveToggle
7
- from tigrbl.specs import F, IO, S, acol
8
- from tigrbl.specs.storage_spec import ForeignKeySpec
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
9
+ from tigrbl.specs import ForeignKeySpec
9
10
  from tigrbl.types import (
10
11
  Mapped,
11
12
  String,
@@ -3,9 +3,10 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
- from tigrbl import Base
6
+ from tigrbl.orm.tables import Base
7
7
  from tigrbl.orm.mixins import GUIDPk, Timestamped, ActiveToggle
8
- from tigrbl.specs import F, IO, S, acol
8
+ from tigrbl.specs import F, IO, S
9
+ from tigrbl.shortcuts import acol
9
10
  from tigrbl.types import String, Text, JSONB, SAEnum, Mapped
10
11
 
11
12
 
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import (
12
13
  Mapped,
13
14
  String,
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
8
- from tigrbl.specs.storage_spec import ForeignKeySpec
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
9
+ from tigrbl.specs import ForeignKeySpec
9
10
  from tigrbl.types import (
10
11
  Mapped,
11
12
  String,
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import (
12
13
  Mapped,
13
14
  String,
@@ -3,10 +3,11 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
- from tigrbl import Base
6
+ from tigrbl.orm.tables import Base
7
7
  from tigrbl.orm.mixins import GUIDPk, Timestamped, ActiveToggle
8
- from tigrbl.specs import F, IO, S, acol
9
- from tigrbl.specs.storage_spec import ForeignKeySpec
8
+ from tigrbl.specs import F, IO, S
9
+ from tigrbl.shortcuts import acol
10
+ from tigrbl.specs import ForeignKeySpec
10
11
  from tigrbl.types import Integer, String, JSONB, SAEnum, Mapped
11
12
  from tigrbl.orm.mixins.utils import _infer_schema
12
13
 
@@ -3,10 +3,11 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
- from tigrbl import Base
6
+ from tigrbl.orm.tables import Base
7
7
  from tigrbl.orm.mixins import GUIDPk, Timestamped
8
- from tigrbl.specs import F, IO, S, acol
9
- from tigrbl.specs.storage_spec import ForeignKeySpec
8
+ from tigrbl.specs import F, IO, S
9
+ from tigrbl.shortcuts import acol
10
+ from tigrbl.specs import ForeignKeySpec
10
11
  from tigrbl.types import Integer, SAEnum, UniqueConstraint, Mapped
11
12
  from tigrbl.orm.mixins.utils import _infer_schema
12
13
 
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
8
- from tigrbl.specs.storage_spec import ForeignKeySpec
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
9
+ from tigrbl.specs import ForeignKeySpec
9
10
  from tigrbl.types import Integer, Mapped
10
11
  from tigrbl.orm.mixins.utils import _infer_schema
11
12
 
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped, ActiveToggle
7
- from tigrbl.specs import F, IO, S, acol
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
8
9
  from tigrbl.types import String, Text, JSONB, Mapped
9
10
 
10
11
  from ._mixins.extref import StripeExtRef
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import (
12
13
  Mapped,
13
14
  String,
@@ -5,10 +5,11 @@ from __future__ import annotations
5
5
  import datetime as dt
6
6
  from enum import Enum
7
7
 
8
- from tigrbl.table import Base
8
+ from tigrbl.orm.tables import Base
9
9
  from tigrbl.orm.mixins import GUIDPk, Timestamped
10
- from tigrbl.specs import F, IO, S, acol
11
- from tigrbl.specs.storage_spec import ForeignKeySpec
10
+ from tigrbl.specs import F, IO, S
11
+ from tigrbl.shortcuts import acol
12
+ from tigrbl.specs import ForeignKeySpec
12
13
  from tigrbl.types import (
13
14
  Mapped,
14
15
  String,
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import (
12
13
  Mapped,
13
14
  String,
@@ -4,9 +4,10 @@ from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
10
11
  from tigrbl.types import Mapped, String, JSONB, SAEnum, UniqueConstraint, TZDateTime
11
12
 
12
13
  from ._mixins.extref import StripeExtRef
@@ -5,10 +5,11 @@ from __future__ import annotations
5
5
  import datetime as dt
6
6
  from enum import Enum
7
7
 
8
- from tigrbl.table import Base
8
+ from tigrbl.orm.tables import Base
9
9
  from tigrbl.orm.mixins import GUIDPk, Timestamped
10
- from tigrbl.specs import F, IO, S, acol
11
- from tigrbl.specs.storage_spec import ForeignKeySpec
10
+ from tigrbl.specs import F, IO, S
11
+ from tigrbl.shortcuts import acol
12
+ from tigrbl.specs import ForeignKeySpec
12
13
  from tigrbl.types import (
13
14
  Mapped,
14
15
  String,
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
8
- from tigrbl.specs.storage_spec import ForeignKeySpec
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
9
+ from tigrbl.specs import ForeignKeySpec
9
10
  from tigrbl.types import (
10
11
  Mapped,
11
12
  Integer,
@@ -2,10 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
8
- from tigrbl.specs.storage_spec import ForeignKeySpec
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
9
+ from tigrbl.specs import ForeignKeySpec
9
10
  from tigrbl.types import (
10
11
  Mapped,
11
12
  String,
@@ -5,10 +5,11 @@ from __future__ import annotations
5
5
  import datetime as dt
6
6
  from enum import Enum
7
7
 
8
- from tigrbl.table import Base
8
+ from tigrbl.orm.tables import Base
9
9
  from tigrbl.orm.mixins import GUIDPk, Timestamped
10
- from tigrbl.specs import F, IO, S, acol
11
- from tigrbl.specs.storage_spec import ForeignKeySpec
10
+ from tigrbl.specs import F, IO, S
11
+ from tigrbl.shortcuts import acol
12
+ from tigrbl.specs import ForeignKeySpec
12
13
  from tigrbl.types import (
13
14
  Mapped,
14
15
  Integer,
@@ -4,10 +4,11 @@ from __future__ import annotations
4
4
 
5
5
  import datetime as dt
6
6
 
7
- from tigrbl.table import Base
7
+ from tigrbl.orm.tables import Base
8
8
  from tigrbl.orm.mixins import GUIDPk, Timestamped
9
- from tigrbl.specs import F, IO, S, acol
10
- from tigrbl.specs.storage_spec import ForeignKeySpec
9
+ from tigrbl.specs import F, IO, S
10
+ from tigrbl.shortcuts import acol
11
+ from tigrbl.specs import ForeignKeySpec
11
12
  from tigrbl.types import Mapped, Integer, TZDateTime, UniqueConstraint, PgUUID, UUID
12
13
 
13
14
 
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from tigrbl.table import Base
5
+ from tigrbl.orm.tables import Base
6
6
  from tigrbl.orm.mixins import GUIDPk, Timestamped
7
- from tigrbl.specs import F, IO, S, acol
7
+ from tigrbl.specs import F, IO, S
8
+ from tigrbl.shortcuts import acol
8
9
  from tigrbl.types import Mapped, String, JSONB, Boolean, UniqueConstraint
9
10
 
10
11
 
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List, Tuple
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List, Tuple
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List, Tuple
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List, Tuple
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
  from typing import Any, Dict, List
3
3
 
4
- from tigrbl.table import Base
4
+ from tigrbl.orm.tables import Base
5
5
  from tigrbl.specs import ColumnSpec, F, IO, vcol
6
6
  from tigrbl.types import (
7
7
  Mapped,