code
stringlengths
3
6.57k
bar (Int)
character (Str)
str(decimals)
format(100 * (iteration / float(total)
int(length * iteration // total)
print(' ' * _prev_str_length, end='\r')
print(s, end='\r')
len(s)
print()
list(range(0, 57)
len(items)
range(l + 1)
sleep(0.1)
print_progress_bar(i, l, prefix='Progress:', suffix='Complete')
NodeJSONEncoder(json.JSONEncoder)
default(self, o)
isinstance(o, Node)
o.moniker()
isinstance(o, pd.core.series.Series)
o.to_dict()
json.JSONEncoder.default(self, o)
__init__(self, entity)
__repr__(self)
self.moniker()
__str__(self)
self.moniker()
name(self)
location(self)
nominal_capacity(self)
moniker(self)
layer(self)
add_downstream(self, transport, entity_id)
Exception("Downstream entity {0} does not exist".format(entity_id)
Exception("Downstream entity {0} via {1} already exists with node {2}".format(entity_id, transport, self.name()
Edge(transport, self.entity, ds_entity)
cost_pv(self, downstream_node=None)
self.entity.cost_pv()
downstream_node.moniker()
edge.cost()
edge.cost()
self.entity.volume()
self.entity.cost_pv()
ComboNode(Node)
__init__(self, layer, up_node, down_node)
MineBeneficiationEntity(self.up_node.entity, self.down_node.entity)
up_node.name()
down_node.name()
up_node.moniker()
down_node.moniker()
Entity(name=name, layer=layer, id=moniker)
Node (file)
Nodes (files)
Builder()
we (or users)
actions (compilers, compile options)
__call__()
add_emitter()
that (for example)
add_action()
action(s)
_execute()
__call__()
get_name()
adjust_suffix()
get_prefix()
get_suffix()
get_src_suffix()
set_src_suffix()
Copyright (c)
match_splitext(path, suffixes = [])
filter(lambda S,path=path: path[-len(S)
max(map(None, map(len, matchsuf)
len(suf)
len(suf)
SCons.Util.splitext(path)
DictCmdGenerator(SCons.Util.Selector)
__init__(self, dict=None, source_ext_match=1)
SCons.Util.Selector.__init__(self, dict)
src_suffixes(self)
self.keys()
add_action(self, suffix, action)
__call__(self, target, source, env, for_signature)
self.src_suffixes()
map(str, source)
match_splitext(src, suffixes)
UserError("While building `%s' from `%s': Cannot build multiple sources with different extensions: %s, %s" % (repr(map(str, target)
match_splitext(str(source[0])
self.src_suffixes()
UserError("While building `%s': Cannot deduce file extension from source files: %s" % (repr(map(str, target)
repr(map(str, source)
SCons.Util.Selector.__call__(self, env, source, ext)
UserError("Ambiguous suffixes after environment substitution: %s == %s == %s" % (e[0], e[1], e[2])
repr(map(str, target)
repr(map(str, source)
repr(self.keys()
CallableSelector(SCons.Util.Selector)
__call__(self, env, source)
SCons.Util.Selector.__call__(self, env, source)
callable(value)
value(env, source)