thoth-dbmanager 0.4.3__tar.gz → 0.4.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.
- {thoth_dbmanager-0.4.3/thoth_dbmanager.egg-info → thoth_dbmanager-0.4.5}/PKG-INFO +1 -2
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/pyproject.toml +1 -2
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/ThothDbManager.py +1 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/postgresql.py +4 -1
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/sqlite.py +4 -1
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5/thoth_dbmanager.egg-info}/PKG-INFO +1 -2
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/LICENSE +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/MANIFEST.in +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/README.md +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/setup.cfg +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_integration_new_architecture.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_lsh_query.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_new_architecture.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_parameter_validation.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_db_manager_base.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_informix_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_mariadb_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_mysql_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_oracle_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_pg_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_sqlite_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_sqlserver_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/tests/test_thoth_supabase_manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/__init__.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/__init__.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/mariadb.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/mysql.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/oracle.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/postgresql.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/sqlite.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/sqlserver.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/adapters/supabase.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/core/__init__.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/core/factory.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/core/interfaces.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/core/registry.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/documents.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/dynamic_imports.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/__init__.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/multi_db_generator.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/preprocess_values.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/schema.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/search.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/lsh/__init__.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/lsh/core.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/lsh/factory.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/lsh/manager.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/lsh/storage.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/__init__.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/mariadb.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/mysql.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/oracle.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/sqlserver.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/plugins/supabase.py +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager.egg-info/SOURCES.txt +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager.egg-info/dependency_links.txt +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager.egg-info/requires.txt +0 -0
- {thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager.egg-info/top_level.txt +0 -0
@@ -1,9 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: thoth_dbmanager
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.5
|
4
4
|
Summary: A Python library for managing SQL databases with support for multiple database types, LSH-based similarity search, and a modern plugin architecture.
|
5
5
|
Author-email: Marco Pancotti <mp@tylconsulting.it>
|
6
|
-
License: MIT
|
7
6
|
Project-URL: Homepage, https://github.com/mptyl/thoth_dbmanager
|
8
7
|
Project-URL: Bug Tracker, https://github.com/mptyl/thoth_dbmanager/issues
|
9
8
|
Project-URL: Documentation, https://github.com/mptyl/thoth_dbmanager#readme
|
@@ -4,13 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "thoth_dbmanager"
|
7
|
-
version = "0.4.
|
7
|
+
version = "0.4.5"
|
8
8
|
authors = [
|
9
9
|
{ name="Marco Pancotti", email="mp@tylconsulting.it" },
|
10
10
|
]
|
11
11
|
description = "A Python library for managing SQL databases with support for multiple database types, LSH-based similarity search, and a modern plugin architecture."
|
12
12
|
readme = "README.md"
|
13
|
-
license = {text = "MIT"}
|
14
13
|
keywords = ["database", "sql", "lsh", "similarity-search", "orm"]
|
15
14
|
requires-python = ">=3.8"
|
16
15
|
classifiers = [
|
@@ -346,6 +346,7 @@ class ThothDbManagerAdapter(ThothDbManager):
|
|
346
346
|
self.db_type = plugin.supported_db_types[0] if plugin.supported_db_types else "unknown"
|
347
347
|
self.db_id = getattr(plugin, 'db_id', None)
|
348
348
|
self.db_directory_path = getattr(plugin, 'db_directory_path', None)
|
349
|
+
self.schema = getattr(plugin, 'schema', "")
|
349
350
|
|
350
351
|
# Engine and connection (delegated to adapter)
|
351
352
|
self.engine = getattr(plugin.adapter, 'engine', None) if plugin.adapter else None
|
@@ -27,7 +27,10 @@ class PostgreSQLPlugin(DbPlugin):
|
|
27
27
|
super().__init__(db_root_path, db_mode, **kwargs)
|
28
28
|
self.db_id = None
|
29
29
|
self.db_directory_path = None
|
30
|
-
|
30
|
+
|
31
|
+
# PostgreSQL default schema is 'public', but can be overridden
|
32
|
+
self.schema = kwargs.get('schema', 'public')
|
33
|
+
|
31
34
|
# LSH manager integration (for backward compatibility)
|
32
35
|
self._lsh_manager = None
|
33
36
|
|
@@ -28,7 +28,10 @@ class SQLitePlugin(DbPlugin):
|
|
28
28
|
self.db_id = None
|
29
29
|
self.db_directory_path = None
|
30
30
|
self.database_path = None
|
31
|
-
|
31
|
+
|
32
|
+
# SQLite doesn't have named schemas like PostgreSQL, so we use empty string
|
33
|
+
self.schema = ""
|
34
|
+
|
32
35
|
# LSH manager integration (for backward compatibility)
|
33
36
|
self._lsh_manager = None
|
34
37
|
|
@@ -1,9 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: thoth_dbmanager
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.5
|
4
4
|
Summary: A Python library for managing SQL databases with support for multiple database types, LSH-based similarity search, and a modern plugin architecture.
|
5
5
|
Author-email: Marco Pancotti <mp@tylconsulting.it>
|
6
|
-
License: MIT
|
7
6
|
Project-URL: Homepage, https://github.com/mptyl/thoth_dbmanager
|
8
7
|
Project-URL: Bug Tracker, https://github.com/mptyl/thoth_dbmanager/issues
|
9
8
|
Project-URL: Documentation, https://github.com/mptyl/thoth_dbmanager#readme
|
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/multi_db_generator.py
RENAMED
File without changes
|
{thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager/helpers/preprocess_values.py
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{thoth_dbmanager-0.4.3 → thoth_dbmanager-0.4.5}/thoth_dbmanager.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|