diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e45270 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# Global directories +__pycache__/ + +# Global files +*.py[cod] +*.dll +*.so +*.log +*.swp + +# Root directories +/.benchmarks/ +/.cache/ +/.env/ +/.idea/ +/.mypy_cache/ +/.pytest_cache/ +/.ruff_cache/ +/.vscode/ +/backend/dist/ +/dist/ +/site/ +/venv/ + +# Root files +/.coverage* + diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..98657d0 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..90d48f8 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/voltdb-client-python.iml b/.idea/voltdb-client-python.iml new file mode 100644 index 0000000..7eb1baf --- /dev/null +++ b/.idea/voltdb-client-python.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/README b/README.md similarity index 100% rename from README rename to README.md diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/build/Jenkinsfile b/build/Jenkinsfile new file mode 100644 index 0000000..f328d97 --- /dev/null +++ b/build/Jenkinsfile @@ -0,0 +1,22 @@ +pipeline { + agent { + label 'gcloud-build--rocky-linux-8--x64' + } + stages { + stage('Build') { + steps { + sh 'python3 --version;python3 -m pip install --upgrade pip; python3 -m pip install twine build; python3 -m build --verbose' + } + } + stage('Test') { + steps { + sh 'echo None' + } + } + stage('Deploy') { + steps { + sh 'echo Nothing' + } + } + } +} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5d14e08 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,20 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "voltdbclient" +version = "1.0.0" +authors = [ + { name="Volt Active Data", email="support@voltactivedata.com" }, +] +description = "VoltDB python client" +readme = "README.md" +requires-python = ">=3.9" +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] + +[tool.hatch.publish.index] +disable = true