Skip to main content

pypi pypi pypi

Scikit Cache

Pickle-based caching library. Supports file-system caching only.

Installation

pip install scikit_cache

Or to develop package you may install dev dependencies:

pip install -e ".[dev]" && pip uninstall -y scikit_cache

How to disable logs

Option 1: Disable all logs in cache controller

from scikit_cache import CacheController

cache = CacheController(..., logger=None)

Option 2: Disable specific logs

To disable specific logs you need to add one of these lines before executing code with cache:

import logging

# Disable basic logs like "cache enabled" or "cache disabled"
logging.getLogger('scikit_cache.controller').setLevel(logging.ERROR)

# Disable logs from "@cache.decorator" only
logging.getLogger('scikit_cache.decorator').setLevel(logging.ERROR)

# Disable logs for estimators created by "make_cached_estimator"
logging.getLogger('scikit_cache.estimator').setLevel(logging.ERROR)

# Disable hashing errors
logging.getLogger('scikit_cache.hashing').setLevel(logging.ERROR)

Metadata

Release files for scikit-cache 0.1.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 scikit-cache 0.1.2
File Size Uploaded
scikit-cache-0.1.2.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scikit-cache 0.1.2
File Interpreter ABI Platform
scikit_cache-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 56.9 kB

Release files / scikit-cache-0.1.2.tar.gz

Download URL scikit-cache-0.1.2.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e09d76f37a1a66f03bb85c8101a1f0bced23dc888a0a3d83f9098faccc17ac81
BLAKE2b-256 checksum
How to use checksums
030be75c651119af7a752239657fb93bba95fc1e3a9a70e14bd9ca31ba60dc1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / scikit_cache-0.1.2-py3-none-any.whl

Download URL scikit_cache-0.1.2-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28b8398b6ac61be5a893e15dadf8a84aad14b9be9fb2ab0eb543fdb964ab65ef
BLAKE2b-256 checksum
How to use checksums
aa4712044ac4f0f21ac293d55c44d517e321a3069616601158cdcd279874b3b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

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