sharedkernel 1.7.3__tar.gz → 1.8.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.
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/PKG-INFO +3 -1
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/README.md +2 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/setup.py +1 -1
- sharedkernel-1.8.0/sharedkernel/normalizer/__init__.py +2 -0
- sharedkernel-1.8.0/sharedkernel/normalizer/number_normalizer.py +8 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/s3_uploader.py +0 -1
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel.egg-info/PKG-INFO +3 -1
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel.egg-info/SOURCES.txt +1 -0
- sharedkernel-1.7.3/sharedkernel/normalizer/__init__.py +0 -1
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/setup.cfg +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/common.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/database/__init__.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/database/mongo_generic_repository.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/database/vector_database_repository/__init__.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/database/vector_database_repository/chroma_startegy.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/database/vector_database_repository/vector_database_repository.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/database/vector_database_repository/vector_database_strategy.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/date_converter.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/enum/__init__.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/enum/error_code.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/enum/vector_database_type.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/exception/__init__.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/exception/exception.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/exception/exception_handlers.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/jwt_service.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/normalizer/phone_number_normalizer.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/objects/__init__.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/objects/base_document.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/objects/jwt_model.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/objects/result.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/regex_masking.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/string_extentions.py +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel.egg-info/dependency_links.txt +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel.egg-info/requires.txt +0 -0
- {sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sharedkernel
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: sharekernel is a shared package between all python projects
|
|
5
5
|
Author: Smilinno
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -20,6 +20,8 @@ Requires-Dist: boto3
|
|
|
20
20
|
this a shared kernel package
|
|
21
21
|
|
|
22
22
|
# Change Log
|
|
23
|
+
### Version 1.8.0
|
|
24
|
+
- Implement persian number normalizer
|
|
23
25
|
### Version 1.7.3
|
|
24
26
|
- Add optional folder name for s3 uploader to save the file in
|
|
25
27
|
### Version 1.7.2
|
|
@@ -35,7 +35,7 @@ setup(
|
|
|
35
35
|
"boto3"
|
|
36
36
|
],
|
|
37
37
|
# *strongly* suggested for sharing
|
|
38
|
-
version="1.
|
|
38
|
+
version="1.8.0",
|
|
39
39
|
description="sharekernel is a shared package between all python projects",
|
|
40
40
|
long_description=long_description,
|
|
41
41
|
long_description_content_type="text/markdown",
|
|
@@ -51,7 +51,6 @@ class S3Uploader:
|
|
|
51
51
|
|
|
52
52
|
# Upload the file object
|
|
53
53
|
self.s3.upload_fileobj(file_obj, self.bucket, object_name, ExtraArgs={'ACL':'public-read'})
|
|
54
|
-
print(f"File object uploaded to {self.bucket} as {object_name}.")
|
|
55
54
|
|
|
56
55
|
# Construct the URL of the uploaded file
|
|
57
56
|
file_url = f"{self.endpoint_url}/{self.bucket}/{object_name}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sharedkernel
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: sharekernel is a shared package between all python projects
|
|
5
5
|
Author: Smilinno
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -20,6 +20,8 @@ Requires-Dist: boto3
|
|
|
20
20
|
this a shared kernel package
|
|
21
21
|
|
|
22
22
|
# Change Log
|
|
23
|
+
### Version 1.8.0
|
|
24
|
+
- Implement persian number normalizer
|
|
23
25
|
### Version 1.7.3
|
|
24
26
|
- Add optional folder name for s3 uploader to save the file in
|
|
25
27
|
### Version 1.7.2
|
|
@@ -24,6 +24,7 @@ sharedkernel/exception/__init__.py
|
|
|
24
24
|
sharedkernel/exception/exception.py
|
|
25
25
|
sharedkernel/exception/exception_handlers.py
|
|
26
26
|
sharedkernel/normalizer/__init__.py
|
|
27
|
+
sharedkernel/normalizer/number_normalizer.py
|
|
27
28
|
sharedkernel/normalizer/phone_number_normalizer.py
|
|
28
29
|
sharedkernel/objects/__init__.py
|
|
29
30
|
sharedkernel/objects/base_document.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from .phone_number_normalizer import PhoneNumberNormalizer
|
|
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
|
{sharedkernel-1.7.3 → sharedkernel-1.8.0}/sharedkernel/normalizer/phone_number_normalizer.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
|