| Name | logyca-azure-storage-blob JSON | 
| Version | 0.2.0  JSON | 
|  | download | 
| home_page | None | 
| Summary | An integration package created by the company LOGYCA to interact with the blob container files in your Azure Storage account. | 
            | upload_time | 2025-10-10 15:03:18 | 
            | maintainer | None | 
            
            | docs_url | None | 
            | author | None | 
            
            | requires_python | >=3.8 | 
            
            
            | license | None | 
            | keywords | azure
                
                     blob
                
                     download
                
                     storage
                
                     upload | 
            | VCS |  | 
            | bugtrack_url |  | 
            | requirements | No requirements were recorded. | 
            
| Travis-CI | No Travis. | 
            | coveralls test coverage | No coveralls. | 
        
        
            
            <p align="center">
  <a href="https://logyca.com/"><img src="https://logyca.com/sites/default/files/logyca.png" alt="Logyca"></a>
</p>
<p align="center">
    <em>LOGYCA public libraries</em>
</p>
<p align="center">
<a href="https://pypi.org/project/logyca-azure-storage-blob" target="_blank">
    <img src="https://img.shields.io/pypi/v/logyca-azure-storage-blob?color=orange&label=PyPI%20Package" alt="Package version">
</a>
<a href="(https://www.python.org" target="_blank">
    <img src="https://img.shields.io/badge/Python-%5B%3E%3D3.8%2C%3C%3D3.11%5D-orange" alt="Python">
