wherobots-python-dbapi 0.15.0__tar.gz → 0.16.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.
@@ -0,0 +1,158 @@
1
+ .vscode
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ *.py[cod]
6
+ *$py.class
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ build/
14
+ develop-eggs/
15
+ dist/
16
+ downloads/
17
+ eggs/
18
+ .eggs/
19
+ lib/
20
+ lib64/
21
+ parts/
22
+ sdist/
23
+ var/
24
+ wheels/
25
+ share/python-wheels/
26
+ *.egg-info/
27
+ .installed.cfg
28
+ *.egg
29
+ MANIFEST
30
+
31
+ # PyInstaller
32
+ # Usually these files are written by a python script from a template
33
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
34
+ *.manifest
35
+ *.spec
36
+
37
+ # Installer logs
38
+ pip-log.txt
39
+ pip-delete-this-directory.txt
40
+
41
+ # Unit test / coverage reports
42
+ htmlcov/
43
+ .tox/
44
+ .nox/
45
+ .coverage
46
+ .coverage.*
47
+ .cache
48
+ nosetests.xml
49
+ coverage.xml
50
+ *.cover
51
+ *.py,cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+ cover/
55
+
56
+ # Translations
57
+ *.mo
58
+ *.pot
59
+
60
+ # Django stuff:
61
+ *.log
62
+ local_settings.py
63
+ db.sqlite3
64
+ db.sqlite3-journal
65
+
66
+ # Flask stuff:
67
+ instance/
68
+ .webassets-cache
69
+
70
+ # Scrapy stuff:
71
+ .scrapy
72
+
73
+ # Sphinx documentation
74
+ docs/_build/
75
+
76
+ # PyBuilder
77
+ .pybuilder/
78
+ target/
79
+
80
+ # Jupyter Notebook
81
+ .ipynb_checkpoints
82
+
83
+ # IPython
84
+ profile_default/
85
+ ipython_config.py
86
+
87
+ # pyenv
88
+ # For a library or package, you might want to ignore these files since the code is
89
+ # intended to run in multiple environments; otherwise, check them in:
90
+ # .python-version
91
+
92
+ # pipenv
93
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
+ # install all needed dependencies.
97
+ #Pipfile.lock
98
+
99
+ # pdm
100
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
101
+ #pdm.lock
102
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
103
+ # in version control.
104
+ # https://pdm.fming.dev/#use-with-ide
105
+ .pdm.toml
106
+
107
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
108
+ __pypackages__/
109
+
110
+ # Celery stuff
111
+ celerybeat-schedule
112
+ celerybeat.pid
113
+
114
+ # SageMath parsed files
115
+ *.sage.py
116
+
117
+ # Environments
118
+ .env
119
+ .venv
120
+ env/
121
+ venv/
122
+ ENV/
123
+ env.bak/
124
+ venv.bak/
125
+
126
+ # Spyder project settings
127
+ .spyderproject
128
+ .spyproject
129
+
130
+ # Rope project settings
131
+ .ropeproject
132
+
133
+ # mkdocs documentation
134
+ /site
135
+
136
+ # mypy
137
+ .mypy_cache/
138
+ .dmypy.json
139
+ dmypy.json
140
+
141
+ # Pyre type checker
142
+ .pyre/
143
+
144
+ # pytype static type analyzer
145
+ .pytype/
146
+
147
+ # Cython debug symbols
148
+ cython_debug/
149
+
150
+ # PyCharm
151
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
152
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
153
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
154
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
155
+ .idea/
156
+
157
+ # Vim
158
+ *.swp
@@ -1,29 +1,23 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: wherobots-python-dbapi
3
- Version: 0.15.0
3
+ Version: 0.16.0
4
4
  Summary: Python DB-API driver for Wherobots DB
