quickbase-extract 0.3.0__tar.gz → 0.3.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.
Files changed (28) hide show
  1. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/.pre-commit-config.yaml +5 -6
  2. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/CHANGELOG.md +6 -0
  3. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/PKG-INFO +1 -2
  4. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/pyproject.toml +1 -2
  5. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/__init__.py +4 -13
  6. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/conftest.py +0 -1
  7. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_api_handlers.py +0 -1
  8. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_cache_manager.py +0 -1
  9. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_cache_orchestration.py +0 -1
  10. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_cache_sync.py +6 -2
  11. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_report_data.py +0 -1
  12. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_report_metadata.py +0 -1
  13. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/.editorconfig +0 -0
  14. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/.gitignore +0 -0
  15. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/.python-version +0 -0
  16. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/LICENSE.txt +0 -0
  17. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/README.md +0 -0
  18. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/TODO.md +0 -0
  19. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/api_handlers.py +0 -0
  20. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/cache_manager.py +0 -0
  21. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/cache_orchestration.py +0 -0
  22. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/cache_sync.py +0 -0
  23. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/config.py +0 -0
  24. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/py.typed +0 -0
  25. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/report_data.py +0 -0
  26. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/report_metadata.py +0 -0
  27. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/src/quickbase_extract/utils.py +0 -0
  28. {quickbase_extract-0.3.0 → quickbase_extract-0.3.1}/tests/test_utils.py +0 -0
@@ -8,14 +8,13 @@ repos:
8
8
  - id: check-yaml
9
9
  - id: debug-statements # Prevents accidental pdb/breakpoint commits
10
10
 
11
- - repo: https://github.com/psf/black
12
- rev: 23.12.1
13
- hooks:
14
- - id: black
15
- language_version: python3.12
16
-
17
11
  - repo: https://github.com/astral-sh/ruff-pre-commit
18
12
  rev: v0.1.11
19
13
  hooks:
20
14
  - id: ruff
21
15
  args: [--fix]
16
+ stages: [pre-commit]
17
+ - id: ruff-format
18
+ stages: [pre-commit]
19
+ - id: ruff # Run again to verify no more changes
20
+ stages: [pre-commit]
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.1] - 2026-04-27
9
+
10
+ ### Fixed
11
+
12
+ - `complete_cache_refresh()` function now properly exported from `quickbase_extract` package for use in Lambda handlers
13
+
8
14
  ## [0.3.0] - 2026-04-27
9
15
 
10
16
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quickbase-extract
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Extract and cache Quickbase report data with built-in error handling and S3 support
5
5
  Project-URL: Homepage, https://github.com/tbrezler/quickbase-extract
6
6
  Project-URL: Repository, https://github.com/tbrezler/quickbase-extract.git
@@ -19,7 +19,6 @@ Requires-Python: >=3.12
19
19
  Requires-Dist: boto3>=1.26.0
20
20
  Requires-Dist: quickbase-api>=0.3.1
21
21
  Provides-Extra: dev
22
- Requires-Dist: black>=23.0; extra == 'dev'
23
22
  Requires-Dist: pytest-cov>=4.0; extra == 'dev'
24
23
  Requires-Dist: pytest>=7.0; extra == 'dev'
