REGISTER NOW: Brightway Spring School! 🇨🇦 Québec City (Canada) 🗓️ 20.-24. May 2024

bw2data.sqlite#

Module Contents#

Classes#

JSONField

Simpler JSON field that doesn't support advanced querying and is human-readable

PickleField

SubstitutableDatabase

TupleJSONField

Simpler JSON field that doesn't support advanced querying and is human-readable

class bw2data.sqlite.JSONField[source]#

Bases: peewee.TextField

Inheritance diagram of bw2data.sqlite.JSONField

Simpler JSON field that doesn’t support advanced querying and is human-readable

db_value(value)[source]#
python_value(value)[source]#
class bw2data.sqlite.PickleField[source]#

Bases: peewee.BlobField

Inheritance diagram of bw2data.sqlite.PickleField
db_value(value)[source]#
python_value(value)[source]#
class bw2data.sqlite.SubstitutableDatabase(filepath, tables)[source]#
property db[source]#
_create_database()[source]#
atomic()[source]#
change_path(filepath)[source]#
execute_sql(*args, **kwargs)[source]#
transaction()[source]#
vacuum()[source]#
class bw2data.sqlite.TupleJSONField[source]#

Bases: JSONField

Inheritance diagram of bw2data.sqlite.TupleJSONField

Simpler JSON field that doesn’t support advanced querying and is human-readable

python_value(value)[source]#