fragment-python 0.5.3__tar.gz → 1.0.0__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.
- {fragment_python-0.5.3 → fragment_python-1.0.0}/PKG-INFO +5 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/README.md +2 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/__init__.py +12 -6
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/add_ledger_entry.py +3 -3
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/add_ledger_entry_runtime.py +3 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/client.py +155 -240
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/delete_custom_txs.py +2 -2
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/enums.py +15 -0
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/get_account_data_migrations.py +5 -5
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/get_entries_to_migrate_for_ledger_account_data_migration.py +5 -5
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/get_entries_to_migrate_for_ledger_entry_data_migration.py +5 -5
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_entry_data_migrations.py +5 -5
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_ledger_account_balance.py +1 -1
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_ledger_account_lines.py +2 -2
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/get_ledger_entry.py +2 -2
- fragment_python-1.0.0/fragment/sdk/input_types.py +1028 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/list_ledger_account_balances.py +3 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/list_ledger_accounts.py +3 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/list_ledger_entries.py +4 -4
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/list_ledger_entry_group_balances.py +2 -2
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/list_multi_currency_ledger_account_balances.py +6 -6
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/migrate_ledger_entry.py +7 -7
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/reconcile_tx.py +2 -2
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/reconcile_tx_runtime.py +2 -2
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/reverse_ledger_entry.py +5 -5
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/sync_custom_accounts.py +2 -2
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/sync_custom_txs.py +2 -2
- {fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/update_ledger_entry.py +4 -4
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/std_queries/queries.graphql +55 -75
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/__init__.py +12 -6
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/add_ledger_entry.py +3 -3
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/add_ledger_entry_runtime.py +3 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/client.py +155 -240
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/delete_custom_txs.py +2 -2
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/enums.py +15 -0
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/get_account_data_migrations.py +5 -5
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/get_entries_to_migrate_for_ledger_account_data_migration.py +5 -5
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/get_entries_to_migrate_for_ledger_entry_data_migration.py +5 -5
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_entry_data_migrations.py +5 -5
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_ledger_account_balance.py +1 -1
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_ledger_account_lines.py +2 -2
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/get_ledger_entry.py +2 -2
- fragment_python-1.0.0/fragment/sync_sdk/input_types.py +1028 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/list_ledger_account_balances.py +3 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/list_ledger_accounts.py +3 -3
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/list_ledger_entries.py +4 -4
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/list_ledger_entry_group_balances.py +2 -2
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/list_multi_currency_ledger_account_balances.py +6 -6
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/migrate_ledger_entry.py +7 -7
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/reconcile_tx.py +2 -2
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/reconcile_tx_runtime.py +2 -2
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/reverse_ledger_entry.py +5 -5
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/sync_custom_accounts.py +2 -2
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/sync_custom_txs.py +2 -2
- {fragment_python-0.5.3/fragment/sdk → fragment_python-1.0.0/fragment/sync_sdk}/update_ledger_entry.py +4 -4
- {fragment_python-0.5.3 → fragment_python-1.0.0}/pyproject.toml +4 -4
- fragment_python-0.5.3/fragment/sdk/input_types.py +0 -559
- fragment_python-0.5.3/fragment/sync_sdk/input_types.py +0 -559
- {fragment_python-0.5.3 → fragment_python-1.0.0}/LICENSE +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/__init__.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/client/__init__.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/client/async_client.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/client/sync_client.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/codegen/__init__.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/codegen/helpers.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/codegen/main.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/codegen/plugins/__init__.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/codegen/plugins/generate_client_method.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/codegen/plugins/get_file_comment.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/exceptions.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/logger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/async_client.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/base_model.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/create_custom_currency.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/create_custom_link.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/create_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/delete_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/delete_schema.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_ledger_account_balance_with_child_rollup.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_schema.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/get_workspace.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/store_schema.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sdk/update_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/async_client.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/base_model.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/create_custom_currency.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/create_custom_link.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/create_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/delete_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/delete_schema.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_ledger.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_ledger_account_balance_with_child_rollup.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_schema.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/get_workspace.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/store_schema.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/sync_client.py +0 -0
- {fragment_python-0.5.3 → fragment_python-1.0.0}/fragment/sync_sdk/update_ledger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fragment-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: Python SDK for https://fragment.dev/
|
|
5
5
|
License: Apache 2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -13,8 +13,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
-
Requires-Dist: ariadne-codegen (>=0.
|
|
17
|
-
Requires-Dist: authlib (>=1.6.
|
|
16
|
+
Requires-Dist: ariadne-codegen (>=0.17.2,<0.18.0)
|
|
17
|
+
Requires-Dist: authlib (>=1.6.9,<2.0.0)
|
|
18
18
|
Requires-Dist: click (>=8.1.7,<9.0.0)
|
|
19
19
|
Requires-Dist: graphql-core (>=3.2.3,<4.0.0)
|
|
20
20
|
Requires-Dist: httpx (>=0.28.1,<0.29.0)
|
|
@@ -26,6 +26,8 @@ Description-Content-Type: text/markdown
|
|
|
26
26
|
|
|
27
27
|
[Fragment](https://fragment.dev/) is the Ledger API for engineers that move money. Stop wrangling payment tables, debugging balance errors, and hacking together data pipelines. Start shipping the features that make a difference.
|
|
28
28
|
|
|
29
|
+
See [CHANGELOG.md](CHANGELOG.md) for release notes and upgrade guidance.
|
|
30
|
+
|
|
29
31
|
## Installation
|
|
30
32
|
|
|
31
33
|
Using `pip`:
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[Fragment](https://fragment.dev/) is the Ledger API for engineers that move money. Stop wrangling payment tables, debugging balance errors, and hacking together data pipelines. Start shipping the features that make a difference.
|
|
4
4
|
|
|
5
|
+
See [CHANGELOG.md](CHANGELOG.md) for release notes and upgrade guidance.
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
Using `pip`:
|
|
@@ -71,12 +71,14 @@ from .enums import (
|
|
|
71
71
|
ExternalTxSource,
|
|
72
72
|
Granularity,
|
|
73
73
|
IncreaseEnv,
|
|
74
|
+
LedgerAccountClearingStatus,
|
|
74
75
|
LedgerAccountTypes,
|
|
75
76
|
LedgerDataMigrationStatus,
|
|
76
77
|
LedgerLinesConsistencyMode,
|
|
77
78
|
LedgerMigrationStatus,
|
|
78
79
|
LedgerTypes,
|
|
79
80
|
LinkType,
|
|
81
|
+
PostLinesAs,
|
|
80
82
|
ReadBalanceConsistencyMode,
|
|
81
83
|
SceneEventType,
|
|
82
84
|
SchemaConsistencyMode,
|
|
@@ -143,10 +145,6 @@ from .get_ledger_account_balance import (
|
|
|
143
145
|
GetLedgerAccountBalance,
|
|
144
146
|
GetLedgerAccountBalanceLedgerAccount,
|
|
145
147
|
)
|
|
146
|
-
from .get_ledger_account_balance_with_child_rollup import (
|
|
147
|
-
GetLedgerAccountBalanceWithChildRollup,
|
|
148
|
-
GetLedgerAccountBalanceWithChildRollupLedgerAccount,
|
|
149
|
-
)
|
|
150
148
|
from .get_ledger_account_lines import (
|
|
151
149
|
GetLedgerAccountLines,
|
|
152
150
|
GetLedgerAccountLinesLedgerAccount,
|
|
@@ -180,10 +178,13 @@ from .input_types import (
|
|
|
180
178
|
ExternalAccountMatchInput,
|
|
181
179
|
GroupBalanceAccountFilter,
|
|
182
180
|
GroupFilter,
|
|
181
|
+
GroupInput,
|
|
183
182
|
GroupMatchInput,
|
|
184
183
|
GroupNotFilter,
|
|
184
|
+
GroupReconciliationParametersInput,
|
|
185
185
|
Int96ConditionInput,
|
|
186
186
|
Int96Filter,
|
|
187
|
+
LedgerAccountClearingStatusFilter,
|
|
187
188
|
LedgerAccountConditionInput,
|
|
188
189
|
LedgerAccountConsistencyConfigInput,
|
|
189
190
|
LedgerAccountDataMigrationsFilterSet,
|
|
@@ -230,6 +231,7 @@ from .input_types import (
|
|
|
230
231
|
SchemaLedgerEntryTagInput,
|
|
231
232
|
SchemaLedgerLineInput,
|
|
232
233
|
SchemaMatchInput,
|
|
234
|
+
SchemaRepeatedConfigInput,
|
|
233
235
|
SchemaTxMatchInput,
|
|
234
236
|
StringFilter,
|
|
235
237
|
StringMatchFilter,
|
|
@@ -497,8 +499,6 @@ __all__ = [
|
|
|
497
499
|
"GetLedger",
|
|
498
500
|
"GetLedgerAccountBalance",
|
|
499
501
|
"GetLedgerAccountBalanceLedgerAccount",
|
|
500
|
-
"GetLedgerAccountBalanceWithChildRollup",
|
|
501
|
-
"GetLedgerAccountBalanceWithChildRollupLedgerAccount",
|
|
502
502
|
"GetLedgerAccountLines",
|
|
503
503
|
"GetLedgerAccountLinesLedgerAccount",
|
|
504
504
|
"GetLedgerAccountLinesLedgerAccountLines",
|
|
@@ -518,11 +518,15 @@ __all__ = [
|
|
|
518
518
|
"Granularity",
|
|
519
519
|
"GroupBalanceAccountFilter",
|
|
520
520
|
"GroupFilter",
|
|
521
|
+
"GroupInput",
|
|
521
522
|
"GroupMatchInput",
|
|
522
523
|
"GroupNotFilter",
|
|
524
|
+
"GroupReconciliationParametersInput",
|
|
523
525
|
"IncreaseEnv",
|
|
524
526
|
"Int96ConditionInput",
|
|
525
527
|
"Int96Filter",
|
|
528
|
+
"LedgerAccountClearingStatus",
|
|
529
|
+
"LedgerAccountClearingStatusFilter",
|
|
526
530
|
"LedgerAccountConditionInput",
|
|
527
531
|
"LedgerAccountConsistencyConfigInput",
|
|
528
532
|
"LedgerAccountDataMigrationsFilterSet",
|
|
@@ -612,6 +616,7 @@ __all__ = [
|
|
|
612
616
|
"MigrateLedgerEntryMigrateLedgerEntryMigrateLedgerEntryResultReversingLedgerEntryLines",
|
|
613
617
|
"MigrateLedgerEntryMigrateLedgerEntryMigrateLedgerEntryResultReversingLedgerEntryLinesNodes",
|
|
614
618
|
"MigrateLedgerEntryMigrateLedgerEntryMigrateLedgerEntryResultReversingLedgerEntryLinesNodesAccount",
|
|
619
|
+
"PostLinesAs",
|
|
615
620
|
"ReadBalanceConsistencyMode",
|
|
616
621
|
"ReconcileTx",
|
|
617
622
|
"ReconcileTxReconcileTxBadRequestError",
|
|
@@ -661,6 +666,7 @@ __all__ = [
|
|
|
661
666
|
"SchemaLedgerEntryTagInput",
|
|
662
667
|
"SchemaLedgerLineInput",
|
|
663
668
|
"SchemaMatchInput",
|
|
669
|
+
"SchemaRepeatedConfigInput",
|
|
664
670
|
"SchemaTxMatchInput",
|
|
665
671
|
"StoreSchema",
|
|
666
672
|
"StoreSchemaStoreSchemaBadRequestError",
|
{fragment_python-0.5.3/fragment/sync_sdk → fragment_python-1.0.0/fragment/sdk}/add_ledger_entry.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by fragment (with the help of ariadne-codegen)
|
|
2
2
|
# Source: queries/
|
|
3
3
|
|
|
4
|
-
from typing import Any,
|
|
4
|
+
from typing import Any, Literal, Optional, Union
|
|
5
5
|
|
|
6
6
|
from pydantic import Field
|
|
7
7
|
|
|
@@ -20,11 +20,11 @@ class AddLedgerEntryAddLedgerEntryAddLedgerEntryResult(BaseModel):
|
|
|
20
20
|
typename__: Literal["AddLedgerEntryResult"] = Field(alias="__typename")
|
|
21
21
|
is_ik_replay: bool = Field(alias="isIkReplay")
|
|
22
22
|
entry: "AddLedgerEntryAddLedgerEntryAddLedgerEntryResultEntry"
|
|
23
|
-
lines:
|
|
23
|
+
lines: list["AddLedgerEntryAddLedgerEntryAddLedgerEntryResultLines"]
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class AddLedgerEntryAddLedgerEntryAddLedgerEntryResultEntry(BaseModel):
|
|
27
|
-
|
|
27
|
+
type_: Optional[Any] = Field(alias="type")
|
|
28
28
|
id: str
|
|
29
29
|
ik: str
|
|
30
30
|
posted: Any
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by fragment (with the help of ariadne-codegen)
|
|
2
2
|
# Source: queries/
|
|
3
3
|
|
|
4
|
-
from typing import Any,
|
|
4
|
+
from typing import Any, Literal, Optional, Union
|
|
5
5
|
|
|
6
6
|
from pydantic import Field
|
|
7
7
|
|
|
@@ -20,11 +20,11 @@ class AddLedgerEntryRuntimeAddLedgerEntryAddLedgerEntryResult(BaseModel):
|
|
|
20
20
|
typename__: Literal["AddLedgerEntryResult"] = Field(alias="__typename")
|
|
21
21
|
is_ik_replay: bool = Field(alias="isIkReplay")
|
|
22
22
|
entry: "AddLedgerEntryRuntimeAddLedgerEntryAddLedgerEntryResultEntry"
|
|
23
|
-
lines:
|
|
23
|
+
lines: list["AddLedgerEntryRuntimeAddLedgerEntryAddLedgerEntryResultLines"]
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class AddLedgerEntryRuntimeAddLedgerEntryAddLedgerEntryResultEntry(BaseModel):
|
|
27
|
-
|
|
27
|
+
type_: Optional[Any] = Field(alias="type")
|
|
28
28
|
id: str
|
|
29
29
|
ik: str
|
|
30
30
|
posted: Any
|