CacheStats#

class scikitplot.cython.CacheStats(cache_root=<factory>, n_modules=0, n_packages=0, total_bytes=0, pinned_aliases=0, pinned_keys=0, newest_mtime_utc=None, oldest_mtime_utc=None)[source]#

Cache statistics for the compiled-artifact cache root.

Parameters:
cache_rootpathlib.Path

Cache root directory.

n_modulesint

Number of module entries (kind == 'module').

n_packagesint

Number of package entries (kind == 'package').

total_bytesint

Total disk usage in bytes for all entries.

pinned_aliasesint

Number of pin aliases in the pin registry.

pinned_keysint

Number of unique pinned keys in the pin registry.

newest_mtime_utcstr or None

UTC timestamp (...Z) of the newest entry’s last-modified time.

oldest_mtime_utcstr or None

UTC timestamp (...Z) of the oldest entry’s last-modified time.

Parameters:
  • cache_root (Path)

  • n_modules (int)

  • n_packages (int)

  • total_bytes (int)

  • pinned_aliases (int)

  • pinned_keys (int)

  • newest_mtime_utc (str | None)

  • oldest_mtime_utc (str | None)

cache_root: Path#

!! processed by numpydoc !!

n_modules: int#

!! processed by numpydoc !!

n_packages: int#

!! processed by numpydoc !!

newest_mtime_utc: str | None#

!! processed by numpydoc !!

oldest_mtime_utc: str | None#

!! processed by numpydoc !!

pinned_aliases: int#

!! processed by numpydoc !!

pinned_keys: int#

!! processed by numpydoc !!

total_bytes: int#

!! processed by numpydoc !!