altcodepro-polydb-python 2.2.7__tar.gz → 2.2.9__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.
- {altcodepro_polydb_python-2.2.7/src/altcodepro_polydb_python.egg-info → altcodepro_polydb_python-2.2.9}/PKG-INFO +1 -1
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/pyproject.toml +1 -1
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9/src/altcodepro_polydb_python.egg-info}/PKG-INFO +1 -1
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/cloudDatabaseFactory.py +13 -2
- altcodepro_polydb_python-2.2.9/src/polydb/databaseFactory.py +955 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/monitoring.py +72 -87
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/registry.py +11 -0
- altcodepro_polydb_python-2.2.7/src/polydb/databaseFactory.py +0 -1299
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/LICENSE +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/MANIFEST.in +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/README.md +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/example_usage.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/requirements-aws.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/requirements-azure.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/requirements-dev.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/requirements-gcp.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/requirements-generic.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/requirements.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/setup.cfg +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/setup.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/altcodepro_polydb_python.egg-info/SOURCES.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/altcodepro_polydb_python.egg-info/dependency_links.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/altcodepro_polydb_python.egg-info/requires.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/altcodepro_polydb_python.egg-info/top_level.txt +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/PolyDB.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/AzureBlobStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/AzureFileStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/AzureQueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/AzureTableStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/BlockchainBlobAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/BlockchainKVAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/BlockchainQueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/DynamoDBAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/EFSAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/FirestoreAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/GCPPubSubAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/GCPStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/MongoDBAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/PostgreSQLAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/S3Adapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/S3CompatibleAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/SQSAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/VercelBlobAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/VercelKVAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/VercelQueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/adapters/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/advanced_query.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/audit/AuditStorage.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/audit/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/audit/context.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/audit/manager.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/audit/models.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/base/NoSQLKVAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/base/ObjectStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/base/QueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/base/SharedFilesAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/base/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/batch.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/cache.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/decorators.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/errors.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/json_safe.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/models.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/multitenancy.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/py.typed +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/query.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/retry.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/schema.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/security.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/types.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/utils.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/validation.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_aws.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_azure.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_blockchain.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_cloud_factory.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_gcp.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_mongodb.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_multi_engine.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_postgresql.py +0 -0
- {altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/tests/test_vercel.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: altcodepro-polydb-python
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.9
|
|
4
4
|
Summary: Production-ready multi-cloud database abstraction layer with connection pooling, retry logic, and thread safety
|
|
5
5
|
Author: AltCodePro
|
|
6
6
|
Project-URL: Homepage, https://github.com/altcodepro/polydb-python
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "altcodepro-polydb-python"
|
|
7
|
-
version = "2.2.
|
|
7
|
+
version = "2.2.9"
|
|
8
8
|
description = "Production-ready multi-cloud database abstraction layer with connection pooling, retry logic, and thread safety"
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: altcodepro-polydb-python
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.9
|
|
4
4
|
Summary: Production-ready multi-cloud database abstraction layer with connection pooling, retry logic, and thread safety
|
|
5
5
|
Author: AltCodePro
|
|
6
6
|
Project-URL: Homepage, https://github.com/altcodepro/polydb-python
|
{altcodepro_polydb_python-2.2.7 → altcodepro_polydb_python-2.2.9}/src/polydb/cloudDatabaseFactory.py
RENAMED
|
@@ -4,7 +4,8 @@ import os
|
|
|
4
4
|
import threading
|
|
5
5
|
from typing import Dict, List, Optional
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
from .adapters.AzureFileStorageAdapter import AzureFileStorageAdapter
|
|
8
|
+
from .adapters.EFSAdapter import EFSAdapter
|
|
8
9
|
from .adapters.PostgreSQLAdapter import PostgreSQLAdapter
|
|
9
10
|
from .adapters.AzureBlobStorageAdapter import AzureBlobStorageAdapter
|
|
10
11
|
from .adapters.BlockchainBlobAdapter import BlockchainBlobAdapter
|
|
@@ -441,7 +442,17 @@ class CloudDatabaseFactory:
|
|
|
441
442
|
self.instances["queue"] = instance
|
|
442
443
|
return instance
|
|
443
444
|
|
|
444
|
-
def get_files(
|
|
445
|
+
def get_files(
|
|
446
|
+
self, name: str = "files"
|
|
447
|
+
) -> (
|
|
448
|
+
AzureFileStorageAdapter
|
|
449
|
+
| EFSAdapter
|
|
450
|
+
| GCPStorageAdapter
|
|
451
|
+
| AzureBlobStorageAdapter
|
|
452
|
+
| S3CompatibleAdapter
|
|
453
|
+
| VercelBlobAdapter
|
|
454
|
+
| BlockchainBlobAdapter
|
|
455
|
+
):
|
|
445
456
|
with self._lock:
|
|
446
457
|
if name in self.instances:
|
|
447
458
|
return self.instances[name]
|