File: __init__.py

package info (click to toggle)
python-b2sdk 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,020 kB
  • sloc: python: 30,902; sh: 13; makefile: 8
file content (53 lines) | stat: -rw-r--r-- 1,373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
######################################################################
#
# File: b2sdk/v2/__init__.py
#
# Copyright 2021 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
from __future__ import annotations

from b2sdk._v3 import *  # noqa
from b2sdk._v3 import parse_folder as parse_sync_folder
from b2sdk._v3 import AbstractPath as AbstractSyncPath
from b2sdk._v3 import LocalPath as LocalSyncPath
from b2sdk._internal.utils.escape import (
    unprintable_to_hex,
    escape_control_chars,
    substitute_control_chars,
)

from .account_info import AbstractAccountInfo
from .api import B2Api
from .b2http import B2Http
from .bucket import Bucket, BucketFactory
from .session import B2Session
from .sync import B2SyncPath
from .transfer import DownloadManager, UploadManager

# utils

from .version_utils import rename_argument, rename_function
from .utils import TempDir

# raw_simulator

from .raw_simulator import BucketSimulator
from .raw_simulator import RawSimulator

# raw_api

from .raw_api import AbstractRawApi
from .raw_api import B2RawHTTPApi

# file_version

from .file_version import FileVersion
from .file_version import FileVersionFactory

# large_file

from .large_file import LargeFileServices
from .large_file import UnfinishedLargeFile