</a>
</p>
---
# About us
* <a href="http://logyca.com" target="_blank">LOGYCA Company</a>
* <a href="https://www.youtube.com/channel/UCzcJtxfScoAtwFbxaLNnEtA" target="_blank">LOGYCA Youtube Channel</a>
* <a href="https://www.linkedin.com/company/logyca" target="_blank"><img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" alt="Linkedin"></a>
* <a href="https://twitter.com/LOGYCA_Org" target="_blank"><img src="https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" alt="Twitter"></a>
* <a href="https://www.facebook.com/OrganizacionLOGYCA/" target="_blank"><img src="https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white" alt="Facebook"></a>
---
# LOGYCA public libraries: To interact with the blob container files in your Azure Storage account.
[Source code](https://github.com/logyca/python-libraries/tree/main/logyca-azure-storage-blob)
| [Package (PyPI)](https://pypi.org/project/logyca-azure-storage-blob/)
| [Samples](https://github.com/logyca/python-libraries/tree/main/logyca-azure-storage-blob/samples)
---
To install the libraries
```Python
# Check SQLAlchemy dependency that is installed
pip install logyca_azure_storage_blob
```
# How azcopy performs file consistency validation
Like azcopy, Microsoft's client for uploading large files to Blob, the md5 hash must be computed locally and uploaded to the blob properties along with the file, the blob service will commit this at the end of the process, returning an error if presents inconsistency in value.
## Calculates the MD5 hash of the file content and saves it as the Content-MD5 property of the blob:
```console
azcopy --put-md5 #
```
References:
    - https://learn.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy
This library uses the concepts of the azcopy client for its implementation.
---
# Test upload
bandwith movistar: upload/download: 300 mbps
## Test 1, function: container_blob_upload_staging_blocks_commit with console output
    file: 20240126084440-backup.dump
    size: 2.03 GB
    parameters: 
        - self.__chunk_size_bytes=4*1024*1024 # Defaults 4 MiB
    Elapsed time: 00:05:22
    Output:
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[42/522], Percentage[8.05%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[43/522], Percentage[8.24%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[44/522], Percentage[8.43%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[45/522], Percentage[8.62%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[46/522], Percentage[8.81%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[47/522], Percentage[9.00%]
        ...
        ...
        ...
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[517/522], Percentage[99.04%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[518/522], Percentage[99.23%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[519/522], Percentage[99.43%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[520/522], Percentage[99.62%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[521/522], Percentage[99.81%]
        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[522/522], Percentage[100.00%]
## Test 2, function: container_blob_upload_data_transfer_options no console output
    file: 20240126084440-backup.dump
    size: 2.03 GB        
    parameters:
        - self.__chunk_size_bytes=4*1024*1024 # 4 MiB
        - self.__max_single_put_size=8*1024*1024 # 8 MiB.
        - max_concurrency=1
    Elapsed time: 00:11:19
    Unsupported formats: ---
    Output: Not available
## Test 3, function: container_blob_upload_data_transfer_options no console output
    file: 20240126084440-backup.dump
    size: 2.03 GB        
    parameters:
        - self.__chunk_size_bytes=4*1024*1024 # 4 MiB
        - self.__max_single_put_size=8*1024*1024 # 8 MiB.
        - max_concurrency=2
    Elapsed time: 00:03:50
    Unsupported formats: ---
    Output: Not available
## Test 4, function: container_blob_upload_data_transfer_options no console output
    file: 20240126084440-backup.dump
    size: 2.03 GB        
    parameters:
        - self.__chunk_size_bytes=4*1024*1024 # 4 MiB
        - self.__max_single_put_size=8*1024*1024 # 8 MiB.
        - max_concurrency=3
    Elapsed time: 00:03:38
    Unsupported formats: ---
    Output: Not available
---
# Semantic Versioning
logyca_azure_storage_blob < MAJOR >.< MINOR >.< PATCH >
* **MAJOR**: version when you make incompatible API changes
* **MINOR**: version when you add functionality in a backwards compatible manner
* **PATCH**: version when you make backwards compatible bug fixes
## Definitions for releasing versions
* https://peps.python.org/pep-0440/
    - X.YaN (Alpha release): Identify and fix early-stage bugs. Not suitable for production use.
    - X.YbN (Beta release): Stabilize and refine features. Address reported bugs. Prepare for official release.
    - X.YrcN (Release candidate): Final version before official release. Assumes all major features are complete and stable. Recommended for testing in non-critical environments.
    - X.Y (Final release/Stable/Production): Completed, stable version ready for use in production. Full release for public use.
---
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Types of changes
- Added for new features.
- Changed for changes in existing functionality.
- Deprecated for soon-to-be removed features.
- Removed for now removed features.
- Fixed for any bug fixes.
- Security in case of vulnerabilities.
## [0.0.1rc1] - 2024-05-24
### Added
- First tests using pypi.org in develop environment.
## [0.1.0] - 2024-05-24
### Added
- Completion of testing and launch into production.
## [0.1.2] - 2024-07-18
### Changed
- Two filter sa container blob list are added. modified hours ago to return modified blobs after x hours and include_subfolders to return only blobs from the received folder list.
## [0.1.3] - 2025-09-26
### Changed
- A new parameter is added when downloading a file to rename it on the fly on disk to the following function: container_blob_download_data_transfer_options
## [0.1.4] - 2025-10-05
### Fixed
- Adjustment in the container_create function when selecting the type of container to create, public, container, etc.
## [0.1.5] - 2025-10-05
### Fixed
- Correction of error messages when handling existing containers or containers with different states.
## [0.2.0] - 2025-10-05
### Added
- The new function container_blob_delete_by_age has been added to purge files by modification date. Possible uses include temporary files or archiving compliance.
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": null,
    "name": "logyca-azure-storage-blob",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "azure, blob, download, storage, upload",
    "author": null,
    "author_email": "Jaime Andres Cardona Carrillo <jacardona@outlook.com>",
    "download_url": "https://files.pythonhosted.org/packages/18/7c/c19993079b968d50d0928891d7529e00cb13d8e5d8d9645e0f4eadcd8527/logyca_azure_storage_blob-0.2.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <a href=\"https://logyca.com/\"><img src=\"https://logyca.com/sites/default/files/logyca.png\" alt=\"Logyca\"></a>\n</p>\n<p align=\"center\">\n    <em>LOGYCA public libraries</em>\n</p>\n\n<p align=\"center\">\n<a href=\"https://pypi.org/project/logyca-azure-storage-blob\" target=\"_blank\">\n    <img src=\"https://img.shields.io/pypi/v/logyca-azure-storage-blob?color=orange&label=PyPI%20Package\" alt=\"Package version\">\n</a>\n<a href=\"(https://www.python.org\" target=\"_blank\">\n    <img src=\"https://img.shields.io/badge/Python-%5B%3E%3D3.8%2C%3C%3D3.11%5D-orange\" alt=\"Python\">\n</a>\n</p>\n\n\n---\n\n# About us\n\n* <a href=\"http://logyca.com\" target=\"_blank\">LOGYCA Company</a>\n* <a href=\"https://www.youtube.com/channel/UCzcJtxfScoAtwFbxaLNnEtA\" target=\"_blank\">LOGYCA Youtube Channel</a>\n* <a href=\"https://www.linkedin.com/company/logyca\" target=\"_blank\"><img src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white\" alt=\"Linkedin\"></a>\n* <a href=\"https://twitter.com/LOGYCA_Org\" target=\"_blank\"><img src=\"https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white\" alt=\"Twitter\"></a>\n* <a href=\"https://www.facebook.com/OrganizacionLOGYCA/\" target=\"_blank\"><img src=\"https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white\" alt=\"Facebook\"></a>\n\n---\n\n# LOGYCA public libraries: To interact with the blob container files in your Azure Storage account.\n\n[Source code](https://github.com/logyca/python-libraries/tree/main/logyca-azure-storage-blob)\n| [Package (PyPI)](https://pypi.org/project/logyca-azure-storage-blob/)\n| [Samples](https://github.com/logyca/python-libraries/tree/main/logyca-azure-storage-blob/samples)\n\n---\n\nTo install the libraries\n\n```Python\n# Check SQLAlchemy dependency that is installed\npip install logyca_azure_storage_blob\n```\n\n\n# How azcopy performs file consistency validation\n\nLike azcopy, Microsoft's client for uploading large files to Blob, the md5 hash must be computed locally and uploaded to the blob properties along with the file, the blob service will commit this at the end of the process, returning an error if presents inconsistency in value.\n\n## Calculates the MD5 hash of the file content and saves it as the Content-MD5 property of the blob:\n\n\n```console\nazcopy --put-md5 #\n```\n\nReferences:\n\n    - https://learn.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy\n\nThis library uses the concepts of the azcopy client for its implementation.\n\n---\n\n# Test upload\n\nbandwith movistar: upload/download: 300 mbps\n\n## Test 1, function: container_blob_upload_staging_blocks_commit with console output\n\n    file: 20240126084440-backup.dump\n    size: 2.03 GB\n    parameters: \n        - self.__chunk_size_bytes=4*1024*1024 # Defaults 4 MiB\n    Elapsed time: 00:05:22\n    Output:\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[42/522], Percentage[8.05%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[43/522], Percentage[8.24%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[44/522], Percentage[8.43%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[45/522], Percentage[8.62%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[46/522], Percentage[8.81%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[47/522], Percentage[9.00%]\n        ...\n        ...\n        ...\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[517/522], Percentage[99.04%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[518/522], Percentage[99.23%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[519/522], Percentage[99.43%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[520/522], Percentage[99.62%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[521/522], Percentage[99.81%]\n        Upload process: file_to_upload[20240126084440-backup.dump], Chunks[522/522], Percentage[100.00%]\n\n## Test 2, function: container_blob_upload_data_transfer_options no console output\n    file: 20240126084440-backup.dump\n    size: 2.03 GB        \n    parameters:\n        - self.__chunk_size_bytes=4*1024*1024 # 4 MiB\n        - self.__max_single_put_size=8*1024*1024 # 8 MiB.\n        - max_concurrency=1\n    Elapsed time: 00:11:19\n    Unsupported formats: ---\n    Output: Not available\n\n## Test 3, function: container_blob_upload_data_transfer_options no console output\n    file: 20240126084440-backup.dump\n    size: 2.03 GB        \n    parameters:\n        - self.__chunk_size_bytes=4*1024*1024 # 4 MiB\n        - self.__max_single_put_size=8*1024*1024 # 8 MiB.\n        - max_concurrency=2\n    Elapsed time: 00:03:50\n    Unsupported formats: ---\n    Output: Not available\n\n## Test 4, function: container_blob_upload_data_transfer_options no console output\n    file: 20240126084440-backup.dump\n    size: 2.03 GB        \n    parameters:\n        - self.__chunk_size_bytes=4*1024*1024 # 4 MiB\n        - self.__max_single_put_size=8*1024*1024 # 8 MiB.\n        - max_concurrency=3\n    Elapsed time: 00:03:38\n    Unsupported formats: ---\n    Output: Not available\n\n---\n\n# Semantic Versioning\n\nlogyca_azure_storage_blob < MAJOR >.< MINOR >.< PATCH >\n\n* **MAJOR**: version when you make incompatible API changes\n* **MINOR**: version when you add functionality in a backwards compatible manner\n* **PATCH**: version when you make backwards compatible bug fixes\n\n## Definitions for releasing versions\n* https://peps.python.org/pep-0440/\n\n    - X.YaN (Alpha release): Identify and fix early-stage bugs. Not suitable for production use.\n    - X.YbN (Beta release): Stabilize and refine features. Address reported bugs. Prepare for official release.\n    - X.YrcN (Release candidate): Final version before official release. Assumes all major features are complete and stable. Recommended for testing in non-critical environments.\n    - X.Y (Final release/Stable/Production): Completed, stable version ready for use in production. Full release for public use.\n\n---\n\n# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n## Types of changes\n\n- Added for new features.\n- Changed for changes in existing functionality.\n- Deprecated for soon-to-be removed features.\n- Removed for now removed features.\n- Fixed for any bug fixes.\n- Security in case of vulnerabilities.\n\n## [0.0.1rc1] - 2024-05-24\n### Added\n- First tests using pypi.org in develop environment.\n\n## [0.1.0] - 2024-05-24\n### Added\n- Completion of testing and launch into production.\n\n## [0.1.2] - 2024-07-18\n### Changed\n- Two filter sa container blob list are added. modified hours ago to return modified blobs after x hours and include_subfolders to return only blobs from the received folder list.\n\n## [0.1.3] - 2025-09-26\n### Changed\n- A new parameter is added when downloading a file to rename it on the fly on disk to the following function: container_blob_download_data_transfer_options\n\n## [0.1.4] - 2025-10-05\n### Fixed\n- Adjustment in the container_create function when selecting the type of container to create, public, container, etc.\n\n## [0.1.5] - 2025-10-05\n### Fixed\n- Correction of error messages when handling existing containers or containers with different states.\n\n## [0.2.0] - 2025-10-05\n### Added\n- The new function container_blob_delete_by_age has been added to purge files by modification date. Possible uses include temporary files or archiving compliance.\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An integration package created by the company LOGYCA to interact with the blob container files in your Azure Storage account.",
    "version": "0.2.0",
    "project_urls": {
        "homepage": "https://github.com/logyca/python-libraries/tree/main/logyca-azure-storage-blob"
    },
    "split_keywords": [
        "azure",
        " blob",
        " download",
        " storage",
        " upload"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0125ea793f57c9fd21db86887e2634e14e7de95980372502f016257ce84e585c",
                "md5": "91c666c3ee1a13bf89597a247bbd55af",
                "sha256": "4ae165224e55d43ef5dc1a07b7ae631b783fdd683d05953fa94278ca68afca5f"
            },
            "downloads": -1,
            "filename": "logyca_azure_storage_blob-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "91c666c3ee1a13bf89597a247bbd55af",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 13833,
            "upload_time": "2025-10-10T15:03:17",
            "upload_time_iso_8601": "2025-10-10T15:03:17.520548Z",
            "url": "https://files.pythonhosted.org/packages/01/25/ea793f57c9fd21db86887e2634e14e7de95980372502f016257ce84e585c/logyca_azure_storage_blob-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "187cc19993079b968d50d0928891d7529e00cb13d8e5d8d9645e0f4eadcd8527",
                "md5": "e629622a80ac099f9b6530b2f197dfb1",
                "sha256": "33eafb84b8b1e628fc7c62c964b031296de8bdd4f968c82db00c213f6257068e"
            },
            "downloads": -1,
            "filename": "logyca_azure_storage_blob-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e629622a80ac099f9b6530b2f197dfb1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 21059,
            "upload_time": "2025-10-10T15:03:18",
            "upload_time_iso_8601": "2025-10-10T15:03:18.808955Z",
            "url": "https://files.pythonhosted.org/packages/18/7c/c19993079b968d50d0928891d7529e00cb13d8e5d8d9645e0f4eadcd8527/logyca_azure_storage_blob-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-10 15:03:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "logyca",
    "github_project": "python-libraries",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "logyca-azure-storage-blob"
}