epygram.containers — Containers

Contains the containers for a Resource.

class epygram.containers.File(*args, **kwargs)[source]

Bases: epygram.util.RecursiveObject, footprints.FootprintBase

Generic class implementing a File.

Footprint:

dict(
    attr = dict(
        filename = dict(
            access = 'rxx', 
            alias = set(['f']), 
            default = None, 
            info = 'Relative or absolute pathname.', 
            optional = False, 
            outcast = set([]), 
            remap = dict(), 
            type = str, 
            values = set([]),
        ),
    ), 
    bind = [], 
    info = 'Not documented', 
    only = dict(), 
    priority = dict(
        level = footprints.priorities.PriorityLevel::DEFAULT,
    ),
)
absdir[source]

Returns the absolute path of the directory of the file.

abspath[source]

Returns the absolute path of the file.

basename[source]

Returns the basename of the file.

Previous topic

epygram.base — Basic, non-specific classes

Next topic

Geometries

This Page