5
- License: Apache 2.0
6
- Author: Maxime Petazzoni
7
- Author-email: max@wherobots.com
8
- Requires-Python: >=3.8,<4.0
9
- Classifier: License :: Other/Proprietary License
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.8
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Programming Language :: Python :: 3.13
17
- Provides-Extra: test
18
- Requires-Dist: StrEnum (>=0.4.15,<0.5.0)
19
- Requires-Dist: cbor2 (>=5.6.3)
5
+ Project-URL: Homepage, https://github.com/wherobots/wherobots-python-dbapi-driver
6
+ Project-URL: Tracker, https://github.com/wherobots/wherobots-python-dbapi-driver/issues
7
+ Author-email: Maxime Petazzoni <max@wherobots.com>
8
+ License-Expression: Apache-2.0
9
+ License-File: LICENSE
10
+ Requires-Python: ~=3.8
11
+ Requires-Dist: cbor2>=5.6.3
20
12
  Requires-Dist: packaging
21
13
  Requires-Dist: pandas
22
- Requires-Dist: pyarrow (>=14.0.2)
23
- Requires-Dist: pytest (>=8.0.2) ; extra == "test"
24
- Requires-Dist: requests (>=2.31.0)
25
- Requires-Dist: tenacity (>=8.2.3)
26
- Requires-Dist: websockets (>=13.0)
14
+ Requires-Dist: pyarrow>=14.0.2
15
+ Requires-Dist: requests>=2.31.0
16
+ Requires-Dist: strenum<0.5,>=0.4.15
17
+ Requires-Dist: tenacity>=8.2.3
18
+ Requires-Dist: websockets>=13.0
19
+ Provides-Extra: test
20
+ Requires-Dist: pytest>=8.0.2; extra == 'test'
27
21
  Description-Content-Type: text/markdown
28
22
 
29
23
  # wherobots-python-dbapi
@@ -34,10 +28,14 @@ runtime and execute Spatial SQL queries.
34
28
 
35
29
  ## Installation
36
30
 