25
24
  Requires-Dist: ruff>=0.1.0; extra == 'dev'
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "quickbase-extract"
7
- version = "0.3.0"
7
+ version = "0.3.1"
8
8
  description = "Extract and cache Quickbase report data with built-in error handling and S3 support"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -31,7 +31,6 @@ dependencies = [
31
31
  dev = [
32
32
  "pytest>=7.0",
33
33
  "pytest-cov>=4.0",
34
- "black>=23.0",
35
34
  "ruff>=0.1.0",
36
35
  ]
37
36
 
@@ -28,12 +28,7 @@ import logging
28
28
  from importlib.metadata import version
29
29
 
30
30
  # API operations with error handling
31
- from quickbase_extract.api_handlers import (
32
- QuickbaseOperationError,
33
- handle_delete,
34
- handle_query,
35
- handle_upsert,
36
- )
31
+ from quickbase_extract.api_handlers import QuickbaseOperationError, handle_delete, handle_query, handle_upsert
37
32
 
38
33
  # Cache management
39
34
  from quickbase_extract.cache_manager import CacheManager
@@ -42,18 +37,13 @@ from quickbase_extract.cache_manager import CacheManager
42
37
  from quickbase_extract.cache_orchestration import ensure_cache_freshness
43
38
 
44
39
  # Cache sync
45
- from quickbase_extract.cache_sync import is_cache_synced, sync_from_s3_once
40
+ from quickbase_extract.cache_sync import complete_cache_refresh, is_cache_synced, sync_from_s3_once
46
41
 
47
42
  # Config
48
43
  from quickbase_extract.config import ReportConfig
49
44
 
50
45
  # Report data retrieval
51
- from quickbase_extract.report_data import (
52
- get_data,
53
- get_data_parallel,
54
- load_data,
55
- load_data_batch,
56
- )
46
+ from quickbase_extract.report_data import get_data, get_data_parallel, load_data, load_data_batch
57
47
 
58
48
  # Report metadata
59
49
  from quickbase_extract.report_metadata import (
@@ -77,6 +67,7 @@ __all__ = [
77
67
  # Cache management
78
68
  "CacheManager",
79
69
  "ensure_cache_freshness",
70
+ "complete_cache_refresh",
80
71
  "sync_from_s3_once",
81
72
  "is_cache_synced",
82
73
  # Config
@@ -3,7 +3,6 @@
3
3
  from unittest.mock import MagicMock
4
4
 
5
5
  import pytest
6
-
7
6
  from quickbase_extract.config import ReportConfig
8
7
 
9
8
 
@@ -3,7 +3,6 @@
3
3
  import time
4
4
 
5
5
  import pytest
6
-
7
6
  from quickbase_extract.api_handlers import (
8
7
  QuickbaseOperationError,
9
8
  handle_delete,
@@ -8,7 +8,6 @@ from pathlib import Path
8
8
  from unittest.mock import MagicMock, patch
9
9
 
10
10
  import pytest
11
-
12
11
  from quickbase_extract.cache_manager import CacheManager
13
12
 
14
13
 
@@ -6,7 +6,6 @@ import time
6
6
  from unittest.mock import MagicMock, patch
7
7
 
8
8
  import pytest
9
-
10
9
  from quickbase_extract.cache_manager import CacheManager
11
10
  from quickbase_extract.cache_orchestration import (
12
11
  CacheRefreshError,
@@ -3,9 +3,13 @@
3
3
  from unittest.mock import MagicMock, patch
4
4
 
5
5
  import pytest
6
-
7
6
  from quickbase_extract.cache_manager import CacheManager
8
- from quickbase_extract.cache_sync import _reset_cache_sync, complete_cache_refresh, is_cache_synced, sync_from_s3_once
7
+ from quickbase_extract.cache_sync import (
8
+ _reset_cache_sync,
9
+ complete_cache_refresh,
10
+ is_cache_synced,
11
+ sync_from_s3_once,
12
+ )
9
13
 
10
14
 
11
15
  class TestSyncFromS3Once:
@@ -3,7 +3,6 @@
3
3
  import json
4
4
 
5
5
  import pytest
6
-
7
6
  from quickbase_extract.cache_manager import CacheManager
8
7
  from quickbase_extract.config import ReportConfig
9
8
  from quickbase_extract.report_data import (
@@ -3,7 +3,6 @@
3
3
  import json
4
4
 
5
5
  import pytest
6
-
7
6
  from quickbase_extract.cache_manager import CacheManager
8
7
  from quickbase_extract.config import ReportConfig
9
8
  from quickbase_extract.report_metadata import (