Skip to content

Commit 58bf3f8

Browse files
Merge branch 'release-v5.4.0'
2 parents f32382f + 7c193b6 commit 58bf3f8

9 files changed

Lines changed: 1064 additions & 261 deletions

File tree

btrdb/grpcinterface/btrdb_pb2.py

Lines changed: 254 additions & 254 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

btrdb/stream.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,15 @@ def __str__(self):
11031103
)
11041104

11051105
def __getitem__(self, item):
1106+
if isinstance(item, str):
1107+
item = uuidlib.UUID(item)
1108+
1109+
if isinstance(item, uuidlib.UUID):
1110+
for stream in self._streams:
1111+
if stream.uuid == item:
1112+
return stream
1113+
raise KeyError("Stream with uuid `{}` not found.".format(str(item)))
1114+
11061115
return self._streams[item]
11071116

11081117
def __len__(self):

btrdb/version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
__version_info__ = {
1919
'major': 5,
20-
'minor': 2,
21-
'micro': 2,
20+
'minor': 4,
21+
'micro': 0,
2222
'releaselevel': 'final',
23-
'serial': 5,
23+
'serial': 6,
2424
}
2525

2626
##########################################################################

docs/source/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ API Reference
9494
api/utils-timez
9595

9696

97+
Maintainers
98+
--------------------
99+
100+
* :doc:`maintainers/anaconda`
101+
102+
103+
104+
105+
97106
Indices and tables
98107
--------------------
99108

docs/source/installing.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,15 @@ To upgrade using pip:
3131
3232
Installing with Anaconda
3333
------------------------
34-
TBD
34+
35+
If you'd like to use Anaconda, you'll need to download the library from the pingthings
36+
channel as shown below.
37+
38+
Note however that only the version 5 bindings are available in Anaconda Cloud. If you'd
39+
like to install the version 4 bindings you will need to use `pip` as shown above.
40+
41+
.. code-block:: bash
42+
43+
$ conda install -c pingthings btrdb
44+
45+

0 commit comments

Comments
 (0)