tamar-file-hub-client 0.0.1__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.
- tamar_file_hub_client-0.0.1/MANIFEST.in +28 -0
- tamar_file_hub_client-0.0.1/PKG-INFO +874 -0
- tamar_file_hub_client-0.0.1/README.md +830 -0
- tamar_file_hub_client-0.0.1/file_hub_client/__init__.py +88 -0
- tamar_file_hub_client-0.0.1/file_hub_client/client.py +414 -0
- tamar_file_hub_client-0.0.1/file_hub_client/enums/__init__.py +12 -0
- tamar_file_hub_client-0.0.1/file_hub_client/enums/export_format.py +16 -0
- tamar_file_hub_client-0.0.1/file_hub_client/enums/role.py +7 -0
- tamar_file_hub_client-0.0.1/file_hub_client/enums/upload_mode.py +11 -0
- tamar_file_hub_client-0.0.1/file_hub_client/errors/__init__.py +30 -0
- tamar_file_hub_client-0.0.1/file_hub_client/errors/exceptions.py +93 -0
- tamar_file_hub_client-0.0.1/file_hub_client/py.typed +1 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/__init__.py +10 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/async_client.py +312 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/gen/__init__.py +1 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/gen/file_service_pb2.py +74 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/gen/file_service_pb2_grpc.py +533 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/gen/folder_service_pb2.py +53 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/gen/folder_service_pb2_grpc.py +269 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/generate_grpc.py +76 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/protos/file_service.proto +147 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/protos/folder_service.proto +65 -0
- tamar_file_hub_client-0.0.1/file_hub_client/rpc/sync_client.py +313 -0
- tamar_file_hub_client-0.0.1/file_hub_client/schemas/__init__.py +43 -0
- tamar_file_hub_client-0.0.1/file_hub_client/schemas/context.py +160 -0
- tamar_file_hub_client-0.0.1/file_hub_client/schemas/file.py +89 -0
- tamar_file_hub_client-0.0.1/file_hub_client/schemas/folder.py +29 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/__init__.py +17 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/file/__init__.py +14 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/file/async_blob_service.py +482 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/file/async_file_service.py +257 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/file/base_file_service.py +103 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/file/sync_blob_service.py +478 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/file/sync_file_service.py +255 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/folder/__init__.py +10 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/folder/async_folder_service.py +206 -0
- tamar_file_hub_client-0.0.1/file_hub_client/services/folder/sync_folder_service.py +205 -0
- tamar_file_hub_client-0.0.1/file_hub_client/utils/__init__.py +48 -0
- tamar_file_hub_client-0.0.1/file_hub_client/utils/converter.py +108 -0
- tamar_file_hub_client-0.0.1/file_hub_client/utils/download_helper.py +355 -0
- tamar_file_hub_client-0.0.1/file_hub_client/utils/file_utils.py +105 -0
- tamar_file_hub_client-0.0.1/file_hub_client/utils/retry.py +69 -0
- tamar_file_hub_client-0.0.1/file_hub_client/utils/upload_helper.py +527 -0
- tamar_file_hub_client-0.0.1/setup.cfg +4 -0
- tamar_file_hub_client-0.0.1/setup.py +49 -0
- tamar_file_hub_client-0.0.1/tamar_file_hub_client.egg-info/PKG-INFO +874 -0
- tamar_file_hub_client-0.0.1/tamar_file_hub_client.egg-info/SOURCES.txt +48 -0
- tamar_file_hub_client-0.0.1/tamar_file_hub_client.egg-info/dependency_links.txt +1 -0
- tamar_file_hub_client-0.0.1/tamar_file_hub_client.egg-info/requires.txt +10 -0
- tamar_file_hub_client-0.0.1/tamar_file_hub_client.egg-info/top_level.txt +1 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# 包含README和许可证文件
|
2
|
+
include README.md
|
3
|
+
include LICENSE
|
4
|
+
|
5
|
+
# 包含proto文件
|
6
|
+
recursive-include file_hub_client/rpc/protos *.proto
|
7
|
+
|
8
|
+
# 包含类型标记文件
|
9
|
+
include file_hub_client/py.typed
|
10
|
+
|
11
|
+
# 排除测试和示例
|
12
|
+
prune tests
|
13
|
+
prune examples
|
14
|
+
prune docs
|
15
|
+
|
16
|
+
# 排除开发文件
|
17
|
+
exclude .gitignore
|
18
|
+
exclude .pre-commit-config.yaml
|
19
|
+
exclude tox.ini
|
20
|
+
exclude Makefile
|
21
|
+
exclude .coverage
|
22
|
+
exclude .pytest_cache
|
23
|
+
|
24
|
+
# 排除编译文件
|
25
|
+
global-exclude *.py[cod]
|
26
|
+
global-exclude __pycache__
|
27
|
+
global-exclude *.so
|
28
|
+
global-exclude *.dylib
|