sqlite-export-for-ynab 2.7.0__tar.gz → 2.7.1__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.
- {sqlite_export_for_ynab-2.7.0/sqlite_export_for_ynab.egg-info → sqlite_export_for_ynab-2.7.1}/PKG-INFO +7 -2
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/setup.cfg +10 -3
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/_main.py +26 -1
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1/sqlite_export_for_ynab.egg-info}/PKG-INFO +7 -2
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab.egg-info/requires.txt +7 -1
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/LICENSE +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/README.md +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/pyproject.toml +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/setup.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/__init__.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/__main__.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/ddl/__init__.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/ddl/create-relations.sql +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/ddl/drop-relations.sql +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/py.typed +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab.egg-info/SOURCES.txt +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab.egg-info/dependency_links.txt +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab.egg-info/entry_points.txt +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab.egg-info/top_level.txt +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/testing/__init__.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/testing/fixtures.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/tests/__init__.py +0 -0
- {sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/tests/_main_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlite_export_for_ynab
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.1
|
|
4
4
|
Summary: SQLite Export for YNAB - Export YNAB Data to SQLite
|
|
5
5
|
Home-page: https://github.com/mxr/sqlite-export-for-ynab
|
|
6
6
|
Author: Max R
|
|
@@ -19,8 +19,13 @@ Requires-Dist: aiopathlib
|
|
|
19
19
|
Requires-Dist: aiosqlite
|
|
20
20
|
Requires-Dist: asyncio-for-ynab
|
|
21
21
|
Requires-Dist: fasteners
|
|
22
|
-
Requires-Dist: rich>=
|
|
22
|
+
Requires-Dist: rich>=12
|
|
23
23
|
Requires-Dist: tenacity
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: covdefaults>=2.1.0; extra == "dev"
|
|
26
|
+
Requires-Dist: coverage; extra == "dev"
|
|
27
|
+
Requires-Dist: pytest; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
24
29
|
Dynamic: license-file
|
|
25
30
|
|
|
26
31
|
# sqlite-export-for-ynab
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = sqlite_export_for_ynab
|
|
3
|
-
version = 2.7.
|
|
3
|
+
version = 2.7.1
|
|
4
4
|
description = SQLite Export for YNAB - Export YNAB Data to SQLite
|
|
5
5
|
long_description = file: README.md
|
|
6
6
|
long_description_content_type = text/markdown
|
|
@@ -24,7 +24,7 @@ install_requires =
|
|
|
24
24
|
aiosqlite
|
|
25
25
|
asyncio-for-ynab
|
|
26
26
|
fasteners
|
|
27
|
-
rich>=
|
|
27
|
+
rich>=12
|
|
28
28
|
tenacity
|
|
29
29
|
python_requires = >=3.12
|
|
30
30
|
|
|
@@ -32,6 +32,13 @@ python_requires = >=3.12
|
|
|
32
32
|
console_scripts =
|
|
33
33
|
sqlite-export-for-ynab = sqlite_export_for_ynab._main:main
|
|
34
34
|
|
|
35
|
+
[options.extras_require]
|
|
36
|
+
dev =
|
|
37
|
+
covdefaults>=2.1.0
|
|
38
|
+
coverage
|
|
39
|
+
pytest
|
|
40
|
+
pytest-asyncio
|
|
41
|
+
|
|
35
42
|
[options.package_data]
|
|
36
43
|
* = *.sql
|
|
37
44
|
sqlite_export_for_ynab =
|
|
@@ -47,7 +54,7 @@ plugins = covdefaults
|
|
|
47
54
|
envlist = py,pypy3,pre-commit
|
|
48
55
|
|
|
49
56
|
[testenv]
|
|
50
|
-
|
|
57
|
+
extras = dev
|
|
51
58
|
commands =
|
|
52
59
|
coverage erase
|
|
53
60
|
coverage run -m pytest {posargs:tests}
|
{sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/_main.py
RENAMED
|
@@ -35,7 +35,6 @@ from asyncio_for_ynab import ScheduledTransactionsApi
|
|
|
35
35
|
from asyncio_for_ynab import TransactionDetail
|
|
36
36
|
from asyncio_for_ynab import TransactionsApi
|
|
37
37
|
from rich.progress import BarColumn
|
|
38
|
-
from rich.progress import MofNCompleteColumn
|
|
39
38
|
from rich.progress import Progress
|
|
40
39
|
from rich.progress import TaskID
|
|
41
40
|
from rich.progress import TextColumn
|
|
@@ -50,6 +49,32 @@ if TYPE_CHECKING:
|
|
|
50
49
|
from collections.abc import Iterator
|
|
51
50
|
from collections.abc import Sequence
|
|
52
51
|
|
|
52
|
+
try:
|
|
53
|
+
from rich.progress import MofNCompleteColumn
|
|
54
|
+
# https://github.com/benleb/surepy/issues/240
|
|
55
|
+
except ImportError: # pragma: no cover
|
|
56
|
+
from rich.progress import ProgressColumn
|
|
57
|
+
from rich.progress import Task
|
|
58
|
+
from rich.text import Text
|
|
59
|
+
|
|
60
|
+
if TYPE_CHECKING:
|
|
61
|
+
from rich.table import Column
|
|
62
|
+
|
|
63
|
+
class MofNCompleteColumn(ProgressColumn): # type:ignore[no-redef]
|
|
64
|
+
def __init__(self, separator: str = "/", table_column: Column | None = None):
|
|
65
|
+
self.separator = separator
|
|
66
|
+
super().__init__(table_column=table_column)
|
|
67
|
+
|
|
68
|
+
def render(self, task: Task) -> Text:
|
|
69
|
+
"""Show completed/total."""
|
|
70
|
+
completed = int(task.completed)
|
|
71
|
+
total = int(task.total) if task.total is not None else "?"
|
|
72
|
+
total_width = len(str(total))
|
|
73
|
+
return Text(
|
|
74
|
+
f"{completed:{total_width}d}{self.separator}{total}",
|
|
75
|
+
style="progress.download",
|
|
76
|
+
)
|
|
77
|
+
|
|
53
78
|
|
|
54
79
|
_EntryTable = (
|
|
55
80
|
Literal["accounts"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlite_export_for_ynab
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.1
|
|
4
4
|
Summary: SQLite Export for YNAB - Export YNAB Data to SQLite
|
|
5
5
|
Home-page: https://github.com/mxr/sqlite-export-for-ynab
|
|
6
6
|
Author: Max R
|
|
@@ -19,8 +19,13 @@ Requires-Dist: aiopathlib
|
|
|
19
19
|
Requires-Dist: aiosqlite
|
|
20
20
|
Requires-Dist: asyncio-for-ynab
|
|
21
21
|
Requires-Dist: fasteners
|
|
22
|
-
Requires-Dist: rich>=
|
|
22
|
+
Requires-Dist: rich>=12
|
|
23
23
|
Requires-Dist: tenacity
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: covdefaults>=2.1.0; extra == "dev"
|
|
26
|
+
Requires-Dist: coverage; extra == "dev"
|
|
27
|
+
Requires-Dist: pytest; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
24
29
|
Dynamic: license-file
|
|
25
30
|
|
|
26
31
|
# sqlite-export-for-ynab
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/__init__.py
RENAMED
|
File without changes
|
{sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/__main__.py
RENAMED
|
File without changes
|
{sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/ddl/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlite_export_for_ynab-2.7.0 → sqlite_export_for_ynab-2.7.1}/sqlite_export_for_ynab/py.typed
RENAMED
|
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
|