barecat#

Barecat is a fast random-access, mountable archive format for storing and accessing many small files.

Submodules#

Classes#

Barecat

Object for reading or writing a Barecat archive.

Index

Manages the SQLite database storing metadata about the files and directories in the Barecat

Sharder

An abstract base class for context managers.

BarecatDirInfo

Describes directory information such as path, metadata and statistics.

BarecatEntryInfo

Base class for file and directory information classes.

BarecatFileInfo

Describes file information such as path, location in the shards and metadata.

Order

Ordering specification for file and directory listings.

BarecatFileObject

Base class for Barecat file-like objects.

BarecatReadOnlyFileObject

File-like object representing a section of a file.

BarecatReadWriteFileObject

File-like object for writing to a barecat file with spillover support.

DecodedView

Dict-like view that always encodes/decodes based on file extension.

Functions#

get_completion_script([shell])

Return the path to the shell completion script.

get_cached_reader(path[, auto_codec])

Get a thread-locally cached read-only Barecat reader.

open(path[, mode, auto_codec, threadsafe_reader])

Open a Barecat archive.