ffl-python 0.1.4__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.
ffl/__init__.py ADDED
@@ -0,0 +1,63 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # FastFileLink CLI - Fast, no-fuss file sharing
6
+ # Copyright (C) 2025-2026 FastFileLink contributors
7
+ #
8
+ # Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ # See the License for the specific language governing permissions and
18
+ # limitations under the License.
19
+
20
+ from ._runtime import APEProcessError, APEProcessResult, ProcessSession
21
+ from .client import FFLClient
22
+ from .errors import FFLDownloadAbortedError, FFLOutputError
23
+ from .events import FFLHookEvent
24
+ from .models import DownloadResult, DownloadSession, KeygenResult, ShareSession, TransferMode
25
+
26
+
27
+ _default_client = FFLClient()
28
+
29
+ version = _default_client.version
30
+ share = _default_client.share
31
+ share_text = _default_client.share_text
32
+ share_bytes = _default_client.share_bytes
33
+ share_stream = _default_client.share_stream
34
+ download = _default_client.download
35
+ download_stream = _default_client.download_stream
36
+ start_download = _default_client.start_download
37
+ keygen = _default_client.keygen
38
+ raw = _default_client.raw
39
+
40
+ __all__ = [
41
+ 'APEProcessError',
42
+ 'APEProcessResult',
43
+ 'DownloadResult',
44
+ 'DownloadSession',
45
+ 'FFLClient',
46
+ 'FFLDownloadAbortedError',
47
+ 'FFLHookEvent',
48
+ 'FFLOutputError',
49
+ 'KeygenResult',
50
+ 'ProcessSession',
51
+ 'ShareSession',
52
+ 'TransferMode',
53
+ 'download',
54
+ 'download_stream',
55
+ 'keygen',
56
+ 'raw',
57
+ 'share',
58
+ 'share_bytes',
59
+ 'share_stream',
60
+ 'share_text',
61
+ 'start_download',
62
+ 'version',
63
+ ]