tendril.entityhub.products module

This file is part of tendril See the COPYING, README, and INSTALL files for more information

class tendril.entityhub.products.ProductInfo(infodict, parent)[source]

Bases: tendril.boms.validate.ValidatableBase

ident
labelinfo(sno)[source]
line
ptype
desc
version
status
_validate()[source]
class tendril.entityhub.products.ProductPrototypeBase(fpath)[source]

Bases: tendril.entityhub.prototypebase.PrototypeBase

_load_product_info()[source]
ident
version
name
info
core
static _parse_listing(listing)[source]
card_listing
cable_listing
module_listing
static _get_modules(parsed_listing)[source]
cards
cables
labels
labelinfo(sno)[source]
calibformat
get_component_snos()[source]
make_labels(sno, label_manager=None)[source]
desc
_get_status()[source]
_construct_components()[source]
_construct_bom()[source]
boms
obom
bom
indicative_cost
sourcing_errors
indicative_cost_breakup
indicative_cost_hierarchical_breakup
_changelogpath
_reload()[source]
_register_for_changes()[source]
_validate()[source]
tendril.entityhub.products.get_folder_products(path)[source]
tendril.entityhub.products.gen_productlib(path='/home/chintal/.tendril/products', recursive=True)[source]
tendril.entityhub.products.get_product_by_ident(ident)[source]
tendril.entityhub.products.get_product_by_core(core)[source]
tendril.entityhub.products.get_product_calibformat(devicetype)[source]
tendril.entityhub.products.generate_labels(product, sno, label_manager=None)[source]
tendril.entityhub.products.get_module_inclusion(modulename)[source]