# -*- coding: utf-8 -*-
"""
COPYRIGHT (C) 2020-2023 NEW ENTITY OPERATIONS INC. ALL RIGHTS RESERVED
INSTANCE: INSTANCE-> ResourcePool
MODIFIED: 2023/05/15
OVERVIEW: Provide generic POOL_* objects to the instance for various INSTANCE
state-types. POOL objects are meant to alter or define behavior of functional
routines within the program. If the text is descriptive, it should be placed
in the appropriate preset/* silo
local: 'ResourcePool' instance
In this POOL-> _blob, _DEDUCTION_OBJECT, _KEY_WALKER, _OPENPACKAGER, _ORE, _SDV
A POOL_* object tends to have two different status types:
1.) The Value (Sets program behavior)
2.) The Manipulator (changes program behavior)
"""
__version__ = "0.0.5"
__author__ = "Ryan McKenna"
__copyright__ = "Copyright (C) 2023 New Entity Operations Inc."
__credits__ = [
"Ryan McKenna",
"New Entity Operations Inc.", "New Entity Operations, LLC"]
__email__ = "Operator@NewEntityOperations.com"
__license__ = "New Entity License"
__maintainer__ = "Ryan McKenna"
__status__ = "Production"
class POOL_blob:
action_helper_output_confirmation = "The Converted Transaction table is: "
action_helper_text = "The Discovered Blob Was: (Max Records Set to: "
break_point = "--------------------"
op_end_1 = ')'
R_VALUE = 'r'
RETURN_START_FUNC = 'DeductionObject('
simple_state = 1
simple_state_max_records_to_break = 1000
class POOL_DEDUCTION_OBJECT:
R_VALUE = 'r'
RETURN_START_FUNC = 'DeductionObject('
RETURN_VALUE_SLED = '{self.id}, {self.code}, {self.card},' \
'{self.type}, {self.amount}, {self.date},' \
'{self.to})'
VALUE_a="id: ",
VALUE_b="CODE: ",
VALUE_c="Payment Method: ",
VALUE_d="Transaction Type: ",
VALUE_e="VALUE: ",
VALUE_f="TIMESTAMP: ",
VALUE_g="TO: "
class POOL_KEY_WALKER:
break_level = '/'
break_line = '\n'
break_seperator = ' : '
no_quantity = 0
simple_state = 1
W_VALUE = 'w'
class POOL_OPENPACKAGER:
FRAME_TITLE_OPENPACKAGER = "OpenPackager"
OPENPACKAGER_ID_OPENPACKAGER = "DEFAULT"
class POOL_ORE:
## Values
no_quantity = 0
simple_state = 1
simple_state_character_explorer = 1000
## Manipulators
R_VALUE = 'r'
VECTOR_SPLITTER = '[-:]'
class POOL_SDV:
ACT_VALUE_1 = "<>"
AT_END = "end"
B_VALUE = ""
C_VALUE = "configure"
CL_VALUE = 'class'
CO_VALUE_1 = 'black'
CO_VALUE_2 = "green"
CO_VALUE_3 = "red"
CO_VALUE_4 = "orange"
CO_VALUE_5 = "grey"
CO_VALUE_ATR_1 = 'bold'
D_VALUE = "default"
DEF_VALUE = 'def'
EXPAND_TYPE_P = "padding"
F_VALUE = 'from'
FRAME_TITLE_SDV = "Standard Document Viewer"
H_VALUE = 'hashout'
H_VALUE_2 = 'hashoutslave'
H_VALUE_3 = 'hashoutslavetwo'
heading_peg = "#0"
heading_a = "one"
heading_b = "two"
HI_VALUE = 'highlightclass'
I_VALUE = 'import'
local_slug = '.py'
OPENPACKAGER_ID_SDV = "XHNH39OHYSNHWP"
P_VALUE = "#"
R_VALUE = 'r'
RES_VALUE = "No structure with this name was found. \n"
Sp_first = "["
Sp_last = "] "
T_VALUE = 'text'
TIME_SLUG = "JUST NOW"
## MetaPool Loaders
meta_1AO1 = "dir 1"
meta_2AO1 = "dir 2"
meta_3AO1 = "dir 3"
## Descriptor: General
meta_descriptor_name = "columns"
## mets-structure by groupings
meta_value_core = ".CORE/ "
meta_value_core_text = "C.ORE ROOT FILE"
part_value_all_packages = "all_packages"
part_value_all_packages_text = \
"The exact packages running within the virtual environment at this time"
part_value_build_list = "build_list"
part_value_build_list_text = \
"The general packages running within the virtual environment at this time"
part_value_core = "CORE"
part_value_core_text = "Work with core.es or CONSTRUCTED_core.es"
part_value_core_add = "core_add"
part_value_core_add_text = \
"Add an entry to core.es or CONSTRUCTED_core.es'"
part_value_core_alerts = "core_alerts"
part_value_core_alerts_text = "C.ORE alerts logic"
part_value_core_architect = "core_architect"
part_value_core_architect_text = \
"Build constructed classes by ingesting commands"
part_value_core_build_text = "Construct the C.ORE program"
part_value_core_config = "core_config"
part_value_core_config_text = "Set C.ORE values"
part_value_core_count = "core_count"
part_value_core_count_text = "Count core.es or CONSTRUCTED_core.es lines"
part_value_core_creator = "core_creator"
part_value_core_creator_text = "Create a New Entity in C.ORE"
part_value_core_FRONTEND = "core_FRONTEND"
part_value_core_FRONTEND_text = "C.ORE frontend logic"
part_value_core_gatekeeper = "core_gatekeeper"
part_value_core_gatekeeper_text = "Control startup access to your application"
part_value_core_gather = "core_gather"
part_value_core_gather_text = "Activate the advanced C.ORE gather feature"
part_value_core_graphics = "core_graphics"
part_value_core_graphics_text = "Basic C.ORE graphics overview"
part_value_core_hash = "core_hash"
part_value_core_hash_text = "Hash logic for C.ORE operations"
part_value_core_interface = "core_interface"
part_value_core_interface_text = "Work with system resources in C.ORE"
part_value_core_language = "core_language"
part_value_core_language_text = \
"language check script and enforcement mechanism"
part_value_core_middlelayer = "core_middlelayer"
part_value_core_middlelayer_text = \
"extend you core_settings file into manageable write protected sections"
part_value_core_modify = "core_modify"
part_value_core_modify_text = \
"Replace specific core.es or CONSTRUCTED_core.es values"
part_value_core_navigator = "core_navigator"
part_value_core_navigator_text = "File and Meta-logic in C.ORE"
part_value_core_openpackager = "core_openpackager"
part_value_core_openpackager_text = \
"manages package meta-data and system package inspections"
part_value_core_operations = "core_operations"
part_value_core_operations_text = "Backend operations in C.ORE"
part_value_core_RUN = "core_RUN"
part_value_core_RUN_text = ".sh Launch script for window managers"
part_value_core_seeker = "core_seeker"
part_value_core_seeker_text = \
"Find value types in core.es or CONSTRUCTED_core.es"
part_value_core_server = "core_server"
part_value_core_server_text = "Run a communications server with C.ORE"
part_value_core_settings = "core_settings"
part_value_core_settings_text = ".ini to Interface definitions"
part_value_core_START_SERVER = "core_START_SERVER"
part_value_core_START_SERVER_text = "server setup script"
part_value_core_transmitter = "core_transmitter"
part_value_core_transmitter_text = "Transmission prototype file and simulator"
part_value_core_url = "core_url"
part_value_core_url_text = "Work with standard url routines"
part_value_core_view = "core_view"
part_value_core_view_text = "View core.es or CONSTRUCTED_core.es"
part_value_core_init = "__init__"
part_value_core_init_text = "startup script, initialize environment"
part_value_core_MANIFEST = "MANIFEST"
part_value_core_MANIFEST_text = "log of tracked types"
part_value_core_setup = "setup"
part_value_core_setup_text = "setup the C.ORE program with default values"
## Utility
meta_value_utility = "Utility"
meta_value_utility_text = "Utility Routines"
part_value_core_openpackager_internal_constructed_class = "constructed_class"
part_value_core_openpackager_internal_constructed_class_text = \
"Define complex or multi-variable routines"
part_value_core_openpackager_internal_fetch_ORE = "fetch_ORE"
part_value_core_openpackager_internal_fetch_ORE_text = \
"Interact with deeper meta-structures"
part_value_core_openpackager_internal_ingest_commands = "ingest_commands"
part_value_core_openpackager_internal_ingest_commands_text = \
"Construct middlelayer to backend-compliant data-routines."
part_value_core_openpackager_internal_INDEX_ORGANIZER_KEY_LISTER_INDEX = \
"KEY_LISTER_INDEX"
part_value_core_openpackager_internal_INDEX_ORGANIZER_KEY_LISTER_INDEX_text = \
"Create ORE/ index routines."
## Meta-extended
## AIRep
meta_value_airep = "AIRep"
meta_value_airep_text = "The AIR Entertainment Platform"
meta_value_airep_access = "ACCESS/ "
meta_value_airep_access_text = ""
meta_value_airep_access_master_list = "MASTER_LIST/ "
meta_value_airep_access_master_list_text = "Set Allowed Operators"
part_value_airep_access_master_list_allowed_operator = "ALLOWED_OPERATOR.vcn"
part_value_airep_access_master_list_allowed_operator_text = \
"Overview: Allowed operators"
meta_value_airep_access_protection = "PROTECTION/ "
meta_value_airep_access_protection_text = "Store local pem/key pairs"
meta_value_airep_access_structure = "STRUCTURE/ "
meta_value_airep_access_structure_text = "Standard Access controller Structure"
part_value_airep_access_structure_structure = "STRUCTURE.vcn"
part_value_airep_access_structure_structure_text = \
"Overview: Special Structure Permissions"
meta_value_airep_identity = "IDENTITY/ "
meta_value_airep_identity_text = ""
meta_value_airep_identity_bookmarks = "BOOKMARKS/ "
meta_value_airep_identity_bookmarks_text = "Bookmarks tied to your IDENTITY"
meta_value_airep_identity_photo = "PHOTO/ "
meta_value_airep_identity_photo_text = "Member-level photo storage"
meta_value_airep_identity_tagline = "TAGLINE/ "
meta_value_airep_identity_tageline_text = "Member tagline overview"
meta_value_airep_ring = "RING/ "
meta_value_airep_ring_text = ""
meta_value_airep_ring_backup = "BACKUP/ "
meta_value_airep_ring_backup_text = "Stored backup types"
meta_value_airep_ring_documents = "DOCUMENTS/ "
meta_value_airep_ring_documents_text = "EntityScript compliant Documents"
meta_value_airep_ring_entity = "ENTITY/ "
meta_value_airep_ring_entity_text = "EntityScript compliant structures"
meta_value_airep_ring_programs = "PROGRAMS/"
meta_value_airep_ring_programs_text = "System Program linkage"
meta_value_airep_ring_vault_code = "VALUT_CODE/ "
meta_value_airep_ring_vault_code_text = "Stored encoded slugs"
## Manager
meta_value_manager = "Manager"
meta_value_manager_text = "Manage C.ORE system internals"
meta_value_manager_config = "CONFIG/ "
meta_value_manager_config_text = "General system configuration files"
meta_value_manager_data = "DATA/ "
meta_value_manager_data_text = \
"Manage structured data or unstructured data-containers"
meta_value_manager_documentation = "DOCUMENTATION/ "
meta_value_manager_documentation_text = \
"Learn about the C.ORE system internals"
meta_value_manager_hardware = "HARDWARE/ "
meta_value_manager_hardware_text = "Machine specific hardware read-out"
meta_value_manager_licenses = "LICENSES/ "
meta_value_manager_licenses_text = \
"Licneses to various modules, scripts, and packages in C.ORE"
meta_value_manager_openpackager = "OPENPACKAGER/ "
meta_value_manager_openpackager_text = "Segment and define system resources"
meta_value_manager_corehost = "corehost/ "
meta_value_manager_corehost_text = "Resources of a corehost specific origin"
meta_value_manager_corehost_browsemeh = "BROWSEMEH/ "
meta_value_manager_corehost_browsemeh_text = "Visual resource mapping-tool"
meta_value_manager_corehost_eventlolli = "EVENTLOLLI/ "
meta_value_manager_corehost_eventlolli_text = \
"Advertising and event-driven module"
meta_value_manager_corehost_remindme = "REMINDME/ "
meta_value_manager_corehost_remindme_text = "Time-based module"
meta_value_manager_internal = "internal/ "
meta_value_manager_internal_text = "Resources of a internal origin"
meta_value_manager_external = "external/ "
meta_value_manager_external_text = "Resources of a external origin"
meta_value_manager_cache = "__pycache__/ "
meta_value_manager_cache_text = "system cache control-logic"
part_value_manager_cache_L1 = "->LL1"
part_value_manager_cache_L1_text = "L1 cache control-logic"
part_value_manager_cache_L2 = "->LL2"
part_value_manager_cache_L2_text = "L2 cache control-logic"
meta_value_manager_environment = "core-env"
meta_value_manager_environment_text = "C.ORE environment"
## FILTER
meta_value_FILTER = "FILTER/ "
meta_value_FILTER_text = "Filtered single-use virtual instances"
## Deciders
meta_value_FILTER_ADULT_CONTENT_DECIDER = "|_|FILTER_ADULT_CONTENT_DECIDER/ "
meta_value_FILTER_ADULT_CONTENT_DECIDER_text = "Turn Adult Content on or off"
part_value_FILTER_ADULT_CONTENT_DECIDER_FAC = "FILTER_ADULT_CONTENT.RING"
part_value_FILTER_ADULT_CONTENT_DECIDER_FAC_text = "Adult Content Settings"
meta_value_FILTER_COMMUNICATION_RULES = "|_|FILTER_COMMUNICATION_RULES/ "
meta_value_FILTER_COMMUNICATION_RULES_text = \
"Blacklist or whitelist communications"
part_value_FILTER_COMMUNICATION_RULES_FCR = "FILTER_COMMUNICATION_RULES.RING"
part_value_FILTER_COMMUNICATION_RULES_FCR_text = "Communication Settings"
## Machines
meta_value_FILTER_MACHINES = "|_|FILTER_MACHINES/ "
meta_value_FILTER_MACHINES_text = "Setup single-use virtual instances"
meta_value_FILTER_MACHINES_FROM_STOCK_0 = "FROM_STOCK_0/ "
meta_value_FILTER_MACHINES_FROM_STOCK_0_text = "Stock 0 inbound port filter"
meta_value_FILTER_MACHINES_FROM_STOCK_1 = "FROM_STOCK_1/ "
meta_value_FILTER_MACHINES_FROM_STOCK_1_text = "Stock 1 outbound port filter"
part_value_FILTER_MACHINES_FROM_STOCK_1_transfer_to_outline = \
"transfer_to_outline"
part_value_FILTER_MACHINES_FROM_STOCK_1_transfer_to_outline_text = \
"Filtered content before sending"
meta_value_FILTER_MACHINES_MACHINE_DATA = "MACHINES_DATA/ "
meta_value_FILTER_MACHINES_MACHINE_DATA_text = \
"Data derived from or needed to operation FILTER"
meta_value_FILTER_MACHINES_MACHINES = "MACHINES/ "
meta_value_FILTER_MACHINES_MACHINES_text = "Single-use virtual instances"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG = "EXPLORER_RIG/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_text = \
"Standard Virtual Instance"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block = "block/"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_text = \
"Build Filtered logic in block format"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_block_builder = \
"block_builder/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_block_builder_text = \
"Block builder stored default methods"
part_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_network_access_ring = \
"NETWORK_ACCESS.RING"
part_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_network_access_ring_text = \
"I/O and firewall logic"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_database = "database/"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_database_text = \
"Local storage in the Filtered C.ORE"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_interface_asset = \
"interface-assets/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_interface_asset_text = \
"Internet 2.0 Assets: css, html, js, img"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM = "RIG_VM/"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_text = \
"Operations logs from abnormal explorer action"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Hard_Disks = \
"Virutal_Hard_Disks/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Hard_Disks_text = \
"Accessible Virtual Hard Disks for Filtered C.ORE"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Machines = \
"Virtual_Machines/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Machines_text = \
"Virtual Machines from the Filtered C.ORE"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_standard_library = \
"standard-library/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_standard_library_text = \
".entity files collected into a standard library"
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_universe = "universe/ "
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_universe_text = \
"Default storage container for discovered objects"
meta_value_FILTER_MACHINES_MACHINES_RECOVERY_RECOVERY = "RECOVERY/ "
meta_value_FILTER_MACHINES_MACHINES_RECOVERY_RECOVERY_text = "Operations Logs"
meta_value_FILTER_MACHINES_MACHINES_STARTING_STARTING = "STARTING/ "
meta_value_FILTER_MACHINES_MACHINES_STARTING_STARTING_text = \
"Blank .zip or .gz of the Explorer Rig"
meta_value_FILTER_MACHINES_MULTI_PIPELINE = "MULTI_PIPELINE/"
meta_value_FILTER_MACHINES_MULTI_PIPELINE_text = \
"Setup member-defined outbound instances"
meta_value_FILTER_MACHINES_TO_SFTP = "TO_SFTP/ "
meta_value_FILTER_MACHINES_TO_SFTP_text = "Secure FTP outbound folder"
# Label Properties
text_branch_values_date_modified = "Date modified"
text_branch_values_meta_structure = "Meta-structure"
text_branch_values_name = "Name"
text_intro = "Welcome to the Standard Document Viewer."
text_sdv_construction = "Constructing the SDV (Standard Document Viewer) now..."
STRUCTURE_TYPE = "TNotebook.Tab"
VIEW_TYPE_STATUS = 'Treeview'
z_breaker = "--------------------"
## Short codes
meta_value_FMMERbbb = \
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_block_builder
meta_value_FMMERbbbt = \
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_block_builder_text
part_value_FMMERbnar = \
part_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_network_access_ring
part_value_FMMERbnart = \
part_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_block_network_access_ring_text
meta_value_FMMERRVVHD = \
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Hard_Disks
meta_value_FMMERRVVHDt = \
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Hard_Disks_text
meta_value_FMMERRVVM = \
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Machines
meta_value_FMMERRVVMt = \
meta_value_FILTER_MACHINES_MACHINES_EXPLORER_RIG_RIG_VM_Virtual_Machines_text
part_value_coiIOKLI = \
part_value_core_openpackager_internal_INDEX_ORGANIZER_KEY_LISTER_INDEX
part_value_coiIOKLIt = \
part_value_core_openpackager_internal_INDEX_ORGANIZER_KEY_LISTER_INDEX_text