diff --git a/purecpp-oracledb/.gitignore b/purecpp-oracledb/.gitignore new file mode 100644 index 0000000..9451bd7 --- /dev/null +++ b/purecpp-oracledb/.gitignore @@ -0,0 +1,4 @@ +*.egg-info +.venv/ +dist/ +__pycache__/ \ No newline at end of file diff --git a/purecpp-oracledb/LICENSE b/purecpp-oracledb/LICENSE new file mode 100644 index 0000000..635d1a3 --- /dev/null +++ b/purecpp-oracledb/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 The PURECPLUSPLUS DOCCLING Authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/purecpp-oracledb/MANIFEST.in b/purecpp-oracledb/MANIFEST.in new file mode 100644 index 0000000..04f196a --- /dev/null +++ b/purecpp-oracledb/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE diff --git a/purecpp-oracledb/purecpp_oracledb.egg-info/PKG-INFO b/purecpp-oracledb/purecpp_oracledb.egg-info/PKG-INFO index 06c8678..a6bfcb7 100644 --- a/purecpp-oracledb/purecpp_oracledb.egg-info/PKG-INFO +++ b/purecpp-oracledb/purecpp_oracledb.egg-info/PKG-INFO @@ -1,5 +1,12 @@ Metadata-Version: 2.4 Name: purecpp-oracledb -Version: 0.1.0 +Version: 0.1.1 +Summary: PureCPP OracleDB integration +Author-email: pureai +Maintainer-email: pureai +License-Expression: MIT Requires-Python: >=3.9 +Description-Content-Type: text/markdown +License-File: LICENSE Requires-Dist: oracledb>=2.1 +Dynamic: license-file diff --git a/purecpp-oracledb/purecpp_oracledb.egg-info/SOURCES.txt b/purecpp-oracledb/purecpp_oracledb.egg-info/SOURCES.txt index 2460170..f01e420 100644 --- a/purecpp-oracledb/purecpp_oracledb.egg-info/SOURCES.txt +++ b/purecpp-oracledb/purecpp_oracledb.egg-info/SOURCES.txt @@ -1,3 +1,5 @@ +LICENSE +MANIFEST.in pyproject.toml purecpp_oracledb/__init__.py purecpp_oracledb.egg-info/PKG-INFO @@ -13,9 +15,8 @@ purecpp_oracledb/vectordb/registry.py purecpp_oracledb/vectordb/types.py purecpp_oracledb/vectordb/backends/__init__.py purecpp_oracledb/vectordb/backends/oracle_backend.py -purecpp_oracledb/vectordb/backends/oracle_compat_backend.py purecpp_oracledb/vectordb/wrappers/__init__.py purecpp_oracledb/vectordb/wrappers/concurrent.py purecpp_oracledb/vectordb/wrappers/metrics.py -tests/test_conexao.py +tests/test_conection.py tests/test_oracle.py \ No newline at end of file diff --git a/purecpp-oracledb/purecpp_oracledb/vectordb/backends/__init__.py b/purecpp-oracledb/purecpp_oracledb/vectordb/backends/__init__.py index 6656f34..955dba6 100644 --- a/purecpp-oracledb/purecpp_oracledb/vectordb/backends/__init__.py +++ b/purecpp-oracledb/purecpp_oracledb/vectordb/backends/__init__.py @@ -1 +1 @@ -from . import oracle_backend, oracle_compat_backend +from . import oracle_backend diff --git a/purecpp-oracledb/pyproject.toml b/purecpp-oracledb/pyproject.toml index bb0b8b7..9302bb2 100644 --- a/purecpp-oracledb/pyproject.toml +++ b/purecpp-oracledb/pyproject.toml @@ -1,12 +1,24 @@ [build-system] -requires = ["setuptools>=69", "wheel"] +requires = ["setuptools>=69.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "purecpp-oracledb" -version = "0.1.0" +version = "0.1.1" +description = "PureCPP OracleDB integration" +license = "MIT" +license-files = ["LICENSE"] +readme = "README.md" +authors = [ + { name = "pureai", email = "contato@pureai.com.br" }, +] +maintainers = [ + { name = "pureai", email = "contato@pureai.com.br" }, +] requires-python = ">=3.9" -dependencies = ["oracledb>=2.1"] +dependencies = [ + "oracledb>=2.1", +] [tool.setuptools.packages.find] where = ["."] diff --git a/purecpp-websearch/.gitignore b/purecpp-websearch/.gitignore new file mode 100644 index 0000000..9451bd7 --- /dev/null +++ b/purecpp-websearch/.gitignore @@ -0,0 +1,4 @@ +*.egg-info +.venv/ +dist/ +__pycache__/ \ No newline at end of file diff --git a/purecpp-websearch/LICENSE b/purecpp-websearch/LICENSE new file mode 100644 index 0000000..635d1a3 --- /dev/null +++ b/purecpp-websearch/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 The PURECPLUSPLUS DOCCLING Authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/purecpp-websearch/MANIFEST.in b/purecpp-websearch/MANIFEST.in new file mode 100644 index 0000000..04f196a --- /dev/null +++ b/purecpp-websearch/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE diff --git a/purecpp-websearch/pyproject.toml b/purecpp-websearch/pyproject.toml new file mode 100644 index 0000000..8c1f95c --- /dev/null +++ b/purecpp-websearch/pyproject.toml @@ -0,0 +1,75 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "purecpp-websearch" +version = "1.0.0" +description = "PureCPP WebSearch integration" +license = "MIT" +license-files = ["LICENSE"] +readme = "README.md" +authors = [ + { name = "pureai", email = "contato@pureai.com.br" }, +] +maintainers = [ + { name = "pureai", email = "contato@pureai.com.br" }, +] +requires-python = ">=3.9" +dependencies = [ + "httpx>=0.27.0", + "asyncio>=3.4.3", +] + +[dependency-groups] +dev = [ + "autoflake>=2.3.1", + "black>=25.1.0", + "flake8>=7.3.0", + "isort>=6.0.1", + "mypy>=1.17.0", + "nbqa>=1.9.1", + "pytest>=8.4.1", +] + +[tool.uv] +package = true +default-groups = "all" + +[tool.setuptools.packages.find] +include = ["purecpp_websearch*"] + +[tool.black] +line-length = 88 +target-version = ["py39", "py310"] +include = '\.pyi?$' +preview = true + +[tool.isort] +profile = "black" +line_length = 88 +py_version = 39 +multi_line_output = 3 +include_trailing_comma = true + +[tool.autoflake] +in-place = true +ignore-init-module-imports = true +remove-all-unused-imports = true +remove-unused-variables = true +expand-star-imports = true +recursive = true + +[tool.mypy] +pretty = true +no_implicit_optional = true +namespace_packages = true +show_error_codes = true +python_version = "3.9" +plugins = ["pydantic.mypy"] +version_source = "tag_only" + +branch = "main" +parser_angular_allowed_types = "build,chore,ci,docs,feat,fix,perf,style,refactor,test" +parser_angular_minor_types = "feat" +parser_angular_patch_types = "fix,perf"