tap-belvo 0.0.1b7__tar.gz → 0.0.1b8__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.
Potentially problematic release.
This version of tap-belvo might be problematic. Click here for more details.
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.github/dependabot.yml +0 -4
- tap_belvo-0.0.1b8/.github/workflows/constraints.txt +2 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.github/workflows/dynamic-publish.yaml +1 -1
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/PKG-INFO +3 -3
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/pyproject.toml +2 -2
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/streams/__init__.py +1 -1
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/streams/banking.py +1 -1
- tap_belvo-0.0.1b7/tap_belvo/streams/links.py → tap_belvo-0.0.1b8/tap_belvo/streams/core.py +12 -2
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/tap.py +9 -6
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tests/test_core.py +1 -1
- tap_belvo-0.0.1b7/.github/workflows/constraints.txt +0 -2
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.copier-answers.yml +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.github/workflows/test.yml +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.gitignore +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.pre-commit-config.yaml +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/.secrets/.gitignore +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/LICENSE +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/README.md +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/meltano.yml +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/output/.gitignore +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/plugins/loaders/target-duckdb--jwills.lock +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/plugins/loaders/target-jsonl--andyh1203.lock +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/__init__.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/__main__.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/client.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/openapi/BelvoOpenFinanceApiSpec.json +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/openapi/__init__.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/streams/enrichment.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tap_belvo/streams/fiscal.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tests/__init__.py +0 -0
- {tap_belvo-0.0.1b7 → tap_belvo-0.0.1b8}/tests/conftest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: tap-belvo
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.1b8
|
|
4
4
|
Summary: `tap-belvo` is a 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
|
|
@@ -20,11 +20,11 @@ Requires-Python: >=3.8
|
|
|
20
20
|
Requires-Dist: importlib-resources; python_version < '3.9'
|
|
21
21
|
Requires-Dist: requests
|
|
22
22
|
Requires-Dist: requests-cache==1.*
|
|
23
|
-
Requires-Dist: singer-sdk~=0.
|
|
23
|
+
Requires-Dist: singer-sdk~=0.38.0
|
|
24
24
|
Provides-Extra: testing
|
|
25
25
|
Requires-Dist: deptry>=0.12; extra == 'testing'
|
|
26
26
|
Requires-Dist: pytest>=7.4; extra == 'testing'
|
|
27
|
-
Requires-Dist: singer-sdk[testing]
|
|
27
|
+
Requires-Dist: singer-sdk[testing]; extra == 'testing'
|
|
28
28
|
Provides-Extra: typing
|
|
29
29
|
Requires-Dist: mypy; extra == 'typing'
|
|
30
30
|
Requires-Dist: types-requests; extra == 'typing'
|
|
@@ -33,12 +33,12 @@ dependencies = [
|
|
|
33
33
|
'importlib-resources; python_version < "3.9"',
|
|
34
34
|
"requests",
|
|
35
35
|
"requests-cache==1.*",
|
|
36
|
-
"singer-sdk~=0.
|
|
36
|
+
"singer-sdk~=0.38.0",
|
|
37
37
|
]
|
|
38
38
|
optional-dependencies.testing = [
|
|
39
39
|
"deptry>=0.12",
|
|
40
40
|
"pytest>=7.4",
|
|
41
|
-
"singer-sdk[testing]
|
|
41
|
+
"singer-sdk[testing]",
|
|
42
42
|
]
|
|
43
43
|
optional-dependencies.typing = [
|
|
44
44
|
"mypy",
|
|
@@ -11,6 +11,7 @@ from tap_belvo.streams.banking import (
|
|
|
11
11
|
ReceivableTransactions,
|
|
12
12
|
Transactions,
|
|
13
13
|
)
|
|
14
|
+
from tap_belvo.streams.core import Institutions, Links
|
|
14
15
|
from tap_belvo.streams.enrichment import Incomes, RecurringExpenses, RiskInsights
|
|
15
16
|
from tap_belvo.streams.fiscal import (
|
|
16
17
|
Invoices,
|
|
@@ -20,7 +21,6 @@ from tap_belvo.streams.fiscal import (
|
|
|
20
21
|
TaxReturns,
|
|
21
22
|
TaxStatuses,
|
|
22
23
|
)
|
|
23
|
-
from tap_belvo.streams.links import Institutions, Links
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
26
26
|
"Links",
|
|
@@ -5,7 +5,7 @@ from __future__ import annotations
|
|
|
5
5
|
from typing import TYPE_CHECKING, Any
|
|
6
6
|
|
|
7
7
|
from tap_belvo.client import BelvoStream
|
|
8
|
-
from tap_belvo.streams.
|
|
8
|
+
from tap_belvo.streams.core import Links
|
|
9
9
|
|
|
10
10
|
if TYPE_CHECKING:
|
|
11
11
|
from urllib.parse import ParseResult
|
|
@@ -10,7 +10,7 @@ from tap_belvo.client import BelvoStream
|
|
|
10
10
|
class Links(BelvoStream):
|
|
11
11
|
"""Links stream."""
|
|
12
12
|
|
|
13
|
-
name = "
|
|
13
|
+
name = "links"
|
|
14
14
|
path = "/api/links"
|
|
15
15
|
primary_keys = ("id",)
|
|
16
16
|
replication_key = "created_at"
|
|
@@ -36,8 +36,18 @@ class Links(BelvoStream):
|
|
|
36
36
|
class Institutions(BelvoStream):
|
|
37
37
|
"""Institutions stream."""
|
|
38
38
|
|
|
39
|
-
name = "
|
|
39
|
+
name = "institutions"
|
|
40
40
|
path = "/api/institutions"
|
|
41
41
|
primary_keys = ("id",)
|
|
42
42
|
replication_key = None
|
|
43
43
|
openapi_ref = "Institution"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class Consents(BelvoStream):
|
|
47
|
+
"""Consents stream."""
|
|
48
|
+
|
|
49
|
+
name = "consents"
|
|
50
|
+
path = "/api/consents"
|
|
51
|
+
primary_keys = ("id",)
|
|
52
|
+
replication_key = None
|
|
53
|
+
openapi_ref = "Consent"
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import singer_sdk
|
|
6
6
|
from singer_sdk import typing as th
|
|
7
7
|
|
|
8
|
-
from tap_belvo.streams import banking, enrichment, fiscal
|
|
8
|
+
from tap_belvo.streams import banking, core, enrichment, fiscal
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class TapBelvo(Tap):
|
|
11
|
+
class TapBelvo(singer_sdk.Tap):
|
|
12
12
|
"""Singer tap for Belvo."""
|
|
13
13
|
|
|
14
14
|
name = "tap-belvo"
|
|
@@ -41,7 +41,7 @@ class TapBelvo(Tap):
|
|
|
41
41
|
),
|
|
42
42
|
).to_dict()
|
|
43
43
|
|
|
44
|
-
def discover_streams(self) -> list[Stream]:
|
|
44
|
+
def discover_streams(self) -> list[singer_sdk.Stream]:
|
|
45
45
|
"""Return a list of discovered streams.
|
|
46
46
|
|
|
47
47
|
Returns:
|
|
@@ -50,8 +50,11 @@ class TapBelvo(Tap):
|
|
|
50
50
|
# TODO(edgarrmondragon): Add tax declarations and tax returns
|
|
51
51
|
# https://github.com/edgarrmondragon/tap-belvo/issues/76
|
|
52
52
|
return [
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
core.Links(self),
|
|
54
|
+
core.Institutions(self),
|
|
55
|
+
# TODO(edgarrmondragon): Register this stream when it's available in the OpenAPI spec # noqa: E501
|
|
56
|
+
# https://statics.belvo.io/openapi-specs/BelvoOpenFinanceApiSpec.json
|
|
57
|
+
# core.Consents(self), # noqa: ERA001
|
|
55
58
|
banking.Accounts(self),
|
|
56
59
|
banking.Transactions(self),
|
|
57
60
|
banking.Owners(self),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|