Manager Reference

The managers Module

A collection of file managers.

ciowarehouse2.managers.includeme(configurator)[source]

Function to include CioWarehouse2 managers.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

The managers.directory Module

A file managerxs for directories.

ciowarehouse2.managers.directory.includeme(configurator: Configurator)[source]

Function to include directory manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.directory.ManagerDirectory[source]

Class to manage a directory.

The managers.text Module

A file manager for text files.

ciowarehouse2.managers.text.includeme(configurator: Configurator)[source]

Function to include a text manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.text.ManagerText[source]

Class to manage a text file.

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()

The managers.code Module

A file manager for files of code (language, regex…).

ciowarehouse2.managers.code.includeme(configurator: Configurator)[source]

Function to include a code manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.code.ManagerCode[source]

Class to manage a code file.

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()

The managers.config Module

A file manager for config files.

ciowarehouse2.managers.config.includeme(configurator: Configurator)[source]

Function to include a configuration manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.config.ManagerConfig[source]

Class to manage a config config file.

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()

The managers.image Module

A file manager for Web images.

ciowarehouse2.managers.image.includeme(configurator: Configurator)[source]

Function to include an image manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.image.ManagerImage[source]

Class to manage an Web image.

match(ciotype: CioType) bool[source]

Check whether this file manager matches with the CioType.

See: lib.manager.Manager.match()

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()

The managers.audio Module

A file manager for audios.

ciowarehouse2.managers.audio.includeme(configurator: Configurator)[source]

Function to include an audio manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.audio.ManagerAudio[source]

Class to manage an audio.

match(ciotype: CioType) bool[source]

Check whether this file manager matches with the CioType.

See: lib.manager.Manager.match()

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()

The managers.video Module

A file manager for videos.

ciowarehouse2.managers.video.includeme(configurator: Configurator)[source]

Function to include a video manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.video.ManagerVideo[source]

Class to manage an video.

match(ciotype: CioType) bool[source]

Check whether this file manager matches with the CioType.

See: lib.manager.Manager.match()

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()

The managers.pdf Module

A file manager for PDF file.

ciowarehouse2.managers.pdf.includeme(configurator: Configurator)[source]

Function to include a PDF manager.

Parameters:

configurator (pyramid.config.Configurator) – Object used to do configuration declaration within the application.

class ciowarehouse2.managers.pdf.ManagerPdf[source]

Class to manage a PDF file.

view(request: Request, warehouse: Warehouse, ciopath: CioPath, ts_factory=None) str | None[source]

Return a string containing HTML to display the file.

See: lib.manager.Manager.view()