joblibgcs
A google cloud storage memory backend for joblib
import numpy as np
from joblib import Memory, register_store_backend
from joblibgcs.gcs_backend import GCSFSStoreBackend
register_store_backend("gcs", GCSFSStoreBackend)
mem = Memory(
"cache-location",
backend="gcs",
verbose=100,
backend_options={"project": "project-name"},
)
multiply = mem.cache(np.multiply)
array1 = np.arange(10000)
array2 = np.arange(10000)
result = multiply(array1, array2)
print(result)
result2 = multiply(array1, array2)
print(result2)
Release files for joblibgcs 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| joblibgcs-0.2.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| joblibgcs-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / joblibgcs-0.2.0.tar.gz
| Download URL | joblibgcs-0.2.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed8f1f47df8f11ef24c3f55e7d6351b5add5132b10ad2c33f8609f9893452d14
|
|
BLAKE2b-256 checksum How to use checksums |
c200bad4493c1ef057dfb5b11283a52c60c938782d0c0f2dd75f3ae396650fdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.4.0-124-generic
|
Release files / joblibgcs-0.2.0-py3-none-any.whl
| Download URL | joblibgcs-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3f4b3c3bcf1cb2395d72e49808bbbe599f99cd749bd5bf0d0b04304748cd683
|
|
BLAKE2b-256 checksum How to use checksums |
5848b77b77e9f1b2e21288f42da5f3a105bb43dabd82151c12271611fc81b0b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.4.0-124-generic
|