apteryx
Advanced tools
@@ -0,1 +1,2 @@ | ||
| import pathlib | ||
| from typing import Union | ||
@@ -57,3 +58,3 @@ from pathlib import Path | ||
| def rename_blob(blob: storage.blob.Blob, new_name: str, client=client): | ||
| def rename_blob(blob: storage.blob.Blob, new_name: Union[str, pathlib.Path], client=client): | ||
| """Renames a blob.""" | ||
@@ -64,2 +65,5 @@ # bucket_name = "your-bucket-name" | ||
| if isinstance(new_name, pathlib.Path): | ||
| new_name = str(new_name) | ||
| bucket = client.bucket(blob.bucket.name) | ||
@@ -66,0 +70,0 @@ |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: apteryx | ||
| Version: 1.0.9 | ||
| Version: 1.0.10 | ||
| Summary: Utilities and useful things for Apteryx Labs | ||
@@ -5,0 +5,0 @@ License: MIT |
+1
-1
@@ -7,3 +7,3 @@ [build-system] | ||
| name = "apteryx" | ||
| version = "1.0.9" | ||
| version = "1.0.10" | ||
| description = "Utilities and useful things for Apteryx Labs" | ||
@@ -10,0 +10,0 @@ authors = [ "apteryxlabs <matthew@apteryxlabs.com>",] |
+1
-1
@@ -23,3 +23,3 @@ # -*- coding: utf-8 -*- | ||
| 'name': 'apteryx', | ||
| 'version': '1.0.9', | ||
| 'version': '1.0.10', | ||
| 'description': 'Utilities and useful things for Apteryx Labs', | ||
@@ -26,0 +26,0 @@ 'long_description': None, |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
6559
1.8%137
2.24%