sdkagent

joblib API reference

64 public APIs from joblib (joblib/joblib) — 31 classes, 8 functions, 25 methods. Signatures extracted by static analysis of the actual source.

Repository: joblib/joblib

KindCount
Classes31
Functions8
Methods25

API list

classjoblib._dask.Batch
dask-compatible wrapper that executes a batch of tasks
classjoblib._memmapping_reducer.ArrayMemmapForwardReducer
Reducer callable to dump large arrays to memmap files.
classjoblib._parallel_backends.AutoBatchingMixin
A helper class for automagically batching jobs.
classjoblib._parallel_backends.FallbackToBackend
Raised when configuration should fallback to another backend
methodjoblib._parallel_backends.LokyBackend.submit(func, callback=None)
Schedule a func to be run
classjoblib._parallel_backends.MultiprocessingBackend
A ParallelBackend which will use a multiprocessing.Pool.
classjoblib._parallel_backends.PoolManagerMixin
A helper class for managing pool of workers.
methodjoblib._parallel_backends.PoolManagerMixin.submit(func, callback=None)
Schedule a func to be run
methodjoblib._parallel_backends.PoolManagerMixin.terminate()
Shutdown the process or thread pool
methodjoblib._parallel_backends.SequentialBackend.submit(func, callback=None)
Schedule a func to be run
classjoblib._store_backends.CacheWarning
Warning to capture dump failures except for PicklingError.
classjoblib._store_backends.FileSystemStoreBackend
A StoreBackend used with local or network file systems.
methodjoblib._store_backends.FileSystemStoreBackend.clear_location(location)
Delete location on store.
classjoblib.compressor.BinaryGzipFile
A file object providing transparent gzip (de)compression.
classjoblib.compressor.BinaryZlibFile
A file object providing transparent zlib (de)compression.
methodjoblib.compressor.BinaryZlibFile.close()
Flush and close the file.
methodjoblib.compressor.BinaryZlibFile.closed()
True if this file is closed.
methodjoblib.compressor.BinaryZlibFile.readinto(b)
Read up to len(b) bytes into b.
methodjoblib.compressor.BinaryZlibFile.seek(offset, whence=0)
Change the file position.
methodjoblib.compressor.BinaryZlibFile.tell()
Return the current file position.
methodjoblib.compressor.BinaryZlibFile.write(data)
Write a byte string to the file.
classjoblib.compressor.CompressorWrapper
A wrapper around a compressor file object.
funcjoblib.compressor.register_compressor(compressor_name, compressor, force=False)
Register a new compressor.
funcjoblib.disk.disk_used(path)
Return the disk usage in a directory.
funcjoblib.disk.rm_subdirs(path, onerror=None)
Remove all subdirectories in this path.
funcjoblib.externals.loky.backend._posix_reduction.DupFd(fd)
Return a wrapper for an fd.
classjoblib.externals.loky.backend.context.LokyContext
Context relying on the LokyProcess.
methodjoblib.externals.loky.backend.context.LokyContext.Condition(lock=None)
Returns a condition object
methodjoblib.externals.loky.backend.context.LokyContext.Event()
Returns an event object
methodjoblib.externals.loky.backend.context.LokyContext.Lock()
Returns a lock object
methodjoblib.externals.loky.backend.context.LokyContext.Queue(maxsize=0, reducers=None)
Returns a queue object
methodjoblib.externals.loky.backend.context.LokyContext.RLock()
Returns a recurrent lock object
methodjoblib.externals.loky.backend.context.LokyContext.Semaphore(value=1)
Returns a semaphore object
methodjoblib.externals.loky.backend.context.LokyContext.SimpleQueue(reducers=None)
Returns a queue object
classjoblib.externals.loky.backend.popen_loky_win32.Popen
Start a subprocess to run the code of a process object.
classjoblib.externals.loky.backend.resource_tracker.ResourceTracker
Resource tracker with refcounting scheme.
funcjoblib.externals.loky.backend.resource_tracker.main(fd, verbose=0)
Run resource tracker.
classjoblib.hashing.NumpyHasher
Special case the hasher for when numpy is loaded.
classjoblib.logger.Logger
Base class for logging messages.
methodjoblib.logger.Logger.format(obj, indent=0)
Return the formatted representation of the object.
classjoblib.logger.PrintTime
Print and log messages while keeping track of time.
classjoblib.memory.MemorizedResult
Object representing a cached value.
methodjoblib.memory.MemorizedResult.clear()
Clear value from cache
methodjoblib.memory.MemorizedResult.get()
Read value from cache and return it.
methodjoblib.memory.Memory.clear(warn=True)
Erase the complete cache directory.
classjoblib.memory.NotMemorizedFunc
No-op object decorating a function.
classjoblib.memory.NotMemorizedResult
Class representing an arbitrary value.
funcjoblib.memory.register_store_backend(backend_name, backend)
Extend available store backends.
classjoblib.numpy_pickle.NumpyArrayWrapper
An object to be persisted instead of numpy arrays.
methodjoblib.numpy_pickle.NumpyArrayWrapper.read_mmap(unpickler)
Read an array using numpy memmap.
classjoblib.numpy_pickle.NumpyPickler
A pickler to persist big data efficiently.
methodjoblib.numpy_pickle.NumpyPickler.save(obj)
Subclass the Pickler `save` method.
classjoblib.numpy_pickle.NumpyUnpickler
A subclass of the Unpickler to unpickle our numpy pickles.
classjoblib.numpy_pickle_compat.NDArrayWrapper
An object to be persisted instead of numpy arrays.
methodjoblib.numpy_pickle_compat.NDArrayWrapper.read(unpickler)
Reconstruct the array.
classjoblib.numpy_pickle_compat.ZNDArrayWrapper
An object to be persisted instead of numpy arrays.
classjoblib.numpy_pickle_compat.ZipNumpyUnpickler
A subclass of the Unpickler to unpickle our numpy pickles.
classjoblib.parallel.Parallel
Helper class for readable parallel mapping.
funcjoblib.parallel.cpu_count(only_physical_cores=False)
Return the number of CPUs.
classjoblib.pool.CustomizablePickler
Pickler that accepts custom reducers.
classjoblib.pool.CustomizablePicklingQueue
Locked Pipe implementation that uses a customizable pickler.
classjoblib.pool.MemmappingPool
Process pool that shares large arrays to avoid memory copy.
classjoblib.pool.PicklingPool
Pool implementation with customizable pickling reducers.
funcjoblib.testing.warnings_to_stdout()
Redirect all warnings to stdout.

About this data

These signatures were extracted from the public source of joblib/joblib using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries