commitdb 2.3.0__tar.gz → 2.4.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.
- {commitdb-2.3.0 → commitdb-2.4.0}/PKG-INFO +4 -4
- {commitdb-2.3.0 → commitdb-2.4.0}/README.md +2 -2
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb/__init__.py +1 -1
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb/binding.py +1 -1
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb/client.py +1 -1
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb/ibis_backend.py +1 -1
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb/lib/libcommitdb-linux-amd64.so +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb.egg-info/PKG-INFO +4 -4
- {commitdb-2.3.0 → commitdb-2.4.0}/pyproject.toml +2 -2
- {commitdb-2.3.0 → commitdb-2.4.0}/tests/test_client.py +5 -5
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb.egg-info/SOURCES.txt +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb.egg-info/dependency_links.txt +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb.egg-info/entry_points.txt +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb.egg-info/requires.txt +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/commitdb.egg-info/top_level.txt +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/setup.cfg +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/tests/__init__.py +0 -0
- {commitdb-2.3.0 → commitdb-2.4.0}/tests/test_ibis.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commitdb
|
|
3
|
-
Version: 2.
|
|
4
|
-
Summary: Python
|
|
3
|
+
Version: 2.4.0
|
|
4
|
+
Summary: Python Client for CommitDB SQL Server
|
|
5
5
|
Author: CommitDB Contributors
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/nickyhof/CommitDB
|
|
@@ -23,14 +23,14 @@ Provides-Extra: ibis
|
|
|
23
23
|
Requires-Dist: ibis-framework>=11.0; extra == "ibis"
|
|
24
24
|
Requires-Dist: pandas>=2.0; extra == "ibis"
|
|
25
25
|
|
|
26
|
-
# CommitDB Python
|
|
26
|
+
# CommitDB Python Client
|
|
27
27
|
|
|
28
28
|
[](https://badge.fury.io/py/commitdb)
|
|
29
29
|
[](https://www.python.org/downloads/)
|
|
30
30
|
|
|
31
31
|
Python client for CommitDB - a Git-backed SQL database engine.
|
|
32
32
|
|
|
33
|
-
**[📚 Full Documentation](https://nickyhof.github.io/CommitDB/python-
|
|
33
|
+
**[📚 Full Documentation](https://nickyhof.github.io/CommitDB/python-client/)**
|
|
34
34
|
|
|
35
35
|
> ⚠️ **Experimental Project** - This is a hobby project and should not be used in any production environment.
|
|
36
36
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# CommitDB Python
|
|
1
|
+
# CommitDB Python Client
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/py/commitdb)
|
|
4
4
|
[](https://www.python.org/downloads/)
|
|
5
5
|
|
|
6
6
|
Python client for CommitDB - a Git-backed SQL database engine.
|
|
7
7
|
|
|
8
|
-
**[📚 Full Documentation](https://nickyhof.github.io/CommitDB/python-
|
|
8
|
+
**[📚 Full Documentation](https://nickyhof.github.io/CommitDB/python-client/)**
|
|
9
9
|
|
|
10
10
|
> ⚠️ **Experimental Project** - This is a hobby project and should not be used in any production environment.
|
|
11
11
|
|
|
@@ -27,7 +27,7 @@ def _find_library() -> Optional[str]:
|
|
|
27
27
|
search_paths = [
|
|
28
28
|
Path(__file__).parent / 'lib', # Package lib directory (for pip installed)
|
|
29
29
|
Path(__file__).parent, # Same directory as this file
|
|
30
|
-
Path(__file__).parent.parent / 'lib', #
|
|
30
|
+
Path(__file__).parent.parent / 'lib', # clients/python/lib
|
|
31
31
|
Path(__file__).parent.parent.parent.parent / 'lib', # CommitDB/lib
|
|
32
32
|
Path.cwd() / 'lib', # ./lib
|
|
33
33
|
Path.cwd(), # Current directory
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commitdb
|
|
3
|
-
Version: 2.
|
|
4
|
-
Summary: Python
|
|
3
|
+
Version: 2.4.0
|
|
4
|
+
Summary: Python Client for CommitDB SQL Server
|
|
5
5
|
Author: CommitDB Contributors
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/nickyhof/CommitDB
|
|
@@ -23,14 +23,14 @@ Provides-Extra: ibis
|
|
|
23
23
|
Requires-Dist: ibis-framework>=11.0; extra == "ibis"
|
|
24
24
|
Requires-Dist: pandas>=2.0; extra == "ibis"
|
|
25
25
|
|
|
26
|
-
# CommitDB Python
|
|
26
|
+
# CommitDB Python Client
|
|
27
27
|
|
|
28
28
|
[](https://badge.fury.io/py/commitdb)
|
|
29
29
|
[](https://www.python.org/downloads/)
|
|
30
30
|
|
|
31
31
|
Python client for CommitDB - a Git-backed SQL database engine.
|
|
32
32
|
|
|
33
|
-
**[📚 Full Documentation](https://nickyhof.github.io/CommitDB/python-
|
|
33
|
+
**[📚 Full Documentation](https://nickyhof.github.io/CommitDB/python-client/)**
|
|
34
34
|
|
|
35
35
|
> ⚠️ **Experimental Project** - This is a hobby project and should not be used in any production environment.
|
|
36
36
|
|
|
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "commitdb"
|
|
7
|
-
version = "2.
|
|
8
|
-
description = "Python
|
|
7
|
+
version = "2.4.0"
|
|
8
|
+
description = "Python Client for CommitDB SQL Server"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = {text = "Apache-2.0"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Tests for CommitDB Python
|
|
2
|
+
Tests for CommitDB Python Client.
|
|
3
3
|
|
|
4
4
|
To run with a live server:
|
|
5
5
|
1. Start the server: go run ./cmd/server
|
|
6
|
-
2. Run tests: pytest
|
|
6
|
+
2. Run tests: pytest clients/python/tests/
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
9
|
import pytest
|
|
@@ -133,7 +133,7 @@ class TestCommitDBIntegration:
|
|
|
133
133
|
|
|
134
134
|
# Auth integration tests require a server running with --jwt-secret
|
|
135
135
|
# Run with: go run ./cmd/server --jwt-secret "test-secret" &
|
|
136
|
-
# Set env: COMMITDB_JWT_SECRET=test-secret pytest
|
|
136
|
+
# Set env: COMMITDB_JWT_SECRET=test-secret pytest clients/python/tests/ -v -k auth
|
|
137
137
|
|
|
138
138
|
SKIP_AUTH_INTEGRATION = os.environ.get('COMMITDB_JWT_SECRET') is None
|
|
139
139
|
|
|
@@ -220,14 +220,14 @@ class TestCommitDBAuthIntegration:
|
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
# Embedded mode tests (require libcommitdb shared library)
|
|
223
|
-
# Run with: make lib && pytest
|
|
223
|
+
# Run with: make lib && pytest clients/python/tests/ -v
|
|
224
224
|
|
|
225
225
|
import os
|
|
226
226
|
from pathlib import Path
|
|
227
227
|
|
|
228
228
|
# Try to find the shared library
|
|
229
229
|
def _find_lib():
|
|
230
|
-
# Path:
|
|
230
|
+
# Path: clients/python/tests/test_client.py -> repo root is 4 levels up
|
|
231
231
|
repo_root = Path(__file__).parent.parent.parent.parent
|
|
232
232
|
lib_paths = [
|
|
233
233
|
repo_root / 'lib' / 'libcommitdb.dylib',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|