yeonjae-universal-data-storage 1.0.3__tar.gz → 1.0.5__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.
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/PKG-INFO +2 -2
- yeonjae_universal_data_storage-1.0.5/README.md +9 -0
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/pyproject.toml +3 -3
- {yeonjae_universal_data_storage-1.0.3/src/universal_data_storage → yeonjae_universal_data_storage-1.0.5/src/yeonjae_universal_data_storage}/service.py +2 -2
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/src/yeonjae_universal_data_storage.egg-info/PKG-INFO +2 -2
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/src/yeonjae_universal_data_storage.egg-info/SOURCES.txt +4 -4
- yeonjae_universal_data_storage-1.0.5/src/yeonjae_universal_data_storage.egg-info/top_level.txt +1 -0
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/tests/test_basic.py +6 -6
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/tests/test_models.py +1 -1
- yeonjae_universal_data_storage-1.0.3/README.md +0 -9
- yeonjae_universal_data_storage-1.0.3/src/yeonjae_universal_data_storage.egg-info/top_level.txt +0 -1
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/setup.cfg +0 -0
- {yeonjae_universal_data_storage-1.0.3/src/universal_data_storage → yeonjae_universal_data_storage-1.0.5/src/yeonjae_universal_data_storage}/__init__.py +0 -0
- {yeonjae_universal_data_storage-1.0.3/src/universal_data_storage → yeonjae_universal_data_storage-1.0.5/src/yeonjae_universal_data_storage}/exceptions.py +0 -0
- {yeonjae_universal_data_storage-1.0.3/src/universal_data_storage → yeonjae_universal_data_storage-1.0.5/src/yeonjae_universal_data_storage}/models.py +0 -0
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/src/yeonjae_universal_data_storage.egg-info/dependency_links.txt +0 -0
- {yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/src/yeonjae_universal_data_storage.egg-info/requires.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: yeonjae-universal-data-storage
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.5
|
4
4
|
Summary: Universal data storage module for persisting development data
|
5
5
|
Author-email: Yeonjae <dev@example.com>
|
6
6
|
License: MIT
|
@@ -35,5 +35,5 @@ Requires-Dist: mypy>=1.0.0; extra == "dev"
|
|
35
35
|
## 설치
|
36
36
|
|
37
37
|
```bash
|
38
|
-
pip install
|
38
|
+
pip install yeonjae-universal-data-storage
|
39
39
|
```
|
{yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/pyproject.toml
RENAMED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "yeonjae-universal-data-storage"
|
7
|
-
version = "1.0.
|
7
|
+
version = "1.0.5"
|
8
8
|
description = "Universal data storage module for persisting development data"
|
9
9
|
authors = [{name = "Yeonjae", email = "dev@example.com"}]
|
10
10
|
license = {text = "MIT"}
|
@@ -45,7 +45,7 @@ Issues = "https://github.com/yeonjae/universal-modules/issues"
|
|
45
45
|
where = ["src"]
|
46
46
|
|
47
47
|
[tool.setuptools.package-data]
|
48
|
-
|
48
|
+
yeonjae_universal_data_storage = ["py.typed"]
|
49
49
|
|
50
50
|
[tool.pytest.ini_options]
|
51
51
|
testpaths = ["tests"]
|
@@ -55,7 +55,7 @@ python_functions = ["test_*"]
|
|
55
55
|
addopts = "-v --tb=short"
|
56
56
|
|
57
57
|
[tool.coverage.run]
|
58
|
-
source = ["src/
|
58
|
+
source = ["src/yeonjae_universal_data_storage"]
|
59
59
|
omit = ["tests/*"]
|
60
60
|
|
61
61
|
[tool.coverage.report]
|
@@ -15,12 +15,12 @@ from sqlalchemy.ext.asyncio import AsyncSession
|
|
15
15
|
from sqlalchemy.orm import Session, selectinload
|
16
16
|
from sqlalchemy.future import select
|
17
17
|
|
18
|
-
from
|
18
|
+
from yeonjae_universal_data_storage.models import (
|
19
19
|
Event, CommitRecord, DiffRecord,
|
20
20
|
CommitData, DiffData, StorageResult, StorageStatus,
|
21
21
|
CommitSummary, DiffSummary, CommitWithDiffs, BatchStorageResult
|
22
22
|
)
|
23
|
-
from
|
23
|
+
from yeonjae_universal_git_data_parser.models import DiffData as GitDiffData
|
24
24
|
# Database configuration - standalone implementation
|
25
25
|
from sqlalchemy import create_engine
|
26
26
|
from sqlalchemy.orm import sessionmaker, declarative_base
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: yeonjae-universal-data-storage
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.5
|
4
4
|
Summary: Universal data storage module for persisting development data
|
5
5
|
Author-email: Yeonjae <dev@example.com>
|
6
6
|
License: MIT
|
@@ -35,5 +35,5 @@ Requires-Dist: mypy>=1.0.0; extra == "dev"
|
|
35
35
|
## 설치
|
36
36
|
|
37
37
|
```bash
|
38
|
-
pip install
|
38
|
+
pip install yeonjae-universal-data-storage
|
39
39
|
```
|
@@ -1,9 +1,9 @@
|
|
1
1
|
README.md
|
2
2
|
pyproject.toml
|
3
|
-
src/
|
4
|
-
src/
|
5
|
-
src/
|
6
|
-
src/
|
3
|
+
src/yeonjae_universal_data_storage/__init__.py
|
4
|
+
src/yeonjae_universal_data_storage/exceptions.py
|
5
|
+
src/yeonjae_universal_data_storage/models.py
|
6
|
+
src/yeonjae_universal_data_storage/service.py
|
7
7
|
src/yeonjae_universal_data_storage.egg-info/PKG-INFO
|
8
8
|
src/yeonjae_universal_data_storage.egg-info/SOURCES.txt
|
9
9
|
src/yeonjae_universal_data_storage.egg-info/dependency_links.txt
|
yeonjae_universal_data_storage-1.0.5/src/yeonjae_universal_data_storage.egg-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
yeonjae_universal_data_storage
|
{yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/tests/test_basic.py
RENAMED
@@ -10,7 +10,7 @@ from datetime import datetime
|
|
10
10
|
|
11
11
|
def test_models_import():
|
12
12
|
"""모델 임포트 테스트"""
|
13
|
-
from
|
13
|
+
from yeonjae_universal_data_storage.models import (
|
14
14
|
StorageStatus, CommitData, DiffData, StorageResult
|
15
15
|
)
|
16
16
|
|
@@ -23,7 +23,7 @@ def test_models_import():
|
|
23
23
|
|
24
24
|
def test_exceptions_import():
|
25
25
|
"""예외 클래스 임포트 테스트"""
|
26
|
-
from
|
26
|
+
from yeonjae_universal_data_storage.exceptions import (
|
27
27
|
DataStorageException,
|
28
28
|
DatabaseConnectionException,
|
29
29
|
DuplicateDataException
|
@@ -36,7 +36,7 @@ def test_exceptions_import():
|
|
36
36
|
|
37
37
|
def test_commit_data_creation():
|
38
38
|
"""CommitData 생성 테스트"""
|
39
|
-
from
|
39
|
+
from yeonjae_universal_data_storage.models import CommitData
|
40
40
|
|
41
41
|
commit = CommitData(
|
42
42
|
commit_hash="abc123",
|
@@ -56,7 +56,7 @@ def test_commit_data_creation():
|
|
56
56
|
|
57
57
|
def test_diff_data_creation():
|
58
58
|
"""DiffData 생성 테스트"""
|
59
|
-
from
|
59
|
+
from yeonjae_universal_data_storage.models import DiffData
|
60
60
|
|
61
61
|
diff = DiffData(
|
62
62
|
file_path="test.py",
|
@@ -73,7 +73,7 @@ def test_diff_data_creation():
|
|
73
73
|
|
74
74
|
def test_storage_result_creation():
|
75
75
|
"""StorageResult 생성 테스트"""
|
76
|
-
from
|
76
|
+
from yeonjae_universal_data_storage.models import StorageResult, StorageStatus
|
77
77
|
|
78
78
|
result = StorageResult(
|
79
79
|
success=True,
|
@@ -89,7 +89,7 @@ def test_storage_result_creation():
|
|
89
89
|
|
90
90
|
def test_exception_creation():
|
91
91
|
"""예외 생성 테스트"""
|
92
|
-
from
|
92
|
+
from yeonjae_universal_data_storage.exceptions import DuplicateDataException
|
93
93
|
|
94
94
|
exception = DuplicateDataException("test_hash", {"id": 123})
|
95
95
|
|
{yeonjae_universal_data_storage-1.0.3 → yeonjae_universal_data_storage-1.0.5}/tests/test_models.py
RENAMED
@@ -8,7 +8,7 @@ import pytest
|
|
8
8
|
from datetime import datetime
|
9
9
|
from typing import Dict, List
|
10
10
|
|
11
|
-
from
|
11
|
+
from yeonjae_universal_data_storage.models import (
|
12
12
|
StorageStatus, CommitData, DiffData, StorageResult,
|
13
13
|
CommitSummary, DiffSummary, CommitWithDiffs, BatchStorageResult,
|
14
14
|
EventCreate, EventResponse
|
yeonjae_universal_data_storage-1.0.3/src/yeonjae_universal_data_storage.egg-info/top_level.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
universal_data_storage
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|