bifrostsdk 1.0.0__tar.gz → 2.0.0__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.
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/PKG-INFO +19 -19
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/README.md +18 -18
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/bifrost.py +1 -1
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/gcs/gcs.py +2 -2
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/pinata/pinata.py +2 -2
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/s3/s3.py +2 -2
- bifrostsdk-2.0.0/bifrostsdk/shared/__init__.py +3 -0
- bifrostsdk-2.0.0/bifrostsdk/shared/types/__init__.py +1 -0
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/bifrostsdk.egg-info/PKG-INFO +19 -19
- bifrostsdk-2.0.0/bifrostsdk.egg-info/SOURCES.txt +54 -0
- bifrostsdk-2.0.0/bifrostsdk.egg-info/top_level.txt +1 -0
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/pyproject.toml +2 -2
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/tests/test_gcs.py +9 -9
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/tests/test_pinata.py +8 -8
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/tests/test_s3.py +10 -10
- bifrostsdk-1.0.0/bifrostsdk.egg-info/SOURCES.txt +0 -54
- bifrostsdk-1.0.0/bifrostsdk.egg-info/top_level.txt +0 -1
- bifrostsdk-1.0.0/byfrost/shared/__init__.py +0 -3
- bifrostsdk-1.0.0/byfrost/shared/types/__init__.py +0 -1
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/LICENSE +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/bifrost.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/gcs/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/gcs/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/gcs/gcs.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/pinata/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/pinata/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/pinata/pinata.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/s3/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/s3/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/s3/s3.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/config/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/config/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/config/option.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/config/provider.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/config/request.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/config/url.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/color.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/constant.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/interface.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/interface.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/loga.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/errors/loga.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/request/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/request/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/request/builder.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/dataclass/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/dataclass/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/dataclass/bridge.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/dataclass/file.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/typeddict/__init__.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/typeddict/__init__.pyi +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/typeddict/bridge.py +0 -0
- {bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/typeddict/file.py +0 -0
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/bifrostsdk.egg-info/dependency_links.txt +0 -0
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/bifrostsdk.egg-info/requires.txt +0 -0
- {bifrostsdk-1.0.0 → bifrostsdk-2.0.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bifrostsdk
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Rainbow Bridge for shipping your files to any cloud storage service with the same function calls
|
|
5
5
|
Author-email: ifihan <victoriaolusheye@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -28,7 +28,7 @@ Requires-Dist: boto3>=1.34.0
|
|
|
28
28
|
Requires-Dist: requests>=2.25.0
|
|
29
29
|
Requires-Dist: requests-toolbelt>=1.0.0
|
|
30
30
|
|
|
31
|
-
# Bifrost
|
|
31
|
+
# Bifrost SDK
|
|
32
32
|
|
|
33
33
|
Rainbow Bridge for shipping your files to any cloud storage service with the same function calls.
|
|
34
34
|
|
|
@@ -36,11 +36,11 @@ Rainbow Bridge for shipping your files to any cloud storage service with the sam
|
|
|
36
36
|
|
|
37
37
|
# Table of contents
|
|
38
38
|
|
|
39
|
-
- [Bifrost](#bifrost)
|
|
39
|
+
- [Bifrost SDK](#bifrost-sdk)
|
|
40
40
|
- [Problem Statement](#problem-statement)
|
|
41
41
|
- [Google Cloud Storage using GCS SDK](#google-cloud-storage-using-gcs-sdk)
|
|
42
42
|
- [Pinata Cloud using Pinata API](#pinata-cloud-using-pinata-api)
|
|
43
|
-
- [Using Bifrost](#using-bifrost)
|
|
43
|
+
- [Using Bifrost SDK](#using-bifrost-sdk)
|
|
44
44
|
- [Installation](#installation)
|
|
45
45
|
- [Usage](#usage)
|
|
46
46
|
- [Contributing](#contributing)
|
|
@@ -50,13 +50,13 @@ Rainbow Bridge for shipping your files to any cloud storage service with the sam
|
|
|
50
50
|
|
|
51
51
|
# Problem Statement
|
|
52
52
|
|
|
53
|
-
Many projects need to store files in the cloud and different projects might use different cloud storage providers or, sometimes, multiple cloud providers all at once. Using different SDKs with different implementations for each provider can be tedious and time-consuming. Bifrost aims to simplify the process of working with multiple cloud storage providers by providing a consistent API for all of them.
|
|
53
|
+
Many projects need to store files in the cloud and different projects might use different cloud storage providers or, sometimes, multiple cloud providers all at once. Using different SDKs with different implementations for each provider can be tedious and time-consuming. Bifrost SDK aims to simplify the process of working with multiple cloud storage providers by providing a consistent API for all of them.
|
|
54
54
|
|
|
55
|
-
To gain a better understanding of how Bifrost addresses this issue, let's take you on a ride with Thor by comparing two different code samples for working with Google Cloud Storage and Pinata Cloud in a single project: one using a conventional approach and the other using Bifrost.
|
|
55
|
+
To gain a better understanding of how Bifrost SDK addresses this issue, let's take you on a ride with Thor by comparing two different code samples for working with Google Cloud Storage and Pinata Cloud in a single project: one using a conventional approach and the other using Bifrost SDK.
|
|
56
56
|
|
|
57
57
|
## Google Cloud Storage using GCS SDK
|
|
58
58
|
|
|
59
|
-
Without Bifrost, the process of uploading a file to GCS using the Google Cloud Storage client library for Python would typically involve the following steps:
|
|
59
|
+
Without Bifrost SDK, the process of uploading a file to GCS using the Google Cloud Storage client library for Python would typically involve the following steps:
|
|
60
60
|
|
|
61
61
|
```py
|
|
62
62
|
# to be added
|
|
@@ -70,31 +70,31 @@ Without Bifrost, the process of uploading a file to GCS using the Google Cloud S
|
|
|
70
70
|
# to be added
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
We can already see the challenges of the conventional methods since they require you to learn to use multiple packages with separate implementation patterns. Now this is why `Bifrost` comes in! With Bifrost, you can mount rainbow bridges to the providers you want and use the same set of functions to upload files through any of these mounted bridges. This makes it much easier to work with multiple providers and streamlines the development process to just one learning curve.
|
|
73
|
+
We can already see the challenges of the conventional methods since they require you to learn to use multiple packages with separate implementation patterns. Now this is why `Bifrost SDK` comes in! With Bifrost SDK, you can mount rainbow bridges to the providers you want and use the same set of functions to upload files through any of these mounted bridges. This makes it much easier to work with multiple providers and streamlines the development process to just one learning curve.
|
|
74
74
|
|
|
75
|
-
Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost.
|
|
75
|
+
Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost SDK.
|
|
76
76
|
|
|
77
|
-
## Using Bifrost
|
|
77
|
+
## Using Bifrost SDK
|
|
78
78
|
|
|
79
79
|
```py
|
|
80
80
|
# to be added
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
The above example clearly demonstrates the speed, simplicity, and ease of use that Bifrost offers. Now you know what it feels like to ride with Thor!
|
|
83
|
+
The above example clearly demonstrates the speed, simplicity, and ease of use that Bifrost SDK offers. Now you know what it feels like to ride with Thor!
|
|
84
84
|
|
|
85
85
|
# Installation
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
pip install
|
|
88
|
+
pip install bifrostsdk
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
# Usage
|
|
92
92
|
|
|
93
|
-
If you want to learn more about how Bifrost is creating different methods to make it easier to use different cloud providers, you can follow these links:
|
|
93
|
+
If you want to learn more about how Bifrost SDK is creating different methods to make it easier to use different cloud providers, you can follow these links:
|
|
94
94
|
|
|
95
|
-
- [Google Cloud Storage (GCS)](gcs
|
|
96
|
-
- [Amazon S3](s3
|
|
97
|
-
- [Pinata Cloud](pinata
|
|
95
|
+
- [Google Cloud Storage (GCS)](bifrostsdk/gcs/doc.md)
|
|
96
|
+
- [Amazon S3](bifrostsdk/s3/doc.md)
|
|
97
|
+
- [Pinata Cloud](bifrostsdk/pinata/doc.md)
|
|
98
98
|
|
|
99
99
|
# Variants
|
|
100
100
|
|
|
@@ -105,15 +105,15 @@ Bifrost also exists in other forms and languages and you are free to start a new
|
|
|
105
105
|
|
|
106
106
|
# Contributing
|
|
107
107
|
|
|
108
|
-
Bifrost is an open source project and we welcome contributions of all kinds. Please read our [contributing guide](./
|
|
108
|
+
Bifrost SDK is an open source project and we welcome contributions of all kinds. Please read our [contributing guide](./CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Bifrost SDK.
|
|
109
109
|
|
|
110
110
|
# License
|
|
111
111
|
|
|
112
|
-
Bifrost is [MIT licensed](./LICENSE).
|
|
112
|
+
Bifrost SDK is [MIT licensed](./LICENSE).
|
|
113
113
|
|
|
114
114
|
# Changelog
|
|
115
115
|
|
|
116
|
-
See [
|
|
116
|
+
See [CHANGELOG.md](./CHANGELOG.md) for more details.
|
|
117
117
|
|
|
118
118
|
# Contributors
|
|
119
119
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Bifrost
|
|
1
|
+
# Bifrost SDK
|
|
2
2
|
|
|
3
3
|
Rainbow Bridge for shipping your files to any cloud storage service with the same function calls.
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ Rainbow Bridge for shipping your files to any cloud storage service with the sam
|
|
|
6
6
|
|
|
7
7
|
# Table of contents
|
|
8
8
|
|
|
9
|
-
- [Bifrost](#bifrost)
|
|
9
|
+
- [Bifrost SDK](#bifrost-sdk)
|
|
10
10
|
- [Problem Statement](#problem-statement)
|
|
11
11
|
- [Google Cloud Storage using GCS SDK](#google-cloud-storage-using-gcs-sdk)
|
|
12
12
|
- [Pinata Cloud using Pinata API](#pinata-cloud-using-pinata-api)
|
|
13
|
-
- [Using Bifrost](#using-bifrost)
|
|
13
|
+
- [Using Bifrost SDK](#using-bifrost-sdk)
|
|
14
14
|
- [Installation](#installation)
|
|
15
15
|
- [Usage](#usage)
|
|
16
16
|
- [Contributing](#contributing)
|
|
@@ -20,13 +20,13 @@ Rainbow Bridge for shipping your files to any cloud storage service with the sam
|
|
|
20
20
|
|
|
21
21
|
# Problem Statement
|
|
22
22
|
|
|
23
|
-
Many projects need to store files in the cloud and different projects might use different cloud storage providers or, sometimes, multiple cloud providers all at once. Using different SDKs with different implementations for each provider can be tedious and time-consuming. Bifrost aims to simplify the process of working with multiple cloud storage providers by providing a consistent API for all of them.
|
|
23
|
+
Many projects need to store files in the cloud and different projects might use different cloud storage providers or, sometimes, multiple cloud providers all at once. Using different SDKs with different implementations for each provider can be tedious and time-consuming. Bifrost SDK aims to simplify the process of working with multiple cloud storage providers by providing a consistent API for all of them.
|
|
24
24
|
|
|
25
|
-
To gain a better understanding of how Bifrost addresses this issue, let's take you on a ride with Thor by comparing two different code samples for working with Google Cloud Storage and Pinata Cloud in a single project: one using a conventional approach and the other using Bifrost.
|
|
25
|
+
To gain a better understanding of how Bifrost SDK addresses this issue, let's take you on a ride with Thor by comparing two different code samples for working with Google Cloud Storage and Pinata Cloud in a single project: one using a conventional approach and the other using Bifrost SDK.
|
|
26
26
|
|
|
27
27
|
## Google Cloud Storage using GCS SDK
|
|
28
28
|
|
|
29
|
-
Without Bifrost, the process of uploading a file to GCS using the Google Cloud Storage client library for Python would typically involve the following steps:
|
|
29
|
+
Without Bifrost SDK, the process of uploading a file to GCS using the Google Cloud Storage client library for Python would typically involve the following steps:
|
|
30
30
|
|
|
31
31
|
```py
|
|
32
32
|
# to be added
|
|
@@ -40,31 +40,31 @@ Without Bifrost, the process of uploading a file to GCS using the Google Cloud S
|
|
|
40
40
|
# to be added
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
We can already see the challenges of the conventional methods since they require you to learn to use multiple packages with separate implementation patterns. Now this is why `Bifrost` comes in! With Bifrost, you can mount rainbow bridges to the providers you want and use the same set of functions to upload files through any of these mounted bridges. This makes it much easier to work with multiple providers and streamlines the development process to just one learning curve.
|
|
43
|
+
We can already see the challenges of the conventional methods since they require you to learn to use multiple packages with separate implementation patterns. Now this is why `Bifrost SDK` comes in! With Bifrost SDK, you can mount rainbow bridges to the providers you want and use the same set of functions to upload files through any of these mounted bridges. This makes it much easier to work with multiple providers and streamlines the development process to just one learning curve.
|
|
44
44
|
|
|
45
|
-
Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost.
|
|
45
|
+
Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost SDK.
|
|
46
46
|
|
|
47
|
-
## Using Bifrost
|
|
47
|
+
## Using Bifrost SDK
|
|
48
48
|
|
|
49
49
|
```py
|
|
50
50
|
# to be added
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
The above example clearly demonstrates the speed, simplicity, and ease of use that Bifrost offers. Now you know what it feels like to ride with Thor!
|
|
53
|
+
The above example clearly demonstrates the speed, simplicity, and ease of use that Bifrost SDK offers. Now you know what it feels like to ride with Thor!
|
|
54
54
|
|
|
55
55
|
# Installation
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
pip install
|
|
58
|
+
pip install bifrostsdk
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
# Usage
|
|
62
62
|
|
|
63
|
-
If you want to learn more about how Bifrost is creating different methods to make it easier to use different cloud providers, you can follow these links:
|
|
63
|
+
If you want to learn more about how Bifrost SDK is creating different methods to make it easier to use different cloud providers, you can follow these links:
|
|
64
64
|
|
|
65
|
-
- [Google Cloud Storage (GCS)](gcs
|
|
66
|
-
- [Amazon S3](s3
|
|
67
|
-
- [Pinata Cloud](pinata
|
|
65
|
+
- [Google Cloud Storage (GCS)](bifrostsdk/gcs/doc.md)
|
|
66
|
+
- [Amazon S3](bifrostsdk/s3/doc.md)
|
|
67
|
+
- [Pinata Cloud](bifrostsdk/pinata/doc.md)
|
|
68
68
|
|
|
69
69
|
# Variants
|
|
70
70
|
|
|
@@ -75,15 +75,15 @@ Bifrost also exists in other forms and languages and you are free to start a new
|
|
|
75
75
|
|
|
76
76
|
# Contributing
|
|
77
77
|
|
|
78
|
-
Bifrost is an open source project and we welcome contributions of all kinds. Please read our [contributing guide](./
|
|
78
|
+
Bifrost SDK is an open source project and we welcome contributions of all kinds. Please read our [contributing guide](./CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Bifrost SDK.
|
|
79
79
|
|
|
80
80
|
# License
|
|
81
81
|
|
|
82
|
-
Bifrost is [MIT licensed](./LICENSE).
|
|
82
|
+
Bifrost SDK is [MIT licensed](./LICENSE).
|
|
83
83
|
|
|
84
84
|
# Changelog
|
|
85
85
|
|
|
86
|
-
See [
|
|
86
|
+
See [CHANGELOG.md](./CHANGELOG.md) for more details.
|
|
87
87
|
|
|
88
88
|
# Contributors
|
|
89
89
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
"""Bifrost interface for Google Cloud Storage"""
|
|
4
4
|
|
|
5
|
-
from
|
|
6
|
-
from
|
|
5
|
+
from bifrostsdk.shared import errors
|
|
6
|
+
from bifrostsdk.shared.config import provider
|
|
7
7
|
from google.cloud import storage
|
|
8
8
|
from ..shared.types.dataclass import file as bfile
|
|
9
9
|
from ..shared.types.dataclass import bridge
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Bifrost interface for Pinata Cloud."""
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
3
|
+
from bifrostsdk.shared import errors
|
|
4
|
+
from bifrostsdk.shared.config import provider
|
|
5
5
|
from ..shared.types.dataclass import file as bfile
|
|
6
6
|
from ..shared.types.dataclass import bridge
|
|
7
7
|
from typing import List, Tuple
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Bifrost interface for Amazon Simple Storage Service"""
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
3
|
+
from bifrostsdk.shared import errors
|
|
4
|
+
from bifrostsdk.shared.config import provider
|
|
5
5
|
from ..shared.types.dataclass import file as bfile
|
|
6
6
|
from ..shared.types.dataclass import bridge
|
|
7
7
|
from typing import List, Tuple
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from bifrostsdk.shared.errors.interface import BifrostError
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bifrostsdk
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Rainbow Bridge for shipping your files to any cloud storage service with the same function calls
|
|
5
5
|
Author-email: ifihan <victoriaolusheye@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -28,7 +28,7 @@ Requires-Dist: boto3>=1.34.0
|
|
|
28
28
|
Requires-Dist: requests>=2.25.0
|
|
29
29
|
Requires-Dist: requests-toolbelt>=1.0.0
|
|
30
30
|
|
|
31
|
-
# Bifrost
|
|
31
|
+
# Bifrost SDK
|
|
32
32
|
|
|
33
33
|
Rainbow Bridge for shipping your files to any cloud storage service with the same function calls.
|
|
34
34
|
|
|
@@ -36,11 +36,11 @@ Rainbow Bridge for shipping your files to any cloud storage service with the sam
|
|
|
36
36
|
|
|
37
37
|
# Table of contents
|
|
38
38
|
|
|
39
|
-
- [Bifrost](#bifrost)
|
|
39
|
+
- [Bifrost SDK](#bifrost-sdk)
|
|
40
40
|
- [Problem Statement](#problem-statement)
|
|
41
41
|
- [Google Cloud Storage using GCS SDK](#google-cloud-storage-using-gcs-sdk)
|
|
42
42
|
- [Pinata Cloud using Pinata API](#pinata-cloud-using-pinata-api)
|
|
43
|
-
- [Using Bifrost](#using-bifrost)
|
|
43
|
+
- [Using Bifrost SDK](#using-bifrost-sdk)
|
|
44
44
|
- [Installation](#installation)
|
|
45
45
|
- [Usage](#usage)
|
|
46
46
|
- [Contributing](#contributing)
|
|
@@ -50,13 +50,13 @@ Rainbow Bridge for shipping your files to any cloud storage service with the sam
|
|
|
50
50
|
|
|
51
51
|
# Problem Statement
|
|
52
52
|
|
|
53
|
-
Many projects need to store files in the cloud and different projects might use different cloud storage providers or, sometimes, multiple cloud providers all at once. Using different SDKs with different implementations for each provider can be tedious and time-consuming. Bifrost aims to simplify the process of working with multiple cloud storage providers by providing a consistent API for all of them.
|
|
53
|
+
Many projects need to store files in the cloud and different projects might use different cloud storage providers or, sometimes, multiple cloud providers all at once. Using different SDKs with different implementations for each provider can be tedious and time-consuming. Bifrost SDK aims to simplify the process of working with multiple cloud storage providers by providing a consistent API for all of them.
|
|
54
54
|
|
|
55
|
-
To gain a better understanding of how Bifrost addresses this issue, let's take you on a ride with Thor by comparing two different code samples for working with Google Cloud Storage and Pinata Cloud in a single project: one using a conventional approach and the other using Bifrost.
|
|
55
|
+
To gain a better understanding of how Bifrost SDK addresses this issue, let's take you on a ride with Thor by comparing two different code samples for working with Google Cloud Storage and Pinata Cloud in a single project: one using a conventional approach and the other using Bifrost SDK.
|
|
56
56
|
|
|
57
57
|
## Google Cloud Storage using GCS SDK
|
|
58
58
|
|
|
59
|
-
Without Bifrost, the process of uploading a file to GCS using the Google Cloud Storage client library for Python would typically involve the following steps:
|
|
59
|
+
Without Bifrost SDK, the process of uploading a file to GCS using the Google Cloud Storage client library for Python would typically involve the following steps:
|
|
60
60
|
|
|
61
61
|
```py
|
|
62
62
|
# to be added
|
|
@@ -70,31 +70,31 @@ Without Bifrost, the process of uploading a file to GCS using the Google Cloud S
|
|
|
70
70
|
# to be added
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
We can already see the challenges of the conventional methods since they require you to learn to use multiple packages with separate implementation patterns. Now this is why `Bifrost` comes in! With Bifrost, you can mount rainbow bridges to the providers you want and use the same set of functions to upload files through any of these mounted bridges. This makes it much easier to work with multiple providers and streamlines the development process to just one learning curve.
|
|
73
|
+
We can already see the challenges of the conventional methods since they require you to learn to use multiple packages with separate implementation patterns. Now this is why `Bifrost SDK` comes in! With Bifrost SDK, you can mount rainbow bridges to the providers you want and use the same set of functions to upload files through any of these mounted bridges. This makes it much easier to work with multiple providers and streamlines the development process to just one learning curve.
|
|
74
74
|
|
|
75
|
-
Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost.
|
|
75
|
+
Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost SDK.
|
|
76
76
|
|
|
77
|
-
## Using Bifrost
|
|
77
|
+
## Using Bifrost SDK
|
|
78
78
|
|
|
79
79
|
```py
|
|
80
80
|
# to be added
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
The above example clearly demonstrates the speed, simplicity, and ease of use that Bifrost offers. Now you know what it feels like to ride with Thor!
|
|
83
|
+
The above example clearly demonstrates the speed, simplicity, and ease of use that Bifrost SDK offers. Now you know what it feels like to ride with Thor!
|
|
84
84
|
|
|
85
85
|
# Installation
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
pip install
|
|
88
|
+
pip install bifrostsdk
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
# Usage
|
|
92
92
|
|
|
93
|
-
If you want to learn more about how Bifrost is creating different methods to make it easier to use different cloud providers, you can follow these links:
|
|
93
|
+
If you want to learn more about how Bifrost SDK is creating different methods to make it easier to use different cloud providers, you can follow these links:
|
|
94
94
|
|
|
95
|
-
- [Google Cloud Storage (GCS)](gcs
|
|
96
|
-
- [Amazon S3](s3
|
|
97
|
-
- [Pinata Cloud](pinata
|
|
95
|
+
- [Google Cloud Storage (GCS)](bifrostsdk/gcs/doc.md)
|
|
96
|
+
- [Amazon S3](bifrostsdk/s3/doc.md)
|
|
97
|
+
- [Pinata Cloud](bifrostsdk/pinata/doc.md)
|
|
98
98
|
|
|
99
99
|
# Variants
|
|
100
100
|
|
|
@@ -105,15 +105,15 @@ Bifrost also exists in other forms and languages and you are free to start a new
|
|
|
105
105
|
|
|
106
106
|
# Contributing
|
|
107
107
|
|
|
108
|
-
Bifrost is an open source project and we welcome contributions of all kinds. Please read our [contributing guide](./
|
|
108
|
+
Bifrost SDK is an open source project and we welcome contributions of all kinds. Please read our [contributing guide](./CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Bifrost SDK.
|
|
109
109
|
|
|
110
110
|
# License
|
|
111
111
|
|
|
112
|
-
Bifrost is [MIT licensed](./LICENSE).
|
|
112
|
+
Bifrost SDK is [MIT licensed](./LICENSE).
|
|
113
113
|
|
|
114
114
|
# Changelog
|
|
115
115
|
|
|
116
|
-
See [
|
|
116
|
+
See [CHANGELOG.md](./CHANGELOG.md) for more details.
|
|
117
117
|
|
|
118
118
|
# Contributors
|
|
119
119
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
bifrostsdk/__init__.py
|
|
5
|
+
bifrostsdk/__init__.pyi
|
|
6
|
+
bifrostsdk/bifrost.py
|
|
7
|
+
bifrostsdk/bifrost.pyi
|
|
8
|
+
bifrostsdk.egg-info/PKG-INFO
|
|
9
|
+
bifrostsdk.egg-info/SOURCES.txt
|
|
10
|
+
bifrostsdk.egg-info/dependency_links.txt
|
|
11
|
+
bifrostsdk.egg-info/requires.txt
|
|
12
|
+
bifrostsdk.egg-info/top_level.txt
|
|
13
|
+
bifrostsdk/gcs/__init__.py
|
|
14
|
+
bifrostsdk/gcs/__init__.pyi
|
|
15
|
+
bifrostsdk/gcs/gcs.py
|
|
16
|
+
bifrostsdk/gcs/gcs.pyi
|
|
17
|
+
bifrostsdk/pinata/__init__.py
|
|
18
|
+
bifrostsdk/pinata/__init__.pyi
|
|
19
|
+
bifrostsdk/pinata/pinata.py
|
|
20
|
+
bifrostsdk/pinata/pinata.pyi
|
|
21
|
+
bifrostsdk/s3/__init__.py
|
|
22
|
+
bifrostsdk/s3/__init__.pyi
|
|
23
|
+
bifrostsdk/s3/s3.py
|
|
24
|
+
bifrostsdk/s3/s3.pyi
|
|
25
|
+
bifrostsdk/shared/__init__.py
|
|
26
|
+
bifrostsdk/shared/config/__init__.py
|
|
27
|
+
bifrostsdk/shared/config/__init__.pyi
|
|
28
|
+
bifrostsdk/shared/config/option.py
|
|
29
|
+
bifrostsdk/shared/config/provider.py
|
|
30
|
+
bifrostsdk/shared/config/request.py
|
|
31
|
+
bifrostsdk/shared/config/url.py
|
|
32
|
+
bifrostsdk/shared/errors/__init__.py
|
|
33
|
+
bifrostsdk/shared/errors/__init__.pyi
|
|
34
|
+
bifrostsdk/shared/errors/color.py
|
|
35
|
+
bifrostsdk/shared/errors/constant.py
|
|
36
|
+
bifrostsdk/shared/errors/interface.py
|
|
37
|
+
bifrostsdk/shared/errors/interface.pyi
|
|
38
|
+
bifrostsdk/shared/errors/loga.py
|
|
39
|
+
bifrostsdk/shared/errors/loga.pyi
|
|
40
|
+
bifrostsdk/shared/request/__init__.py
|
|
41
|
+
bifrostsdk/shared/request/__init__.pyi
|
|
42
|
+
bifrostsdk/shared/request/builder.py
|
|
43
|
+
bifrostsdk/shared/types/__init__.py
|
|
44
|
+
bifrostsdk/shared/types/dataclass/__init__.py
|
|
45
|
+
bifrostsdk/shared/types/dataclass/__init__.pyi
|
|
46
|
+
bifrostsdk/shared/types/dataclass/bridge.py
|
|
47
|
+
bifrostsdk/shared/types/dataclass/file.py
|
|
48
|
+
bifrostsdk/shared/types/typeddict/__init__.py
|
|
49
|
+
bifrostsdk/shared/types/typeddict/__init__.pyi
|
|
50
|
+
bifrostsdk/shared/types/typeddict/bridge.py
|
|
51
|
+
bifrostsdk/shared/types/typeddict/file.py
|
|
52
|
+
tests/test_gcs.py
|
|
53
|
+
tests/test_pinata.py
|
|
54
|
+
tests/test_s3.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bifrostsdk
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "bifrostsdk"
|
|
7
|
-
version = "
|
|
7
|
+
version = "2.0.0"
|
|
8
8
|
description = "Rainbow Bridge for shipping your files to any cloud storage service with the same function calls"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -41,5 +41,5 @@ Documentation = "https://github.com/Ifihan/byfrost/blob/main/README.md"
|
|
|
41
41
|
|
|
42
42
|
[tool.setuptools.packages.find]
|
|
43
43
|
where = ["."]
|
|
44
|
-
include = ["
|
|
44
|
+
include = ["bifrostsdk*"]
|
|
45
45
|
exclude = ["tests*", "env*"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import unittest
|
|
3
|
-
import
|
|
3
|
+
import bifrostsdk
|
|
4
4
|
|
|
5
5
|
GOOGLE_BUCKET_NAME = os.environ.get("GOOGLE_BUCKET_NAME")
|
|
6
6
|
|
|
@@ -11,9 +11,9 @@ CREDENTIALS_FILE_PATH = os.path.join(PATH, "byfrost.json")
|
|
|
11
11
|
|
|
12
12
|
class TestGCS(unittest.TestCase):
|
|
13
13
|
def setUp(self):
|
|
14
|
-
self.bridge, error =
|
|
15
|
-
|
|
16
|
-
provider=
|
|
14
|
+
self.bridge, error = bifrostsdk.new_rainbow_bridge(
|
|
15
|
+
bifrostsdk.BridgeConfig(
|
|
16
|
+
provider=bifrostsdk.GoogleCloudStorage,
|
|
17
17
|
credentials_file=CREDENTIALS_FILE_PATH,
|
|
18
18
|
default_bucket=GOOGLE_BUCKET_NAME,
|
|
19
19
|
default_timeout=20,
|
|
@@ -27,7 +27,7 @@ class TestGCS(unittest.TestCase):
|
|
|
27
27
|
|
|
28
28
|
def test_upload_file(self):
|
|
29
29
|
upload, error = self.bridge.upload_file(
|
|
30
|
-
file_face=
|
|
30
|
+
file_face=bifrostsdk.File(
|
|
31
31
|
path=os.path.join(PATH, "cat.jpeg"),
|
|
32
32
|
filename="cat",
|
|
33
33
|
)
|
|
@@ -40,7 +40,7 @@ class TestGCS(unittest.TestCase):
|
|
|
40
40
|
|
|
41
41
|
def test_upload_file_with_no_filename(self):
|
|
42
42
|
upload, error = self.bridge.upload_file(
|
|
43
|
-
file_face=
|
|
43
|
+
file_face=bifrostsdk.File(
|
|
44
44
|
path=os.path.join(PATH, "cat.jpeg"),
|
|
45
45
|
)
|
|
46
46
|
)
|
|
@@ -52,13 +52,13 @@ class TestGCS(unittest.TestCase):
|
|
|
52
52
|
|
|
53
53
|
def test_upload_multi_file(self):
|
|
54
54
|
upload, erroror = self.bridge.upload_multi_file(
|
|
55
|
-
multi_face=
|
|
55
|
+
multi_face=bifrostsdk.MultiFile(
|
|
56
56
|
files=[
|
|
57
|
-
|
|
57
|
+
bifrostsdk.File(
|
|
58
58
|
path="/Users/ifihan/Projects/byfrost/flower.jpeg",
|
|
59
59
|
filename="",
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
bifrostsdk.File(
|
|
62
62
|
path="/Users/ifihan/Projects/byfrost/dog.jpeg",
|
|
63
63
|
filename="",
|
|
64
64
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import unittest
|
|
3
|
-
import
|
|
3
|
+
import bifrostsdk
|
|
4
4
|
|
|
5
5
|
PINATA_JWT = os.environ.get("PINATA_JWT")
|
|
6
6
|
|
|
@@ -9,8 +9,8 @@ PATH = os.path.join(os.path.dirname(__file__), "../")
|
|
|
9
9
|
|
|
10
10
|
class PinataTest(unittest.TestCase):
|
|
11
11
|
def setUp(self):
|
|
12
|
-
self.bridge, error =
|
|
13
|
-
|
|
12
|
+
self.bridge, error = bifrostsdk.new_rainbow_bridge(
|
|
13
|
+
bifrostsdk.BridgeConfig(provider=bifrostsdk.PinataCloud, pinata_jwt=PINATA_JWT)
|
|
14
14
|
)
|
|
15
15
|
self.assertIsNone(error)
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@ class PinataTest(unittest.TestCase):
|
|
|
19
19
|
|
|
20
20
|
def test_upload_file(self):
|
|
21
21
|
upload, error = self.bridge.upload_file(
|
|
22
|
-
file_face=
|
|
22
|
+
file_face=bifrostsdk.File(
|
|
23
23
|
path=os.path.join(PATH, "cat.jpeg"),
|
|
24
24
|
filename="cat",
|
|
25
25
|
)
|
|
@@ -32,7 +32,7 @@ class PinataTest(unittest.TestCase):
|
|
|
32
32
|
|
|
33
33
|
def test_upload_file_with_no_filename(self):
|
|
34
34
|
upload, error = self.bridge.upload_file(
|
|
35
|
-
file_face=
|
|
35
|
+
file_face=bifrostsdk.File(
|
|
36
36
|
path=os.path.join(PATH, "cat.jpeg"),
|
|
37
37
|
)
|
|
38
38
|
)
|
|
@@ -44,13 +44,13 @@ class PinataTest(unittest.TestCase):
|
|
|
44
44
|
|
|
45
45
|
def test_upload_multi_file(self):
|
|
46
46
|
upload, erroror = self.bridge.upload_multi_file(
|
|
47
|
-
multi_face=
|
|
47
|
+
multi_face=bifrostsdk.MultiFile(
|
|
48
48
|
files=[
|
|
49
|
-
|
|
49
|
+
bifrostsdk.File(
|
|
50
50
|
path="/Users/ifihan/Projects/byfrost/flower.jpeg",
|
|
51
51
|
filename="",
|
|
52
52
|
),
|
|
53
|
-
|
|
53
|
+
bifrostsdk.File(
|
|
54
54
|
path="/Users/ifihan/Projects/byfrost/dog.jpeg",
|
|
55
55
|
filename="",
|
|
56
56
|
),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import unittest
|
|
3
|
-
import
|
|
3
|
+
import bifrostsdk
|
|
4
4
|
|
|
5
5
|
AWS_S3_BUCKET_NAME = os.environ.get("AWS_S3_BUCKET_NAME")
|
|
6
6
|
|
|
7
7
|
PATH = os.path.join(os.path.dirname(__file__), "../")
|
|
8
8
|
|
|
9
|
-
CREDENTIALS_FILE_PATH = os.path.join(PATH, "
|
|
9
|
+
CREDENTIALS_FILE_PATH = os.path.join(PATH, "bifrostsdk.json")
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class TestS3(unittest.TestCase):
|
|
13
13
|
def setUp(self):
|
|
14
|
-
self.bridge, error =
|
|
15
|
-
|
|
16
|
-
provider=
|
|
14
|
+
self.bridge, error = bifrostsdk.new_rainbow_bridge(
|
|
15
|
+
bifrostsdk.BridgeConfig(
|
|
16
|
+
provider=bifrostsdk.SimpleStorageService,
|
|
17
17
|
access_key=os.environ.get("ACCESS_KEY"),
|
|
18
18
|
secret_key=os.environ.get("SECRET_KEY"),
|
|
19
19
|
default_bucket=AWS_S3_BUCKET_NAME,
|
|
@@ -29,7 +29,7 @@ class TestS3(unittest.TestCase):
|
|
|
29
29
|
|
|
30
30
|
def test_upload_file(self):
|
|
31
31
|
upload, error = self.bridge.upload_file(
|
|
32
|
-
file_face=
|
|
32
|
+
file_face=bifrostsdk.File(
|
|
33
33
|
path=os.path.join(PATH, "cat.jpeg"),
|
|
34
34
|
filename="cat",
|
|
35
35
|
)
|
|
@@ -42,7 +42,7 @@ class TestS3(unittest.TestCase):
|
|
|
42
42
|
|
|
43
43
|
def test_upload_file_with_no_filename(self):
|
|
44
44
|
upload, error = self.bridge.upload_file(
|
|
45
|
-
file_face=
|
|
45
|
+
file_face=bifrostsdk.File(
|
|
46
46
|
path=os.path.join(PATH, "cat.jpeg"),
|
|
47
47
|
)
|
|
48
48
|
)
|
|
@@ -54,13 +54,13 @@ class TestS3(unittest.TestCase):
|
|
|
54
54
|
|
|
55
55
|
def test_upload_multi_file(self):
|
|
56
56
|
upload, erroror = self.bridge.upload_multi_file(
|
|
57
|
-
multi_face=
|
|
57
|
+
multi_face=bifrostsdk.MultiFile(
|
|
58
58
|
files=[
|
|
59
|
-
|
|
59
|
+
bifrostsdk.File(
|
|
60
60
|
path="/Users/ifihan/Projects/byfrost/flower.jpeg",
|
|
61
61
|
filename="",
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
bifrostsdk.File(
|
|
64
64
|
path="/Users/ifihan/Projects/byfrost/dog.jpeg",
|
|
65
65
|
filename="",
|
|
66
66
|
),
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
LICENSE
|
|
2
|
-
README.md
|
|
3
|
-
pyproject.toml
|
|
4
|
-
bifrostsdk.egg-info/PKG-INFO
|
|
5
|
-
bifrostsdk.egg-info/SOURCES.txt
|
|
6
|
-
bifrostsdk.egg-info/dependency_links.txt
|
|
7
|
-
bifrostsdk.egg-info/requires.txt
|
|
8
|
-
bifrostsdk.egg-info/top_level.txt
|
|
9
|
-
byfrost/__init__.py
|
|
10
|
-
byfrost/__init__.pyi
|
|
11
|
-
byfrost/bifrost.py
|
|
12
|
-
byfrost/bifrost.pyi
|
|
13
|
-
byfrost/gcs/__init__.py
|
|
14
|
-
byfrost/gcs/__init__.pyi
|
|
15
|
-
byfrost/gcs/gcs.py
|
|
16
|
-
byfrost/gcs/gcs.pyi
|
|
17
|
-
byfrost/pinata/__init__.py
|
|
18
|
-
byfrost/pinata/__init__.pyi
|
|
19
|
-
byfrost/pinata/pinata.py
|
|
20
|
-
byfrost/pinata/pinata.pyi
|
|
21
|
-
byfrost/s3/__init__.py
|
|
22
|
-
byfrost/s3/__init__.pyi
|
|
23
|
-
byfrost/s3/s3.py
|
|
24
|
-
byfrost/s3/s3.pyi
|
|
25
|
-
byfrost/shared/__init__.py
|
|
26
|
-
byfrost/shared/config/__init__.py
|
|
27
|
-
byfrost/shared/config/__init__.pyi
|
|
28
|
-
byfrost/shared/config/option.py
|
|
29
|
-
byfrost/shared/config/provider.py
|
|
30
|
-
byfrost/shared/config/request.py
|
|
31
|
-
byfrost/shared/config/url.py
|
|
32
|
-
byfrost/shared/errors/__init__.py
|
|
33
|
-
byfrost/shared/errors/__init__.pyi
|
|
34
|
-
byfrost/shared/errors/color.py
|
|
35
|
-
byfrost/shared/errors/constant.py
|
|
36
|
-
byfrost/shared/errors/interface.py
|
|
37
|
-
byfrost/shared/errors/interface.pyi
|
|
38
|
-
byfrost/shared/errors/loga.py
|
|
39
|
-
byfrost/shared/errors/loga.pyi
|
|
40
|
-
byfrost/shared/request/__init__.py
|
|
41
|
-
byfrost/shared/request/__init__.pyi
|
|
42
|
-
byfrost/shared/request/builder.py
|
|
43
|
-
byfrost/shared/types/__init__.py
|
|
44
|
-
byfrost/shared/types/dataclass/__init__.py
|
|
45
|
-
byfrost/shared/types/dataclass/__init__.pyi
|
|
46
|
-
byfrost/shared/types/dataclass/bridge.py
|
|
47
|
-
byfrost/shared/types/dataclass/file.py
|
|
48
|
-
byfrost/shared/types/typeddict/__init__.py
|
|
49
|
-
byfrost/shared/types/typeddict/__init__.pyi
|
|
50
|
-
byfrost/shared/types/typeddict/bridge.py
|
|
51
|
-
byfrost/shared/types/typeddict/file.py
|
|
52
|
-
tests/test_gcs.py
|
|
53
|
-
tests/test_pinata.py
|
|
54
|
-
tests/test_s3.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
byfrost
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from byfrost.shared.errors.interface import BifrostError
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/dataclass/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bifrostsdk-1.0.0/byfrost → bifrostsdk-2.0.0/bifrostsdk}/shared/types/typeddict/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|