jasy.item package¶
Submodules¶
jasy.item.Abstract module¶
-
class
jasy.item.Abstract.
AbstractItem
(project, id=None, package=None)[source]¶ Bases:
object
-
classmethod
fromPath
(project, relpath, package=None)[source]¶ Initialize MyData from a dict’s items.
-
getId
()[source]¶ Returns a unique identify of the class.
Typically as it is stored inside the project.
-
id
= None¶
-
kind
= 'jasy.Item'¶
-
mtime
= None¶
-
project
= None¶
-
classmethod
jasy.item.Asset module¶
-
class
jasy.item.Asset.
AssetItem
(project, id=None, package=None)[source]¶ Bases:
jasy.item.Abstract.AbstractItem
-
kind
= 'jasy.Asset'¶
-
jasy.item.Doc module¶
jasy.item.Script module¶
-
class
jasy.item.Script.
ScriptItem
(project, id=None, package=None)[source]¶ Bases:
jasy.item.Abstract.AbstractItem
-
generateId
(relpath, package)[source]¶ Generates the fileId of this item as being used by other modules.
-
getBreaks
(permutation=None, items=None)[source]¶ Returns all down-priorized dependencies. This are dependencies which are required to make the module work, but are not required being available before the current item.
-
getDependencies
(permutation=None, items=None, fields=None, warnings=True)[source]¶ Returns a set of dependencies seen through the given list of known classes (ignoring all unknown items in original set) and configured fields with their individual detection classes.
This method also makes use of the meta data and the variable data.
-
getScopeData
(permutation=None)[source]¶ Returns the top level scope object which contains information about the global variable and package usage/influence.
-
kind
= 'jasy.Script'¶
-
jasy.item.Style module¶
-
exception
jasy.item.Style.
StyleError
(inst, msg)[source]¶ Bases:
Exception
Error class used for issues during style processing.
-
class
jasy.item.Style.
StyleItem
(project, id=None, package=None)[source]¶ Bases:
jasy.item.Abstract.AbstractItem
-
filterPermutation
(permutation)[source]¶ Returns a new permutation which only contains information about the fields actually accessed in this stylesheet.
-
generateId
(relpath, package)[source]¶ Generates the fileId of this item as being used by other modules.
-
getBreaks
(permutation=None, items=None, warnings=True)[source]¶ Returns all down-priorized dependencies. These are dependencies which are required to make the item work, but are not required being available before the current item.
-
getDependencies
(permutation=None, items=None, fields=None, warnings=True)[source]¶ Returns a set of dependencies seen through the given list of known items (ignoring all unknown items in original set).
-
getMergedTree
(profile)[source]¶ Returns the merged (includes resolved) and optimized.
(permutation values applied) tree.
-
getModificationTime
(profile)[source]¶ Returns the modification date of the stylesheet.
(or the sum of modification dates when using includes)
-
kind
= 'jasy.Style'¶
-
jasy.item.Template module¶
jasy.item.Translation module¶
-
class
jasy.item.Translation.
TranslationItem
(project, id=None, package=None, table=None)[source]¶ Bases:
jasy.item.Abstract.AbstractItem
-
export
(classes, formatted=True)[source]¶ Exports the translation table as JSON based on the given set of classes.
-
generateId
(relpath, package)[source]¶ Generates the fileId of this item as being used by other modules.
-
kind
= 'jasy.Translation'¶
-