tap-belvo 0.1.0__py3-none-any.whl → 0.1.0a2__py3-none-any.whl
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.
Potentially problematic release.
This version of tap-belvo might be problematic. Click here for more details.
- tap_belvo/client.py +1 -1
- tap_belvo/openapi/__init__.py +8 -3
- tap_belvo/streams/__init__.py +6 -6
- {tap_belvo-0.1.0.dist-info → tap_belvo-0.1.0a2.dist-info}/METADATA +23 -8
- {tap_belvo-0.1.0.dist-info → tap_belvo-0.1.0a2.dist-info}/RECORD +8 -8
- {tap_belvo-0.1.0.dist-info → tap_belvo-0.1.0a2.dist-info}/WHEEL +1 -1
- {tap_belvo-0.1.0.dist-info → tap_belvo-0.1.0a2.dist-info}/entry_points.txt +0 -0
- {tap_belvo-0.1.0.dist-info → tap_belvo-0.1.0a2.dist-info}/licenses/LICENSE +0 -0
tap_belvo/client.py
CHANGED
|
@@ -10,9 +10,9 @@ from urllib.parse import ParseResult, parse_qsl
|
|
|
10
10
|
from requests.auth import HTTPBasicAuth
|
|
11
11
|
from requests_cache import install_cache
|
|
12
12
|
from singer_sdk import RESTStream
|
|
13
|
+
from singer_sdk._singerlib import resolve_schema_references
|
|
13
14
|
from singer_sdk.helpers._typing import is_date_or_datetime_type
|
|
14
15
|
from singer_sdk.pagination import BaseHATEOASPaginator
|
|
15
|
-
from singer_sdk.singerlib import resolve_schema_references
|
|
16
16
|
|
|
17
17
|
from tap_belvo.openapi import load_openapi
|
|
18
18
|
|
tap_belvo/openapi/__init__.py
CHANGED
|
@@ -4,14 +4,19 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import json
|
|
6
6
|
import logging
|
|
7
|
-
|
|
8
|
-
from
|
|
7
|
+
import sys
|
|
8
|
+
from functools import lru_cache
|
|
9
9
|
from typing import Any
|
|
10
10
|
|
|
11
|
+
if sys.version_info < (3, 9):
|
|
12
|
+
import importlib_resources as resources
|
|
13
|
+
else:
|
|
14
|
+
from importlib import resources
|
|
15
|
+
|
|
11
16
|
logger = logging.getLogger(__name__)
|
|
12
17
|
|
|
13
18
|
|
|
14
|
-
@
|
|
19
|
+
@lru_cache(maxsize=None)
|
|
15
20
|
def load_openapi() -> dict[str, Any]:
|
|
16
21
|
"""Load the OpenAPI specification from the package.
|
|
17
22
|
|
tap_belvo/streams/__init__.py
CHANGED
|
@@ -23,22 +23,22 @@ from tap_belvo.streams.fiscal import (
|
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
26
|
+
"Links",
|
|
27
|
+
"Institutions",
|
|
26
28
|
"Accounts",
|
|
29
|
+
"Transactions",
|
|
27
30
|
"Balances",
|
|
28
|
-
"
|
|
29
|
-
"Institutions",
|
|
31
|
+
"Owners",
|
|
30
32
|
"InvestmentPortfolios",
|
|
31
33
|
"InvestmentTransactions",
|
|
32
|
-
"Invoices",
|
|
33
|
-
"Links",
|
|
34
|
-
"Owners",
|
|
35
34
|
"ReceivableTransactions",
|
|
35
|
+
"Incomes",
|
|
36
36
|
"RecurringExpenses",
|
|
37
37
|
"RiskInsights",
|
|
38
|
+
"Invoices",
|
|
38
39
|
"TaxComplianceStatuses",
|
|
39
40
|
"TaxDeclarations",
|
|
40
41
|
"TaxRetentions",
|
|
41
42
|
"TaxReturns",
|
|
42
43
|
"TaxStatuses",
|
|
43
|
-
"Transactions",
|
|
44
44
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: tap-belvo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a2
|
|
4
4
|
Summary: Singer tap for Belvo, built with the Meltano SDK for Singer Taps.
|
|
5
5
|
Project-URL: Documentation, https://github.com/edgarrmondragon/tap-belvo#readme
|
|
6
6
|
Project-URL: Homepage, https://github.com/edgarrmondragon/tap-belvo
|
|
@@ -11,15 +11,24 @@ License-Expression: Apache-2.0
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Keywords: Belvo,ELT,singer.io
|
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Requires-Dist: importlib-resources; python_version < '3.9'
|
|
22
|
+
Requires-Dist: requests
|
|
20
23
|
Requires-Dist: requests-cache==1.*
|
|
21
|
-
Requires-Dist:
|
|
22
|
-
|
|
24
|
+
Requires-Dist: singer-sdk~=0.41.0
|
|
25
|
+
Provides-Extra: testing
|
|
26
|
+
Requires-Dist: deptry>=0.12; extra == 'testing'
|
|
27
|
+
Requires-Dist: pytest>=7.4; extra == 'testing'
|
|
28
|
+
Requires-Dist: singer-sdk[testing]; extra == 'testing'
|
|
29
|
+
Provides-Extra: typing
|
|
30
|
+
Requires-Dist: mypy; extra == 'typing'
|
|
31
|
+
Requires-Dist: types-requests; extra == 'typing'
|
|
23
32
|
Description-Content-Type: text/markdown
|
|
24
33
|
|
|
25
34
|
# `tap-belvo`
|
|
@@ -73,15 +82,21 @@ tap-belvo --config CONFIG --discover > ./catalog.json
|
|
|
73
82
|
### Initialize your Development Environment
|
|
74
83
|
|
|
75
84
|
```bash
|
|
76
|
-
|
|
85
|
+
pipx install hatch
|
|
77
86
|
```
|
|
78
87
|
|
|
79
88
|
### Create and Run Tests
|
|
80
89
|
|
|
81
|
-
Run
|
|
90
|
+
Run integration tests:
|
|
82
91
|
|
|
83
92
|
```bash
|
|
84
|
-
|
|
93
|
+
hatch run test:integration
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
You can also test the `tap-belvo` CLI interface directly:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
hatch run sync:console -- --about --format=json
|
|
85
100
|
```
|
|
86
101
|
|
|
87
102
|
### Testing with [Meltano](https://www.meltano.com)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
tap_belvo/__init__.py,sha256=iyiBrJmF2aO9lg9B8vvrJlfGSSg0I2JooKI4TOFqbtY,80
|
|
2
2
|
tap_belvo/__main__.py,sha256=J5_xhlTVBRRUlQ62HlFpgvpDXaeYZqEpb1-eEO0rSJg,110
|
|
3
|
-
tap_belvo/client.py,sha256=
|
|
3
|
+
tap_belvo/client.py,sha256=s2FwmMhZN5eIQjCRDBq0QNHnT-PC9sH2q7vNqoE_Yt4,5459
|
|
4
4
|
tap_belvo/tap.py,sha256=-lhh-BNPWxbMBQZrbt0pNO9Nz_pJzvIxWje6xa9Rj-s,2217
|
|
5
5
|
tap_belvo/openapi/BelvoOpenFinanceApiSpec.json,sha256=YgJHPPsrmOFdFa-K118xvqvB09TZmJdeIHZFsqLXGN4,1287233
|
|
6
|
-
tap_belvo/openapi/__init__.py,sha256=
|
|
7
|
-
tap_belvo/streams/__init__.py,sha256=
|
|
6
|
+
tap_belvo/openapi/__init__.py,sha256=hG9zupkP8FU2f4jPK1Yhqq8gM7d3a9xGgRX9bL6SJ7Y,754
|
|
7
|
+
tap_belvo/streams/__init__.py,sha256=8N4dhnYyBqduknK7s-uGEwcDOKaiEAqdO5_sAUkym4I,935
|
|
8
8
|
tap_belvo/streams/banking.py,sha256=6lRjaZqLbKjFZyK_Yz3uYpXG6ojNS3vJQsINoLsmLNw,2494
|
|
9
9
|
tap_belvo/streams/core.py,sha256=3sdOZFz8jGWj49HMSup5v-MUyvwzSwM2iFMWxxVZEj4,1202
|
|
10
10
|
tap_belvo/streams/enrichment.py,sha256=oiyXvkSK2XRcGjcpfbeTW454eyNGhO-eejdEnuHOFYg,761
|
|
11
11
|
tap_belvo/streams/fiscal.py,sha256=P1kM1TN-Im1XCiTipG-OiKTfbgy0uoW_sg_-D7EnJQo,1603
|
|
12
|
-
tap_belvo-0.1.
|
|
13
|
-
tap_belvo-0.1.
|
|
14
|
-
tap_belvo-0.1.
|
|
15
|
-
tap_belvo-0.1.
|
|
16
|
-
tap_belvo-0.1.
|
|
12
|
+
tap_belvo-0.1.0a2.dist-info/METADATA,sha256=TQ07qaANCbogeQgLN2BktwKiWFBs8wDOaAS-XwJtjUY,3997
|
|
13
|
+
tap_belvo-0.1.0a2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
14
|
+
tap_belvo-0.1.0a2.dist-info/entry_points.txt,sha256=mbs2jnK3SrSgW3kjbO1jMZdQkSAKw-JO8SscyYtN_Pg,57
|
|
15
|
+
tap_belvo-0.1.0a2.dist-info/licenses/LICENSE,sha256=hYHcZxy5jb9T_KQO1dQVotQfhWsU2XBotWBg6FIgklM,1068
|
|
16
|
+
tap_belvo-0.1.0a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|