tap-belvo 0.2.1__tar.gz → 0.3.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.
Potentially problematic release.
This version of tap-belvo might be problematic. Click here for more details.
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.copier-answers.yml +1 -1
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.github/workflows/dynamic-publish.yaml +4 -4
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.github/workflows/test.yml +16 -16
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.pre-commit-config.yaml +5 -5
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/PKG-INFO +5 -5
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/meltano.yml +2 -2
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/pyproject.toml +29 -4
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/tap.py +1 -1
- tap_belvo-0.3.0/uv.lock +850 -0
- tap_belvo-0.2.1/tox.ini +0 -39
- tap_belvo-0.2.1/uv.lock +0 -832
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.github/CODEOWNERS +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.github/renovate.json5 +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.gitignore +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/.secrets/.gitignore +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/LICENSE +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/README.md +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/output/.gitignore +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/plugins/loaders/target-duckdb--jwills.lock +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/plugins/loaders/target-jsonl--andyh1203.lock +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/__init__.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/__main__.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/client.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/openapi/BelvoOpenFinanceApiSpec.json +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/openapi/__init__.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/streams/__init__.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/streams/banking.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/streams/core.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/streams/enrichment.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tap_belvo/streams/fiscal.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tests/__init__.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tests/conftest.py +0 -0
- {tap_belvo-0.2.1 → tap_belvo-0.3.0}/tests/test_core.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changes here will be overwritten by Copier
|
|
2
2
|
_commit: 0.0.10
|
|
3
|
-
_src_path: gh:
|
|
3
|
+
_src_path: gh:reservoir-data/singer-tap-copier-template
|
|
4
4
|
author_email: edgarrm358@gmail.com
|
|
5
5
|
author_fullname: Edgar Ramírez-Mondragón
|
|
6
6
|
author_username: edgarrmondragon
|
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
outputs:
|
|
11
11
|
package_version: ${{ steps.baipp.outputs.package_version }}
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
14
14
|
with:
|
|
15
15
|
fetch-depth: 0
|
|
16
16
|
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
|
|
@@ -29,14 +29,14 @@ jobs:
|
|
|
29
29
|
id-token: write
|
|
30
30
|
|
|
31
31
|
steps:
|
|
32
|
-
- uses: actions/download-artifact@
|
|
32
|
+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
|
33
33
|
with:
|
|
34
34
|
name: Packages
|
|
35
35
|
path: dist
|
|
36
|
-
- uses: svenstaro/upload-release-action@
|
|
36
|
+
- uses: svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # 2.11.2
|
|
37
37
|
with:
|
|
38
38
|
file: dist/*.whl
|
|
39
39
|
tag: ${{ github.ref }}
|
|
40
40
|
overwrite: true
|
|
41
41
|
file_glob: true
|
|
42
|
-
- uses: pypa/gh-action-pypi-publish@
|
|
42
|
+
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
|
|
@@ -29,12 +29,14 @@ concurrency:
|
|
|
29
29
|
|
|
30
30
|
env:
|
|
31
31
|
FORCE_COLOR: 1
|
|
32
|
+
# renovate: datasource=pypi depName=prek
|
|
33
|
+
PREK_VERSION: 0.1.6
|
|
32
34
|
# renovate: datasource=pypi depName=uv
|
|
33
|
-
UV_VERSION: 0.
|
|
35
|
+
UV_VERSION: 0.8.15
|
|
34
36
|
# renovate: datasource=pypi depName=tox
|
|
35
|
-
TOX_VERSION: 4.
|
|
37
|
+
TOX_VERSION: 4.30.2
|
|
36
38
|
# renovate: datasource=pypi depName=tox-uv
|
|
37
|
-
TOX_UV_VERSION: 1.
|
|
39
|
+
TOX_UV_VERSION: 1.28.0
|
|
38
40
|
|
|
39
41
|
jobs:
|
|
40
42
|
tests:
|
|
@@ -52,13 +54,13 @@ jobs:
|
|
|
52
54
|
- { environment: "typing", python-version: "3.x" }
|
|
53
55
|
|
|
54
56
|
steps:
|
|
55
|
-
- uses: actions/checkout@
|
|
56
|
-
- uses: actions/setup-python@
|
|
57
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
58
|
+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
57
59
|
id: setup-python
|
|
58
60
|
with:
|
|
59
61
|
python-version: ${{ matrix.python-version }}
|
|
60
62
|
allow-prereleases: true
|
|
61
|
-
- uses: astral-sh/setup-uv@
|
|
63
|
+
- uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
|
|
62
64
|
with:
|
|
63
65
|
version: ${{ env.UV_VERSION }}
|
|
64
66
|
- name: Run
|
|
@@ -77,16 +79,14 @@ jobs:
|
|
|
77
79
|
runs-on: ubuntu-latest
|
|
78
80
|
steps:
|
|
79
81
|
- name: Checkout code
|
|
80
|
-
uses: actions/checkout@
|
|
82
|
+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
81
83
|
|
|
82
|
-
- name:
|
|
83
|
-
uses:
|
|
84
|
+
- name: Install the latest version of uv
|
|
85
|
+
uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
|
|
84
86
|
with:
|
|
85
|
-
|
|
86
|
-
cache: pip
|
|
87
|
-
cache-dependency-path: .pre-commit-config.yaml
|
|
88
|
-
|
|
89
|
-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
|
87
|
+
version: ${{ env.UV_VERSION }}
|
|
90
88
|
|
|
91
|
-
-
|
|
92
|
-
|
|
89
|
+
- run: >
|
|
90
|
+
uvx
|
|
91
|
+
--with prek==${{ env.PREK_VERSION }}
|
|
92
|
+
prek run --show-diff-on-failure --all-files
|
|
@@ -8,7 +8,7 @@ ci:
|
|
|
8
8
|
|
|
9
9
|
repos:
|
|
10
10
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
11
|
-
rev:
|
|
11
|
+
rev: v6.0.0
|
|
12
12
|
hooks:
|
|
13
13
|
- id: check-json
|
|
14
14
|
exclude: "\\.vscode/.*.json"
|
|
@@ -24,19 +24,19 @@ repos:
|
|
|
24
24
|
- id: pyproject-fmt
|
|
25
25
|
|
|
26
26
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
27
|
-
rev: "v0.12.
|
|
27
|
+
rev: "v0.12.12"
|
|
28
28
|
hooks:
|
|
29
|
-
- id: ruff
|
|
29
|
+
- id: ruff-check
|
|
30
30
|
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
|
|
31
31
|
- id: ruff-format
|
|
32
32
|
|
|
33
33
|
- repo: https://github.com/pre-commit/pre-commit
|
|
34
|
-
rev: v4.
|
|
34
|
+
rev: v4.3.0
|
|
35
35
|
hooks:
|
|
36
36
|
- id: validate_manifest
|
|
37
37
|
|
|
38
38
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
39
|
-
rev: "0.
|
|
39
|
+
rev: "0.8.15"
|
|
40
40
|
hooks:
|
|
41
41
|
- id: uv-lock
|
|
42
42
|
- id: uv-sync
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tap-belvo
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Singer tap for Belvo, built with the Meltano SDK for Singer Taps.
|
|
5
|
-
Project-URL: Documentation, https://github.com/
|
|
6
|
-
Project-URL: Homepage, https://github.com/
|
|
7
|
-
Project-URL: Source, https://github.com/
|
|
5
|
+
Project-URL: Documentation, https://github.com/reservoir-data/tap-belvo#readme
|
|
6
|
+
Project-URL: Homepage, https://github.com/reservoir-data/tap-belvo
|
|
7
|
+
Project-URL: Source, https://github.com/reservoir-data/tap-belvo
|
|
8
8
|
Author-email: Edgar Ramírez-Mondragón <edgarrm358@gmail.com>
|
|
9
9
|
Maintainer-email: Edgar Ramírez-Mondragón <edgarrm358@gmail.com>
|
|
10
10
|
License-Expression: Apache-2.0
|
|
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
18
18
|
Requires-Python: >=3.11
|
|
19
19
|
Requires-Dist: requests-cache==1.*
|
|
20
20
|
Requires-Dist: requests~=2.32.3
|
|
21
|
-
Requires-Dist: singer-sdk~=0.
|
|
21
|
+
Requires-Dist: singer-sdk~=0.48.0
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
24
|
# tap-belvo
|
|
@@ -9,7 +9,7 @@ plugins:
|
|
|
9
9
|
- name: tap-belvo
|
|
10
10
|
namespace: belvo
|
|
11
11
|
label: Belvo
|
|
12
|
-
docs: https://github.com/
|
|
12
|
+
docs: https://github.com/reservoir-data/tap-belvo#readme
|
|
13
13
|
pip_url: -e .
|
|
14
14
|
description: The leading Open Banking API platform in Latin America
|
|
15
15
|
capabilities:
|
|
@@ -44,7 +44,7 @@ plugins:
|
|
|
44
44
|
select:
|
|
45
45
|
- links_*.*
|
|
46
46
|
- banking_*.*
|
|
47
|
-
repository: https://github.com/
|
|
47
|
+
repository: https://github.com/reservoir-data/tap-belvo
|
|
48
48
|
loaders:
|
|
49
49
|
- name: target-jsonl
|
|
50
50
|
variant: andyh1203
|
|
@@ -31,11 +31,11 @@ dynamic = [
|
|
|
31
31
|
dependencies = [
|
|
32
32
|
"requests~=2.32.3",
|
|
33
33
|
"requests-cache==1.*",
|
|
34
|
-
"singer-sdk~=0.
|
|
34
|
+
"singer-sdk~=0.48.0",
|
|
35
35
|
]
|
|
36
|
-
urls.Documentation = "https://github.com/
|
|
37
|
-
urls.Homepage = "https://github.com/
|
|
38
|
-
urls.Source = "https://github.com/
|
|
36
|
+
urls.Documentation = "https://github.com/reservoir-data/tap-belvo#readme"
|
|
37
|
+
urls.Homepage = "https://github.com/reservoir-data/tap-belvo"
|
|
38
|
+
urls.Source = "https://github.com/reservoir-data/tap-belvo"
|
|
39
39
|
scripts."tap-belvo" = "tap_belvo.tap:TapBelvo.cli"
|
|
40
40
|
|
|
41
41
|
[dependency-groups]
|
|
@@ -90,6 +90,31 @@ filterwarnings = [
|
|
|
90
90
|
"default:'_UnionGenericAlias' is deprecated and slated for removal in Python 3.17:DeprecationWarning",
|
|
91
91
|
]
|
|
92
92
|
|
|
93
|
+
[tool.tox]
|
|
94
|
+
min_version = "4.22"
|
|
95
|
+
env_list = [
|
|
96
|
+
"dependencies",
|
|
97
|
+
"typing",
|
|
98
|
+
"3.14",
|
|
99
|
+
"3.13",
|
|
100
|
+
"3.12",
|
|
101
|
+
"3.11",
|
|
102
|
+
]
|
|
103
|
+
|
|
104
|
+
[tool.tox.env_run_base]
|
|
105
|
+
runner = "uv-venv-lock-runner"
|
|
106
|
+
pass_env = [ "TAP_BELVO_*" ]
|
|
107
|
+
dependency_groups = [ "testing" ]
|
|
108
|
+
commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ]
|
|
109
|
+
|
|
110
|
+
[tool.tox.env.dependencies]
|
|
111
|
+
dependency_groups = [ "testing" ]
|
|
112
|
+
commands = [ [ "deptry", "." ] ]
|
|
113
|
+
|
|
114
|
+
[tool.tox.env.typing]
|
|
115
|
+
dependency_groups = [ "testing", "typing" ]
|
|
116
|
+
commands = [ [ "mypy", "--strict", { replace = "posargs", default = [ "tap_belvo", "tests" ], extend = true } ] ]
|
|
117
|
+
|
|
93
118
|
[tool.mypy]
|
|
94
119
|
enable_error_code = [
|
|
95
120
|
"ignore-without-code",
|
|
@@ -48,7 +48,7 @@ class TapBelvo(singer_sdk.Tap):
|
|
|
48
48
|
A list of Belvo streams.
|
|
49
49
|
"""
|
|
50
50
|
# TODO(edgarrmondragon): Add tax declarations and tax returns
|
|
51
|
-
# https://github.com/
|
|
51
|
+
# https://github.com/reservoir-data/tap-belvo/issues/76
|
|
52
52
|
return [
|
|
53
53
|
core.Links(self),
|
|
54
54
|
core.Institutions(self),
|