Skip to main content

Bifrost SDK

Rainbow Bridge for shipping your files to any cloud storage service with the same function calls.

Table of contents

Problem Statement

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.

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.

Google Cloud Storage using GCS SDK

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:

# to be added

Pinata Cloud using Pinata API

...and for Pinata Cloud, the usual way of uploading a file in Python would be something along the following steps:

# to be added

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.

Now, let's see how we can revamp the two samples above into something much more exciting with Bifrost SDK.

Using Bifrost SDK

# to be added

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!

Installation

pip install bifrostsdk

Usage

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:

Variants

Bifrost also exists in other forms and languages and you are free to start a new variant of bifrost in any other form or language of your choice. For now, below are the know variants of bifrost.

Contributing

Bifrost SDK is an open source project and we welcome contributions of all kinds. Please read our contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Bifrost SDK.

License

Bifrost SDK is MIT licensed.

Changelog

See CHANGELOG.md for more details.

Contributors

Made with contrib.rocks.

Metadata

Release files for bifrostsdk 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bifrostsdk 2.0.0
File Size Uploaded Provenance
bifrostsdk-2.0.0.tar.gz 20.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bifrostsdk 2.0.0
File Interpreter ABI Platform
bifrostsdk-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.8 kB

Release files / bifrostsdk-2.0.0.tar.gz

Download URL bifrostsdk-2.0.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30340ac1314c33493867c77ecbb0f089ac02fc1f7b98e3729eea75059e0c3804
BLAKE2b-256 checksum
How to use checksums
afde7b43987774d005447b0fe568ea2285a94f7c60c56ad5c1654edf72ed75df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release files / bifrostsdk-2.0.0-py3-none-any.whl

Download URL bifrostsdk-2.0.0-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87d1d78f47809cb23d5bba2c883e0f3f167ecdee37956a6938c78a5ad612a42e
BLAKE2b-256 checksum
How to use checksums
48123979841a268e90865104d4317184c5903df72e19809c398b059c641e6007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Security for bifrostsdk 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page