userfs package#

Subpackages#

Submodules#

userfs.app module#

This package’s command-line entry-point application.

userfs.app.add_app_args(parser: ArgumentParser) None[source]#

Add application-specific arguments to the command-line parser.

userfs.app.entry(args: Namespace) int[source]#

Execute the requested task.

userfs.entry module#

This package’s command-line entry-point (boilerplate).

userfs.entry.main(argv: List[str] = None) int[source]#

Program entry-point.

userfs.paths module#

A module for working with the Python search path.

userfs.paths.paths_added(paths: List[Path]) Iterator[None][source]#

Add search paths to sys.path as a context manager.

userfs.schemas module#

A module for working with schemas belonging to this package.

class userfs.schemas.UserfsDictCodec(data: dict[str, str | int | float | bool | None | dict[str, str | int | float | bool | None] | list[str | int | float | bool | None]] = None, schemas: SchemaMap = None, dest_attr: str = 'data', verify: bool = True)[source]#

Bases: DictCodec

A simple wrapper for package classes that want to implement DictCodec.

default_schemas: SchemaMap | None = {'SourceSpecification': <vcorelib.schemas.json.JsonSchema object>, 'Config': <vcorelib.schemas.json.JsonSchema object>, 'ProjectSpecification': <vcorelib.schemas.json.JsonSchema object>}#

Module contents#

Useful defaults and other package metadata.