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 default script start position




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

ALL RIGHTS RESERVED

core_build reads system resources and makes determinations about build or
system choice made by the operator.

_build also establishes the 'CORE_DIR' which can be linked to for expanded
emulator functions and text-mode searching

"""
## Imports: Standard
from sys import (
 copyright, platform
)

## Imports: Custom
from core_middlelayer import (
 DIRDATA,
 STRUCTURE
)

## Define the relative position for the program
CORE_DIR = '.'
STRUCTURE = DIRDATA+STRUCTURE

## Platform check
class SystemPlatform:
    """
    SystemPlatform class to check for a known system platform type

    If no known platform-type is found, 'Unknown System is returned

    """
    def get_platform():
        # START: STEP 5 - Enable system programs
        print(
           "---------- START: STEP 5 - Enable system programs ----------"
        )
        if platform == 'win32':
            print('Windows 32-bit Platform')
        elif platform == 'win64':
            print('Windows 64-bit Platform')
        elif platform.startswith('darwin'):
            print('macOS Darwin Build Platform')
        elif platform.startswith('linux'):
            print('Linux Platform')
        elif platform.startswith('freebsd'):
            print('FreeBSD Platform')
        elif platform.startswith('aix'):
            print('AIX Platform')
        elif platform.startswith('cygwin'):
            print('Windows CYGWIN Platform')
        elif platform.startswith('entity'):
            print('Entity-centric System Platform')
        else:
            print('Unknown System')
        print(
            "---------- STOP: STEP 5 - Enable system programs ----------\n"
        )
        # STOP: STEP 5

# Display the default Python copyright information
class DisplayImplementationLanguageCopyright:
    """
    Display the 'ImplementationLanguageCopyright'

    Whatever you're building out with, if it requries a copyright notice,
    you may push it out here in an automated routine.


    z = copyright is set to display the default python copyright

    If you would like, add more languages and their if you intend 
    to redistribute the program as a collected resource, 
    tie each resource copyright in as z1, z2, z3, etc. and provide a 
    lookup routine to access it.

    """
    def information():
        z = copyright
        print(
            "----- PYTHON COPYRIGHT INFORMATION ----- "
        )
        print(copyright)

# DisplayCopyright.information()



Return HOME