37
- If you use [Poetry](https://python-poetry.org) in your project, add the
38
- dependency with `poetry add`:
31
+ To add this library as a dependency in your Python project, use `uv add`
32
+ or `poetry add` as appropriate:
39
33
 
40
34
  ```
35
+ # For uv-managed projects
36
+ $ uv add wherobots-python-dbapi
37
+
38
+ # For poetry-managed projects
41
39
  $ poetry add wherobots-python-dbapi
42
40
  ```
43
41
 
@@ -127,4 +125,3 @@ users may find useful:
127
125
  Consider multi-session for potential cost savings, but be mindful of
128
126
  performance impacts from shared resources. You might need to adjust
129
127
  cluster size if slowdowns occur, which could affect overall cost.
130
-
@@ -6,10 +6,14 @@ runtime and execute Spatial SQL queries.
6
6
 
7
7
  ## Installation
8
8
 
9
- If you use [Poetry](https://python-poetry.org) in your project, add the
10
- dependency with `poetry add`:
9
+ To add this library as a dependency in your Python project, use `uv add`
10
+ or `poetry add` as appropriate:
11
11
 
12
12
  ```
13
+ # For uv-managed projects
14
+ $ uv add wherobots-python-dbapi
15
+
16
+ # For poetry-managed projects
13
17
  $ poetry add wherobots-python-dbapi
14
18
  ```
15
19
 
@@ -0,0 +1,51 @@
1
+ [project]
2
+ name = "wherobots-python-dbapi"
3
+ version = "0.16.0"
4
+ description = "Python DB-API driver for Wherobots DB"
5
+ authors = [{ name = "Maxime Petazzoni", email = "max@wherobots.com" }]
6
+ requires-python = "~=3.8"
7
+ readme = "README.md"
8
+ license = "Apache-2.0"
9
+ dependencies = [
10
+ "packaging",
11
+ "requests>=2.31.0",
12
+ "websockets>=13.0",
13
+ "tenacity>=8.2.3",
14
+ "cbor2>=5.6.3",
15
+ "StrEnum>=0.4.15,<0.5",
16
+ "pyarrow>=14.0.2",
17
+ "pandas",
18
+ ]
19
+
20
+ [project.optional-dependencies]
21
+ test = ["pytest>=8.0.2"]
22
+
23
+ [project.urls]
24
+ Homepage = "https://github.com/wherobots/wherobots-python-dbapi-driver"
25
+ Tracker = "https://github.com/wherobots/wherobots-python-dbapi-driver/issues"
26
+
27
+ [dependency-groups]
28
+ dev = [
29
+ "pre-commit",
30
+ "pytest>=8.0.2",
31
+ "pyarrow>=14.0.2",
32
+ "pandas",
33
+ "rich>=13.7.1",
34
+ ]
35
+
36
+ [tool.hatch.build.targets.sdist]
37
+ include = ["wherobots"]
38
+
39
+ [tool.hatch.build.targets.wheel]
40
+ include = ["wherobots"]
41
+
42
+ [build-system]
43
+ requires = ["hatchling"]
44
+ build-backend = "hatchling.build"
45
+
46
+ [tool.pylint.format]
47
+ max-line-length = "88"
48
+
49
+ [tool.mypy]
50
+ strict = true
51
+ show_error_codes = true
@@ -12,7 +12,7 @@ STAGING_ENDPOINT: str = "api.staging.wherobots.com" # "api.staging.wherobots.co
12
12
 
13
13
  DEFAULT_RUNTIME: Runtime = Runtime.TINY
14
14
  DEFAULT_REGION: Region = Region.AWS_US_WEST_2
15
- DEFAULT_SESSION_TYPE: SessionType = SessionType.SINGLE
15
+ DEFAULT_SESSION_TYPE: SessionType = SessionType.MULTI
16
16
  DEFAULT_READ_TIMEOUT_SECONDS: float = 0.25
17
17
  DEFAULT_SESSION_WAIT_TIMEOUT_SECONDS: float = 900
18
18
 
@@ -1,48 +0,0 @@
1
- [project]
2
- name = "wherobots-python-dbapi"
3
-
4
- [tool.poetry]
5
- name = "wherobots-python-dbapi"
6
- version = "0.15.0"
7
- description = "Python DB-API driver for Wherobots DB"
8
- authors = ["Maxime Petazzoni <max@wherobots.com>"]
9
- license = "Apache 2.0"
10
- readme = "README.md"
11
- packages = [{ include = "wherobots" }]
12
-
13
- [project.urls]
14
- Homepage = "https://github.com/wherobots/wherobots-python-dbapi-driver"
15
- Tracker = "https://github.com/wherobots/wherobots-python-dbapi-driver/issues"
16
-
17
- [tool.poetry.dependencies]
18
- python = "^3.8"
19
- packaging = "*"
20
- requests = ">=2.31.0"
21
- websockets = ">=13.0"
22
- tenacity = ">=8.2.3"
23
- cbor2 = ">=5.6.3"
24
- StrEnum = "^0.4.15"
25
- pyarrow = { version = ">=14.0.2" }
26
- pandas = { version = "*" }
27
- pytest = { version = ">=8.0.2", optional = true }
28
-
29
- [tool.poetry.extras]
30
- test = [ "pytest" ]
31
-
32
- [tool.poetry.group.dev.dependencies]
33
- pre-commit = "*"
34
- pytest = ">=8.0.2"
35
- pyarrow = ">=14.0.2"
36
- pandas = "*"
37
- rich = ">=13.7.1"
38
-
39
- [build-system]
40
- requires = ["poetry-core>=1.9.1"]
41
- build-backend = "poetry.core.masonry.api"
42
-
43
- [tool.pylint.format]
44
- max-line-length = "88"
45
-
46
- [tool.mypy]
47
- strict = true
48
- show_error_codes = true