Name | abs-blob-storage-manager-core JSON |
Version |
0.1.7
JSON |
| download |
home_page | None |
Summary | Core utilities for managing blob storage operations with support for various cloud providers and local storage systems |
upload_time | 2025-07-24 07:13:26 |
maintainer | None |
docs_url | None |
author | AutoBridgeSystems |
requires_python | <4.0,>=3.13 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```bash
pip install blob-storage-manager-core
```
## Quick Start
```python
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
```python
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "abs-blob-storage-manager-core",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.13",
"maintainer_email": null,
"keywords": null,
"author": "AutoBridgeSystems",
"author_email": "info@autobridgesystems.com",
"download_url": "https://files.pythonhosted.org/packages/3a/62/43765ed83ecd436cd01fcf742d621cea538c579022cbd49756da86ad80c5/abs_blob_storage_manager_core-0.1.7.tar.gz",
"platform": null,
"description": "# Blob Storage Manager Core\n\nA flexible and extensible core library for managing blob storage operations across various cloud providers and local storage systems.\n\n## Features\n\n- Unified interface for blob storage operations\n- Support for multiple cloud providers\n- Local storage system support\n- Asynchronous operations\n- Type-safe operations with Pydantic models\n- FastAPI integration\n\n## Installation\n\n```bash\npip install blob-storage-manager-core\n```\n\n## Quick Start\n\n```python\nfrom blob_storage_manager_core import BlobStorageManager\n\n# Initialize with your preferred storage provider\nstorage_manager = BlobStorageManager(\n provider=\"local\", # or \"aws\", \"azure\", \"gcp\"\n config={\n \"base_path\": \"/path/to/storage\" # Provider-specific configuration\n }\n)\n\n# Upload a file\nasync def upload_file():\n with open(\"example.txt\", \"rb\") as f:\n await storage_manager.upload(\n file=f,\n destination=\"path/to/upload/example.txt\"\n )\n\n# Download a file\nasync def download_file():\n file_content = await storage_manager.download(\n source=\"path/to/download/example.txt\"\n )\n with open(\"downloaded.txt\", \"wb\") as f:\n f.write(file_content)\n```\n\n## Supported Providers\n\n- Azure Blob Storage\n\n## Configuration\n\n### Azure Blob Storage\n```python\nconfig = {\n \"connection_string\": \"your_connection_string\",\n \"container_name\": \"your-container\"\n}\n```\n\n## API Reference\n\n### Core Methods\n\n- `upload(file: BinaryIO, destination: str)`: Upload a file to storage\n- `download(source: str)`: Download a file from storage\n- `delete(path: str)`: Delete a file from storage\n- `list_files(prefix: str)`: List files in storage\n- `get_file_info(path: str)`: Get metadata for a file\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Support\n\nFor support, email info@autobridgesystems.com or open an issue in the repository.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Core utilities for managing blob storage operations with support for various cloud providers and local storage systems",
"version": "0.1.7",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "09e38e4c3291bb7d3b37f9142f580abe08da27a5385837474d27192375105752",
"md5": "5b5308bd717090c37bcda696282d4d84",
"sha256": "9d2b4c88cf0727b7f00a4573d8720a06f1bb1f9b788f64e6057df3ff28272e00"
},
"downloads": -1,
"filename": "abs_blob_storage_manager_core-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5b5308bd717090c37bcda696282d4d84",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.13",
"size": 22272,
"upload_time": "2025-07-24T07:13:25",
"upload_time_iso_8601": "2025-07-24T07:13:25.021647Z",
"url": "https://files.pythonhosted.org/packages/09/e3/8e4c3291bb7d3b37f9142f580abe08da27a5385837474d27192375105752/abs_blob_storage_manager_core-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3a6243765ed83ecd436cd01fcf742d621cea538c579022cbd49756da86ad80c5",
"md5": "3d4ca3ab9cfd7bc16bd2a9a44fa9886b",
"sha256": "60658a4e1cfbd2a0fbcefdfa3882a4ec76731d7afb8073ed1bdacd9ed8102e46"
},
"downloads": -1,
"filename": "abs_blob_storage_manager_core-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "3d4ca3ab9cfd7bc16bd2a9a44fa9886b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.13",
"size": 20498,
"upload_time": "2025-07-24T07:13:26",
"upload_time_iso_8601": "2025-07-24T07:13:26.122955Z",
"url": "https://files.pythonhosted.org/packages/3a/62/43765ed83ecd436cd01fcf742d621cea538c579022cbd49756da86ad80c5/abs_blob_storage_manager_core-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-24 07:13:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "abs-blob-storage-manager-core"
}