File tree 7 files changed +30
-23
lines changed
7 files changed +30
-23
lines changed Original file line number Diff line number Diff line change 23
23
# -- Project information -----------------------------------------------------
24
24
25
25
project = "TileDB-Py"
26
- copyright = "2024 , TileDB, Inc."
26
+ copyright = "2025 , TileDB, Inc."
27
27
author = "TileDB, Inc."
28
28
29
29
# The full version, including alpha/beta/rc tags
41
41
# Add any Sphinx extension module names here, as strings. They can be
42
42
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
43
43
# ones.
44
- extensions = ["sphinx.ext.autodoc" , "sphinx.ext.doctest" , "sphinx.ext.intersphinx" ]
44
+ extensions = [
45
+ "sphinx.ext.autodoc" ,
46
+ "sphinx.ext.doctest" ,
47
+ "sphinx.ext.intersphinx" ,
48
+ "sphinx.ext.napoleon" ,
49
+ "sphinx.ext.autosummary" ,
50
+ "nbsphinx" ,
51
+ "sphinxcontrib.jquery" ,
52
+ ]
53
+
54
+ autosummary_generate = True
45
55
46
56
# Mapping for linking between RTD subprojects.
47
57
if readthedocs :
55
65
% rtd_version ,
56
66
None ,
57
67
),
58
- "python" : ("https://docs.python.org/" , None ),
68
+ "python" : (
69
+ "https://docs.python.org/3" ,
70
+ None ,
71
+ ),
59
72
}
60
73
74
+ napoleon_custom_sections = ["Lifecycle" ]
75
+
61
76
# Add any paths that contain templates here, relative to this directory.
62
77
templates_path = ["_templates" ]
63
78
Original file line number Diff line number Diff line change 6
6
# https://github.com/robotpy/robotpy-docs, licensed under Apache v2.
7
7
#
8
8
9
- import os
10
-
11
9
12
10
def write_if_changed (fname , contents ):
13
11
14
12
try :
15
13
with open (fname , "r" ) as fp :
16
14
old_contents = fp .read ()
17
- except :
15
+ except Exception :
18
16
old_contents = ""
19
17
20
18
if old_contents != contents :
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ There is also a submodule ``libtiledb`` which contains the necessary bindings to
15
15
.. code-block :: python
16
16
17
17
import tiledb
18
+ tiledb.version() # TileDB-Py package version number
18
19
tiledb.libtiledb.version() # Native TileDB library version number
19
20
20
21
Getting Started
@@ -176,17 +177,14 @@ Group
176
177
.. automethod :: __contains__(member)
177
178
.. automethod :: __len__
178
179
179
- .. autoclass :: tiledb.Group.GroupMetadata
180
+ .. autoclass :: tiledb.Metadata
180
181
:members:
181
182
182
183
.. automethod :: __setitem__(key, value)
183
184
.. automethod :: __getitem__(key)
184
185
.. automethod :: __delitem__(key)
185
186
.. automethod :: __contains__(key)
186
187
.. automethod :: __len__
187
- .. automethod :: __keys__
188
- .. automethod :: __values__
189
- .. automethod :: __items__
190
188
191
189
Object
192
190
------
@@ -246,11 +244,6 @@ Filestore
246
244
247
245
.. automethod :: __len__
248
246
249
- Version
250
- -------
251
-
252
- .. autofunction :: tiledb.libtiledb.version
253
-
254
247
Statistics
255
248
----------
256
249
Original file line number Diff line number Diff line change @@ -44,9 +44,10 @@ dynamic = ["version"]
44
44
45
45
[project .optional-dependencies ]
46
46
doc = [
47
- " jinja2==3.0.0" ,
48
- " sphinx-rtd-theme==2.0.0" ,
49
- " Sphinx" ,
47
+ " jinja2==3.1.5" ,
48
+ " sphinx-rtd-theme==3.0.2" ,
49
+ " Sphinx==8.1.3" ,
50
+ " nbsphinx==0.9.6" ,
50
51
" breathe" ,
51
52
]
52
53
test = [
Original file line number Diff line number Diff line change 88
88
walk ,
89
89
)
90
90
from .libtiledb import TileDBError
91
+ from .metadata import Metadata
91
92
from .multirange_indexing import EmptyRange
92
93
from .object import Object
93
94
from .parquet_ import from_parquet
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def query(
138
138
Consuming this iterable returns a result set for each TileDB incomplete query.
139
139
See usage example in 'examples/incomplete_iteration.py'.
140
140
To retrieve the estimated result sizes for the query ranges, use:
141
- `A.query(..., return_incomplete=True)[...].est_result_size()`
141
+ `A.query(..., return_incomplete=True)[...].est_result_size()`
142
142
If False (default False), queries will be internally run to completion by resizing buffers and
143
143
resubmitting until query is complete.
144
144
:return: A proxy Query object that can be used for indexing into the DenseArray
@@ -164,6 +164,7 @@ def query(
164
164
... {"a1": np.zeros(5)})
165
165
166
166
"""
167
+
167
168
if not self .isopen :
168
169
raise tiledb .TileDBError ("Array is not opened" )
169
170
Original file line number Diff line number Diff line change @@ -265,10 +265,8 @@ class DeltaFilter(CompressionFilter):
265
265
Filter that compresses using run-length encoding (RLE).
266
266
267
267
:param level: -1 (default) sets the compressor level to the default level as specified in TileDB core. Otherwise, sets the compressor level to the given value.
268
- :type level: int
269
- :param reinterp_dtype: (optional) sets the compressor to compress the data treating
270
- as the new datatype.
271
- :type reinterp_dtype: numpy, lt.DataType
268
+ :param reinterp_dtype: (optional) sets the compressor to compress the data treating as the new datatype.
269
+
272
270
**Example:**
273
271
274
272
>>> import tiledb, numpy as np, tempfile
You can’t perform that action at this time.
0 commit comments