tap-belvo 0.0.1b9__py3-none-any.whl → 0.1.0__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 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
14
13
  from singer_sdk.helpers._typing import is_date_or_datetime_type
15
14
  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
 
@@ -4,19 +4,14 @@ from __future__ import annotations
4
4
 
5
5
  import json
6
6
  import logging
7
- import sys
8
- from functools import lru_cache
7
+ from functools import cache
8
+ from importlib import resources
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
-
16
11
  logger = logging.getLogger(__name__)
17
12
 
18
13
 
19
- @lru_cache(maxsize=None)
14
+ @cache
20
15
  def load_openapi() -> dict[str, Any]:
21
16
  """Load the OpenAPI specification from the package.
22
17
 
@@ -23,22 +23,22 @@ from tap_belvo.streams.fiscal import (
23
23
  )
24
24
 
25
25
  __all__ = [
26
- "Links",
27
- "Institutions",
28
26
  "Accounts",
29
- "Transactions",
30
27
  "Balances",
31
- "Owners",
28
+ "Incomes",
29
+ "Institutions",
32
30
  "InvestmentPortfolios",
33
31
  "InvestmentTransactions",
32
+ "Invoices",
33
+ "Links",
34
+ "Owners",
34
35
  "ReceivableTransactions",
35
- "Incomes",
36
36
  "RecurringExpenses",
37
37
  "RiskInsights",
38
- "Invoices",
39
38
  "TaxComplianceStatuses",
40
39
  "TaxDeclarations",
41
40
  "TaxRetentions",
42
41
  "TaxReturns",
43
42
  "TaxStatuses",
43
+ "Transactions",
44
44
  ]
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: tap-belvo
3
- Version: 0.0.1b9
3
+ Version: 0.1.0
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,24 +11,15 @@ 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
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
19
18
  Classifier: Programming Language :: Python :: 3.13
20
- Requires-Python: >=3.8
21
- Requires-Dist: importlib-resources; python_version < '3.9'
22
- Requires-Dist: requests
19
+ Requires-Python: >=3.9
23
20
  Requires-Dist: requests-cache==1.*
24
- Requires-Dist: singer-sdk~=0.40.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'
21
+ Requires-Dist: requests~=2.32.3
22
+ Requires-Dist: singer-sdk~=0.45.3
32
23
  Description-Content-Type: text/markdown
33
24
 
34
25
  # `tap-belvo`
@@ -82,21 +73,15 @@ tap-belvo --config CONFIG --discover > ./catalog.json
82
73
  ### Initialize your Development Environment
83
74
 
84
75
  ```bash
85
- pipx install hatch
76
+ uv tool install --with tox-uv tox
86
77
  ```
87
78
 
88
79
  ### Create and Run Tests
89
80
 
90
- Run integration tests:
81
+ Run all tests:
91
82
 
92
83
  ```bash
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
84
+ tox run-parallel
100
85
  ```
101
86
 
102
87
  ### 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=s2FwmMhZN5eIQjCRDBq0QNHnT-PC9sH2q7vNqoE_Yt4,5459
3
+ tap_belvo/client.py,sha256=pRJ5nXl9TeMVWxehAPW6v4XO8MMf9T-dAByNLW_9jgc,5458
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=hG9zupkP8FU2f4jPK1Yhqq8gM7d3a9xGgRX9bL6SJ7Y,754
7
- tap_belvo/streams/__init__.py,sha256=8N4dhnYyBqduknK7s-uGEwcDOKaiEAqdO5_sAUkym4I,935
6
+ tap_belvo/openapi/__init__.py,sha256=5A0Z37hBIUzi0G-iSXB7l5St1vvoLmLuSDCKF7LiCLk,636
7
+ tap_belvo/streams/__init__.py,sha256=pbZNHP8IAnavfiIpY2vNZevOyieVmjwmjrsNEYEIY1M,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.0.1b9.dist-info/METADATA,sha256=5NvJ1MKzxqeeftZim9jskjzlyBIcaVA-NUBpLoCHFB8,3997
13
- tap_belvo-0.0.1b9.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
14
- tap_belvo-0.0.1b9.dist-info/entry_points.txt,sha256=mbs2jnK3SrSgW3kjbO1jMZdQkSAKw-JO8SscyYtN_Pg,57
15
- tap_belvo-0.0.1b9.dist-info/licenses/LICENSE,sha256=hYHcZxy5jb9T_KQO1dQVotQfhWsU2XBotWBg6FIgklM,1068
16
- tap_belvo-0.0.1b9.dist-info/RECORD,,
12
+ tap_belvo-0.1.0.dist-info/METADATA,sha256=gOWXLddarZ61HQkjZic4u6aBcEPBtcIOMUNHiSL-ksA,3486
13
+ tap_belvo-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ tap_belvo-0.1.0.dist-info/entry_points.txt,sha256=mbs2jnK3SrSgW3kjbO1jMZdQkSAKw-JO8SscyYtN_Pg,57
15
+ tap_belvo-0.1.0.dist-info/licenses/LICENSE,sha256=hYHcZxy5jb9T_KQO1dQVotQfhWsU2XBotWBg6FIgklM,1068
16
+ tap_belvo-0.1.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any