asdf.typing Module

asdf.typing Module

This module contains type aliases and protocols useful for type checking.

Classes

ExtensionLike(*args, **kwargs)

Object that contains an extension URI and can be wrapped by ExtensionProxy.

Reader()

Protocol for simple I/O reader instances.

TreeKey

Valid ASDF tree keys

Writer()

Protocol for simple I/O writer instances.

Variables

ArrayStorage

Supported array storage modes

AsdfVersionLike

A type interpretable as a version number

Compression

Supported compression types

FileLike

Readable/writable file object or the path or URI of an openable file

FileMode

Supported modes for opening a file

FilterFn

Function used to filter nodes in an ASDF tree

PathLike

Local file path or remote file URI