TransferQueue 0.0.1.dev0__py3-none-any.whl

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,42 @@
1
+ # Copyright 2025 The TransferQueue Team
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ import os
16
+
17
+ from .client import (
18
+ AsyncTransferQueueClient,
19
+ TransferQueueClient,
20
+ process_zmq_server_info,
21
+ )
22
+ from .controller import TransferQueueController
23
+ from .metadata import BatchMeta
24
+ from .storage import TransferQueueStorageSimpleUnit
25
+ from .utils.utils import get_placement_group
26
+ from .utils.zmq_utils import ZMQServerInfo
27
+
28
+ __all__ = [
29
+ "AsyncTransferQueueClient",
30
+ "BatchMeta",
31
+ "TransferQueueClient",
32
+ "TransferQueueController",
33
+ "TransferQueueStorageSimpleUnit",
34
+ "ZMQServerInfo",
35
+ "process_zmq_server_info",
36
+ "get_placement_group",
37
+ ]
38
+
39
+ version_folder = os.path.dirname(os.path.join(os.path.abspath(__file__)))
40
+
41
+ with open(os.path.join(version_folder, "version/version")) as f:
42
+ __version__ = f.read().strip()