EntityScript

Draft 1.01:
Index







Sections: Status -> Approved

1.) EntityScript™ Overview - Overview of the project

2.) .entity/.ds Lookups - Overview of basic .entity and .ds file relationships. An overview of each file.

3.) Special File Types - Overview of special types of methods, files, and types in C.ORE™

4.) Log File Types - Overview of Logging within C.ORE™

5.) Using OpenPackager™ - Overview of the OpenPackager™ project and details regarding using the sub-system for organizing the base system and addons.

6.) Locations - Overview of various parts of the IPDVC™ file system

7.) System Audits - Overview of various audit mechanisms present in C.ORE™ and how to use them.

8.) C.ORE™ Scripts - Overview of scripts that run in C.ORE™, the purpose they have, overview of some scripting philosophy, and some usage examples.

9.) Startup - Step-by-step process of startup routines and how to extend them

10.) C.ORE™: AirEP™ file system (Access Identity Ring Entertainment Platform: AirEP™ - Understand more about the Access, Identity, Ring

11.) Keys: Each of the built-in keys that can be used to retrieve meta-information in C.ORE™

12.) How-to: Additional Notes

13.) Moderation: Basic moderation principles

14.) Social Pledge: Basic social-pledge for your interface and who you interact with

15.) Disclaimers: Basic recommendations for your interface and dealing with various types of commerce

16.) Additional Resources: Dig deeper into the technical stack, program methods, variables, and other happenings within CORE.HOST™

core_count




"""
Copyright (C) 2020 New Entity Operations Inc.

ALL RIGHTS RESERVED

core_count counts entries in your core.es quick context-file and
checks to see if the system is currently counting time.

"""
## Imports: Custom
from core_middlelayer import (
 COREES, DIRDATA
)
## Establish stateful interface types
UPINTERFACE = 0
STATEINTERFACE = 0

## Establish basic counter objects
class COUNTER:
    """
    'COUNTER' provides methods to inspect COREES summary files
    """
    def tally_core():
        core_lines = 0

        with open (DIRDATA+COREES, 'rt') as c:
            for line in c:
                core_lines += 1
                # return(core_lines-1)
        print("\n")
        print(core_lines-1, " Figments")
        print("\n")

        c.close()

## Establish basic state objects
class UP:
    """
    Is the interface up?
    """
    if UPINTERFACE == 0:
        print("NO")
    else:
        print(1)

class STATE:
    """
    Is the machine state established?
    """
    if STATEINTERFACE == 0:
        print("NO")
    else:
        print(1)




Return HOME