API#
Extensions#
|
Create a decorator for registering custom functionality with a class. |
Types used by the former:
|
Protocol for extension namespaces. |
Examples: Extension namespaces
Deprecations#
|
Decorator to indicate that a class, function, or overload is deprecated. |
|
Decorator to indicate that a function argument is deprecated. |
|
Utility class storing information on deprecated functionality. |
Examples: Deprecating a function, Deprecating a function argument, Settings class
Settings#
|
Base class for package settings. |
Examples: Settings class
Datasets (scverse_misc.datasets)#
Reusable, declarative dataset download for scverse packages.
Parse a YAML registry into typed DatasetEntry objects, then download and load
one with fetch(). Dataset type strings are dispatched against a pluggable loader
registry (register_loader()); anndata and spatialdata loaders ship built in.
Requires the datasets extra (pip install scverse-misc[datasets]); the built-in
spatialdata loader additionally needs the spatialdata extra.
|
A named dataset made up of one or more files. |
|
A single downloadable file belonging to a dataset. |
|
Parse a YAML registry into |
|
Download (if needed) and load |
|
|
Return the names of all registered loader types. |
|
|
Function that can be annotated by |
|
Callback passed as |