Skip to main content

Blob Storage Manager Core

A flexible and extensible core library for managing blob storage operations across various cloud providers and local storage systems.

Features

  • Unified interface for blob storage operations
  • Support for multiple cloud providers
  • Local storage system support
  • Asynchronous operations
  • Type-safe operations with Pydantic models
  • FastAPI integration

Installation

pip install blob-storage-manager-core

Quick Start

from blob_storage_manager_core import BlobStorageManager

# Initialize with your preferred storage provider
storage_manager = BlobStorageManager(
    provider="local",  # or "aws", "azure", "gcp"
    config={
        "base_path": "/path/to/storage"  # Provider-specific configuration
    }
)

# Upload a file
async def upload_file():
    with open("example.txt", "rb") as f:
        await storage_manager.upload(
            file=f,
            destination="path/to/upload/example.txt"
        )

# Download a file
async def download_file():
    file_content = await storage_manager.download(
        source="path/to/download/example.txt"
    )
    with open("downloaded.txt", "wb") as f:
        f.write(file_content)

Supported Providers

  • Azure Blob Storage

Configuration

Azure Blob Storage

config = {
    "connection_string": "your_connection_string",
    "container_name": "your-container"
}

API Reference

Core Methods

  • upload(file: BinaryIO, destination: str): Upload a file to storage
  • download(source: str): Download a file from storage
  • delete(path: str): Delete a file from storage
  • list_files(prefix: str): List files in storage
  • get_file_info(path: str): Get metadata for a file

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, email info@autobridgesystems.com or open an issue in the repository.

Metadata

Release files for abs-blob-storage-manager-core 0.4.2

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

Source distribution (sdist)

Source distribution for abs-blob-storage-manager-core 0.4.2
File Size Uploaded
abs_blob_storage_manager_core-0.4.2.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abs-blob-storage-manager-core 0.4.2
File Interpreter ABI Platform
abs_blob_storage_manager_core-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.3 kB

Release files / abs_blob_storage_manager_core-0.4.2.tar.gz

Download URL abs_blob_storage_manager_core-0.4.2.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a425d20ee8f809ccfcf1286985b2226b0c5b6fbc3b52b06481e87d57008ff91d
BLAKE2b-256 checksum
How to use checksums
fef6bd00ca506d4f89ac31db64a20687528843a522a2785226ba28b2ee9864ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.12 Darwin/23.6.0

Release files / abs_blob_storage_manager_core-0.4.2-py3-none-any.whl

Download URL abs_blob_storage_manager_core-0.4.2-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f1d6709091d6db76215574b5fa0989e269ebfc30d1382cd9b492b6293eb6d52
BLAKE2b-256 checksum
How to use checksums
1b151bf937b2ec08cef087eb87b06bbdaa5b1e628f1a315dac2a59805c6b0169
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.12 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

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