Example

Let's create an empty class, which will automatically receive special attributes from the decorating ClassorClass, specially the NameStr, that should be the ClassStr without the TypeStr in the end.


In [1]:
#ImportModules
import ShareYourSystem as SYS
from ShareYourSystem.Standards.Objects import Notebooker

#Definition a Notebooker
MyNotebooker=Notebooker.NotebookerClass().notebook()
		
#Definition the AttestedStr
SYS._attest(
	[
		'MyNotebooker is '+SYS._str(
		MyNotebooker,
		**{
			'RepresentingBaseKeyStrsListBool':False
		}
		)
	]
)  

#Print
print(AttestedStr)


        
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        ////////////////////////////////
        Celler/__init__.py cell
        From Notebooker/__init__.py notebook | <Str> <module>
        ////////////////////////////////
        
        l.284 : 
        *****
        I am with []
        *****
        self.CelledModuleStr is ShareYourSystem.Standards.Objects.Notebooker
        self.CelledParentModuleStr is ShareYourSystem.Standards.Objects
        
        xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                


*****Start of the Attest *****

MyNotebooker is         < (NotebookerClass), 4467769616>
           /{ 
           /  '<New><Instance>CelledDict' : 
           /   /{ 
           /   /  'ClassCell.md' : 02_ClassCell.md
           /   /  'ClassCell.py' : 03_ClassCell.py
           /   /  'ExampleReadmeCell.md' : 00_ExampleReadmeCell.md
           /   /  'ExampleReadmeCell.py' : 01_ExampleReadmeCell.py
           /   /  'InstanceCell.md' : 04_InstanceCell.md
           /   /  'InstanceCell.py' : 05_InstanceCell.py
           /   /}
           /  '<New><Instance>CelledFileKeyStrsList' : ['00_ExampleReadmeCell.md', '01_ExampleReadmeCell.py', '02_ClassCell.md', '03_ClassCell.py', '04_InstanceCell.md', '05_InstanceCell.py']
           /  '<New><Instance>CelledModuleStr' : ShareYourSystem.Standards.Objects.Notebooker
           /  '<New><Instance>CelledNameStr' : Notebooker
           /}

*****End of the Attest *****



More Descriptions at the level of the class

Special attributes of the NotebookerClass are :


In [3]:
#ImportModules
import ShareYourSystem as SYS
from ShareYourSystem.Standards.Objects import Notebooker
		
#Definition the AttestedStr
SYS._attest(
	[
		'DefaultAttributeItemTuplesList is '+SYS._str(
			Notebooker.NotebookerClass.DefaultAttributeItemTuplesList,
			**{'RepresentingAlineaIsBool':False}
		)
	]
) 

#Print
print(AttestedStr)



*****Start of the Attest *****

DefaultAttributeItemTuplesList is 
   /[
   /  0 : ('NotebookingKeyStr', '')
   /  1 : 
   /   /(
   /   /  0 : NotebookingWriteBool
   /   /  1 : True
   /   /)
   /  2 : ('NotebookedLoaderPointer', None)
   /  3 : 
   /   /(
   /   /  0 : NotebookedFileKeyStrsList
   /   /  1 : []
   /   /)
   /  4 : 
   /   /(
   /   /  0 : NotebookedCellFileKeyStrsList
   /   /  1 : []
   /   /)
   /  5 : 
   /   /(
   /   /  0 : NotebookedCodeDict
   /   /  1 : 
   /   /   /{ 
   /   /   /}
   /   /)
   /]

*****End of the Attest *****



More Descriptions at the level of the instances

A default call of an instance gives :


In [5]:
#ImportModules
from ShareYourSystem.Standards.Classors import Attester
from ShareYourSystem.Standards.Objects import Notebooker
		
#Definition the AttestedStr
SYS._attest(
	[
		Notebooker.NotebookerClass()
	]
) 

#Print
print(AttestedStr)



*****Start of the Attest *****

< (NotebookerClass), 4456145232>
   /{ 
   /}

*****End of the Attest *****