Internal API reference

lsst.resources.utils Module

Functions

os2posix(ospath)

Convert a local path description to a POSIX path description.

posix2os(posix)

Convert a POSIX path description to a local path description.

Classes

NoTransaction()

A simple emulation of the DatastoreTransaction class.

TransactionProtocol(*args, **kwargs)

Protocol for type checking transaction interface.

Class Inheritance Diagram

Inheritance diagram of lsst.resources.utils.NoTransaction, lsst.resources.utils.TransactionProtocol

lsst.resources._resourceHandles._baseResourceHandle Module

Classes

BaseResourceHandle(mode, log, *[, newline])

Base class interface for the handle like interface of ResourcePath subclasses.

CloseStatus(value)

Enumerated closed/open status of a file handle, implementation detail that may be used by BaseResourceHandle children.

ResourceHandleProtocol(*args, **kwargs)

Defines the interface protocol that is compatible with children of BaseResourceHandle.

Class Inheritance Diagram

Inheritance diagram of lsst.resources._resourceHandles._baseResourceHandle.BaseResourceHandle, lsst.resources._resourceHandles._baseResourceHandle.CloseStatus, lsst.resources._resourceHandles._baseResourceHandle.ResourceHandleProtocol

lsst.resources._resourceHandles._fileResourceHandle Module

Classes

FileResourceHandle(mode, log, *, filename, ...)

File based specialization of BaseResourceHandle

Class Inheritance Diagram

Inheritance diagram of lsst.resources._resourceHandles._fileResourceHandle.FileResourceHandle