sharedkernel 1.1.1__tar.gz → 1.1.2__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.1.2/PKG-INFO +26 -0
- sharedkernel-1.1.2/README.md +12 -0
- sharedkernel-1.1.2/setup.py +36 -0
- sharedkernel-1.1.2/sharedkernel.egg-info/PKG-INFO +26 -0
- sharedkernel-1.1.1/PKG-INFO +0 -12
- sharedkernel-1.1.1/README.md +0 -24
- sharedkernel-1.1.1/setup.py +0 -13
- sharedkernel-1.1.1/sharedkernel.egg-info/PKG-INFO +0 -12
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/setup.cfg +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/common.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/config.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/__init__.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/mongo_generic_repository.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/vector_database_repository/__init__.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/vector_database_repository/chroma_startegy.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/vector_database_repository/milvus_strategy.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/vector_database_repository/vector_database_repository.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/database/vector_database_repository/vector_database_strategy.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/enum/__init__.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/enum/error_code.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/enum/vector_database_type.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/exception/__init__.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/exception/exception.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/exception/exception_handlers.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/jwt_service.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/objects/__init__.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/objects/base_document.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/objects/jwt_model.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/objects/result.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel/string_extentions.py +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel.egg-info/SOURCES.txt +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel.egg-info/dependency_links.txt +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel.egg-info/requires.txt +0 -0
- {sharedkernel-1.1.1 → sharedkernel-1.1.2}/sharedkernel.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sharedkernel
|
|
3
|
+
Version: 1.1.2
|
|
4
|
+
Summary: sharekernel is an shared package between all python projects
|
|
5
|
+
Author: Smilinno
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: numpy
|
|
8
|
+
Requires-Dist: requests
|
|
9
|
+
Requires-Dist: pymongo
|
|
10
|
+
Requires-Dist: fastapi==0.89.1
|
|
11
|
+
Requires-Dist: PyJWT
|
|
12
|
+
Requires-Dist: pymilvus
|
|
13
|
+
Requires-Dist: chromadb
|
|
14
|
+
|
|
15
|
+
# SharedKernel
|
|
16
|
+
this a shared kernel package
|
|
17
|
+
|
|
18
|
+
# Create Package
|
|
19
|
+
py -m pip install --upgrade build
|
|
20
|
+
py -m build
|
|
21
|
+
cd dist
|
|
22
|
+
py -m pip install --upgrade twine
|
|
23
|
+
py -m twine upload dist/*
|
|
24
|
+
|
|
25
|
+
# Pypi
|
|
26
|
+
pip install sharedkernel
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
# read the contents of your README file
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
this_directory = Path(__file__).parent
|
|
7
|
+
long_description = (this_directory / "README.md").read_text()
|
|
8
|
+
|
|
9
|
+
setup(
|
|
10
|
+
# Needed to silence warnings (and to be a worthwhile package)
|
|
11
|
+
name="sharedkernel",
|
|
12
|
+
author="Smilinno",
|
|
13
|
+
packages=[
|
|
14
|
+
"sharedkernel",
|
|
15
|
+
"sharedkernel.database",
|
|
16
|
+
"sharedkernel.database.vector_database_repository",
|
|
17
|
+
"sharedkernel.enum",
|
|
18
|
+
"sharedkernel.exception",
|
|
19
|
+
"sharedkernel.objects",
|
|
20
|
+
],
|
|
21
|
+
# Needed for dependencies
|
|
22
|
+
install_requires=[
|
|
23
|
+
"numpy",
|
|
24
|
+
"requests",
|
|
25
|
+
"pymongo",
|
|
26
|
+
"fastapi==0.89.1",
|
|
27
|
+
"PyJWT",
|
|
28
|
+
"pymilvus",
|
|
29
|
+
"chromadb",
|
|
30
|
+
],
|
|
31
|
+
# *strongly* suggested for sharing
|
|
32
|
+
version="1.1.2",
|
|
33
|
+
description="sharekernel is an shared package between all python projects",
|
|
34
|
+
long_description=long_description,
|
|
35
|
+
long_description_content_type="text/markdown",
|
|
36
|
+
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sharedkernel
|
|
3
|
+
Version: 1.1.2
|
|
4
|
+
Summary: sharekernel is an shared package between all python projects
|
|
5
|
+
Author: Smilinno
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: numpy
|
|
8
|
+
Requires-Dist: requests
|
|
9
|
+
Requires-Dist: pymongo
|
|
10
|
+
Requires-Dist: fastapi==0.89.1
|
|
11
|
+
Requires-Dist: PyJWT
|
|
12
|
+
Requires-Dist: pymilvus
|
|
13
|
+
Requires-Dist: chromadb
|
|
14
|
+
|
|
15
|
+
# SharedKernel
|
|
16
|
+
this a shared kernel package
|
|
17
|
+
|
|
18
|
+
# Create Package
|
|
19
|
+
py -m pip install --upgrade build
|
|
20
|
+
py -m build
|
|
21
|
+
cd dist
|
|
22
|
+
py -m pip install --upgrade twine
|
|
23
|
+
py -m twine upload dist/*
|
|
24
|
+
|
|
25
|
+
# Pypi
|
|
26
|
+
pip install sharedkernel
|
sharedkernel-1.1.1/PKG-INFO
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: sharedkernel
|
|
3
|
-
Version: 1.1.1
|
|
4
|
-
Summary: sharekernel is an shared package between all python projects
|
|
5
|
-
Author: Smilinno
|
|
6
|
-
Requires-Dist: numpy
|
|
7
|
-
Requires-Dist: requests
|
|
8
|
-
Requires-Dist: pymongo
|
|
9
|
-
Requires-Dist: fastapi==0.89.1
|
|
10
|
-
Requires-Dist: PyJWT
|
|
11
|
-
Requires-Dist: pymilvus
|
|
12
|
-
Requires-Dist: chromadb
|
sharedkernel-1.1.1/README.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# SharedKernel
|
|
2
|
-
this a shared kernel package
|
|
3
|
-
|
|
4
|
-
# Create Package
|
|
5
|
-
py -m pip install --upgrade build
|
|
6
|
-
py -m build
|
|
7
|
-
cd dist
|
|
8
|
-
py -m pip install --upgrade twine
|
|
9
|
-
py -m twine upload dist/*
|
|
10
|
-
|
|
11
|
-
# Pypi
|
|
12
|
-
pip install sharedkernel==1.0.0
|
|
13
|
-
# Sample Code
|
|
14
|
-
```python
|
|
15
|
-
from fastapi import FastAPI,Depends
|
|
16
|
-
|
|
17
|
-
from sharedkernel import jwt_service
|
|
18
|
-
from sharedkernel.objects import JwtModel
|
|
19
|
-
from sharedkernel import config
|
|
20
|
-
app = FastAPI(title="Sample Apis",dependencies=[Depends(jwt_service.JWTBearer(JwtModel(secret_key=config.JWT_SECRETKEY,
|
|
21
|
-
algorithms=config.JWT_ALGORITHM,
|
|
22
|
-
audience=config.JWT_AUDIENCE,
|
|
23
|
-
issuer=config.JWT_ISSURE)))])
|
|
24
|
-
```
|
sharedkernel-1.1.1/setup.py
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
from setuptools import setup
|
|
2
|
-
|
|
3
|
-
setup(
|
|
4
|
-
# Needed to silence warnings (and to be a worthwhile package)
|
|
5
|
-
name='sharedkernel',
|
|
6
|
-
author='Smilinno',
|
|
7
|
-
packages=['sharedkernel','sharedkernel.database','sharedkernel.database.vector_database_repository','sharedkernel.enum','sharedkernel.exception','sharedkernel.objects'],
|
|
8
|
-
# Needed for dependencies
|
|
9
|
-
install_requires=['numpy','requests','pymongo','fastapi==0.89.1','PyJWT','pymilvus','chromadb'],
|
|
10
|
-
# *strongly* suggested for sharing
|
|
11
|
-
version='1.1.1',
|
|
12
|
-
description='sharekernel is an shared package between all python projects',
|
|
13
|
-
)
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: sharedkernel
|
|
3
|
-
Version: 1.1.1
|
|
4
|
-
Summary: sharekernel is an shared package between all python projects
|
|
5
|
-
Author: Smilinno
|
|
6
|
-
Requires-Dist: numpy
|
|
7
|
-
Requires-Dist: requests
|
|
8
|
-
Requires-Dist: pymongo
|
|
9
|
-
Requires-Dist: fastapi==0.89.1
|
|
10
|
-
Requires-Dist: PyJWT
|
|
11
|
-
Requires-Dist: pymilvus
|
|
12
|
-
Requires-Dist: chromadb
|
|
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
|