EntityScript

Draft 1.2:
Index


constructed_class




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

ALL RIGHTS RESERVED


constructed_class helps get custom Vectorized data into a blob digital-transaction format

In this POOL-> _ORE

"""
# Custom Imports
from core_middlelayer import (
 SLUG_BLOB_OBJECT,
)

## Import: Resource Pool
from .ResourcePool import POOL_blob 
action_helper_text = \
POOL_blob.action_helper_text
break_point = \
POOL_blob.break_point
op_end_1 = \
POOL_blob.op_end_1
action_helper_output_confirmation = \
POOL_blob.action_helper_output_confirmation
R_VALUE = \
POOL_blob.R_VALUE
RETURN_START_FUNC = \
POOL_blob.RETURN_START_FUNC
simple_state = \
POOL_blob.simple_state
simple_state_max_records_to_break = \
POOL_blob.simple_state_max_records_to_break

## Establish needed digital transaction bucket
transactions = []
# Create a blob_object dictionary to receive DeductionObject input with assigned keys
blob_object = {}

# Define one or mulitple counters and limits here
class options:
    counter = simple_state
    max_records_to_break = simple_state_max_records_to_break
    STRING_max_records_to_break = str(max_records_to_break)

class blob:
    def generate_blob_object():
        with open(SLUG_BLOB_OBJECT, R_VALUE) as blob_object_importer:
            counter = options.counter
            max_records_to_break = options.max_records_to_break
            for line in blob_object_importer:
                if counter > max_records_to_break:
                 pass
                else:
                 BLOB_SLUG = line
                 blob_object.update({counter: RETURN_START_FUNC+BLOB_SLUG+op_end_1})
                 counter+=1
                 # Also fill the transaction bucket
                 transactions.append(line)
        blob_object_importer.close()

print(action_helper_text+\
 options.STRING_max_records_to_break
)
print(break_point)
blob.generate_blob_object()
print(blob_object)
print(action_helper_output_confirmation)
print(break_point)
print(transactions)



Return HOME