conda_tools package

Submodules

conda_tools.cache module

conda_tools.cache_utils module

conda_tools.common module

class conda_tools.common.lazyproperty(func)[source]

Bases: object

conda_tools.config module

conda_tools.config.load_config(path)[source]
conda_tools.config.save_config(path, config)[source]

conda_tools.environment module

conda_tools.environment_utils module

conda_tools.history module

conda_tools.lru_cache module

conda_tools.lru_cache.lru_cache(maxsize=100, typed=False)[source]

Least-recently-used cache decorator.

If maxsize is set to None, the LRU features are disabled and the cache can grow without bound.

If typed is True, arguments of different types will be cached separately. For example, f(3.0) and f(3) will be treated as distinct calls with distinct results.

Arguments to the cached function must be hashable.

View the cache statistics named tuple (hits, misses, maxsize, currsize) with f.cache_info(). Clear the cache and statistics with f.cache_clear(). Access the underlying function with f.__wrapped__.

See: http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used

conda_tools.package module

class conda_tools.package.Package(path, mode='r')[source]

Bases: object

conda_tools.utils module

conda_tools.utils.is_hardlinked(f1, f2)[source]

Determine if two files are hardlinks to the same inode.

Module contents