bw2io Changelog#
0.9.17 (2026-04-26)#
Extract
samplingProcedure(asmodeling_summary) andextrapolations(asdata_handling_summary) from ecospold2 whencollapse_comments=False
0.9.16 (2026-04-24)#
0.9.15 (2026-04-16)#
#335: Cache extracted Ecospold files + adds progress bar on parallel import. Thanks @raphaeljolivet.
#336: Adjust
ExcelImporterdocumentation for clarification. Thanks @nicolnt.#338: Read temporal distributions from Excel model. Thanks @jakobsarthur.
#341: Fix
test_categories_as_listfailing withpeewee.OperationalError
0.9.14 (2026-01-13)#
Remove
normalize_biosphere_categoriesandnormalize_biosphere_namesfrom default strategies. These are specific to the ecoinvent 2-3 transition, and therefore not appropriate for generic IO tasks. They can still be applied manually if needed.
0.9.13 (2025-12-31)#
Fix #332. dynamic import of BW2Package
_create_classis safe for python>= 3.13
0.9.12 (2025-12-16)#
Fix #293. version parsing for remote.install parses bd.version correctly.
0.9.11 (2025-06-23)#
0.9.10 (2025-06-23)#
0.9.9 (2025-04-10)#
Add
use_mpflag toimport_ecoinvent_release
0.9.8 (2025-03-27)#
Append to existing LCIA impact categories (
methods) duringimport_ecoinvent_releaseinstead of overwriting
0.9.7 (2025-03-21)#
Fix project switch when restoring from older archives
0.9.6 (2025-02-01)#
Compatibility fix for project archives produced pre-
0.9.5.
0.9.5 (2025-01-14)#
0.9.4 (2024-12-05)#
Making name shortening in MFP name generation configurable in
SimaProBlockCSVImporter
0.9.3 (2024-12-05)#
Add ability to use in-memory
Randonneurdatapackages, e.g. loaded from the Excel template
0.9.2 (2024-12-02)#
Remove
multifunctionalandbw_simapro_csvas dependencies - add install variantbw2io[multifunctional]
0.9.1 (2024-12-02)#
Fix product information ecospold2 extraction with invalid inputs
0.9 (2024-11-27)#
Allow separate products for SimaPro block CSV importer
Add more filter options to
link_iterable_by_fieldsMake printed importer statistics better
#284 Add
ecospold2product information fromMasterData/IntermediateExchanges.xml#282 Exchange Extractor for Ecospold2 only extracts CPC classification
0.9.DEV41 (2024-10-15)#
Also convert
market group for electricitytokWh
0.9.DEV40 (2024-10-14)#
Add
split_simapro_name_geo_curly_bracketsstrategyAdd
remove_biosphere_location_prefix_if_flow_in_same_locationstrategy
0.9.DEV39 (2024-10-13)#
Add
create_products_as_new_nodesstrategyAdd additional configuration options for
randonneurUpdate tests for recent
bw2datachangesUpdates for vocab.sentier.dev units URL change
0.9.DEV38 (2024-09-12)#
Fix #274: correctly set units for namespaced methods when importing ecoinvent with ecoinvent_interface
0.9.DEV37 (2024-09-04)#
Fix out of order but with
create_randonneur_excel_template_for_unlinked
0.9.DEV36 (2024-09-04)#
Add
create_randonneur_excel_template_for_unlinked
0.9.DEV35 (2024-09-02)#
Add method to directly apply
randonneurtransformationsAdd
create_new_database_for_flows_with_missing_top_level_contextmethodAdd
normalize_simapro_labels_to_brightway_standardmethodAdd
match_against_top_level_contextfunctionAdd
match_against_only_available_in_given_context_treemethodAdd
create_regionalized_biosphere_proxiesmethodAllow
add_extra_attributes
0.9.DEV34 (2024-08-21)#
Restore Py 3.9 compatibility
0.9.DEV33 (2024-08-15)#
Packaging fix
0.9.DEV32 (2024-08-15)#
Add
SimaProUnitConverterwhich useshttps://vocab.sentier.dev/for unit conversion and harmonizationImproved robustness of
rescale_exchangeFixed bug with SimaPro name-location strings with spaces inside
0.9.DEV31 (2024-08-14)#
Improved statistics reporting for importers
0.9.DEV30 (2024-07-23)#
Change default to namespace LCIA methods in ecoinvent imports
0.9.DEV29 (2024-07-09)#
Restore Python 3.9 compatibility
Compatibility with SimaPro multifunctionality via
bw_simapro_csvandmultifunctional.
0.9.DEV28 (2024-06-21)#
Allow imports of some invalid ecospold1 files
Fix fetching of remote data catalogues in
remote
0.9.DEV27 (2024-05-07)#
Add extractor for SimaPro LCIA 9.5 Project CSV files
0.9.DEV26 (2023-11-12)#
Change
import_ecoinvent_releaseto allow patching existing biosphere databases
0.9.DEV25 (2023-11-10)#
Fix missing import from dev24
Some documentation improvements
0.9.DEV24 (2023-11-09)#
0.9.DEV23 (2023-09-17)#
Use bw2data for cache filepath
Bunch of small issue fixes
0.9.DEV22 (2023-09-15)#
Pinned dependencies to fix environment problems
0.9.DEV21 (2023-08-12)#
#138: Fixed import of SimaPro process with multiple literature refs
0.9.DEV20 (2023-08-12)#
#204: Fix unsupported operand
#136: Import invalid ecospold1 XML data
#167: field equality strategy and default location strategy
Purge pyprind in place of tqdm
0.9.DEV19 (2023-06-08)#
** Note: This release has be withdrawn, as has bw2data 4.0.DEV19!**
Fix compatibility with bw2data 4.0.DEV19
0.9.DEV18 (2023-06-06)#
Fix compatibility with Python 3.8 and 3.9
Fix incomplete project downloads causing corruption
Fix directory creation on Windows
0.9.DEV17 (2023-04-18)#
Add capability to install remote projects for quicker starting and more flexibility
0.9.DEV16 (2023-04-18)#
Restore
bw2parametersimport to previous API
0.9.DEV15 (2023-04-07)#
Remove
psutildependency
0.9.DEV14 (2023-03-16)#
Fix stream error when reading
tarproject archive
0.9.DEV13 (2023-03-16)#
Update EXIOBASE biosphere correspondence for ecoinvent 3.9
0.9.DEV12 (2023-03-15)#
PR 163: Update ecoinvent_lcia and ecospold1 files to NumPy Docstring standard
PR 157: Support
10^as10Ein Simapro CSV importsPR 150: Add pypi and conda-forge badge and update install instructions
PR 147: Raise error when empty directory given to ecospold2 importer
PR 142: CVE-2007-4559 Patch
Add
collapse_productsandpruneflags touseeio11
0.9.DEV10 (2022-10-13)#
Ecoinvent 3.9 compatibility
Make extractor switchable in
SimaProCSVImporter
0.9.DEV9 (2022-06-19)#
Change to shift all variable names to uppercase instead of lowercase from SimaPro CSV files. This helps avoid most builtin symbols.
Improve performance of SimaPro CSV variable mangling by compiling regular expressions
0.9.DEV8 (2022-06-02)#
Merge #119: Fix variable error in ecospold1 extraction
Normalize field
reference unitduring unit normalizationJSON-LD LCIA importer: Can’t assume some fields are present
0.9.DEV7 (2022-01-11)#
Change label for chemical formulas in ecospold2 import from
formulatochemical formulaAdd mathematical formula field
mathematicalRelationfrom ecospold2 imports asformulaAdd variables names for exchanges and exchange properties in ecospold2 imports
Add strategy to lookup chemical synonyms in ChemIDPlus
0.9.DEV6 (2021-10-22)#
Don’t export
idfield in Excel/CSV
0.9.DEV4 (2021-10-20)#
Fix bug in Ecospold 1 LCIA Importer
0.9.DEV4 (2021-10-14)#
Continued work on JSON-LD imports
JSON-LD LCIA importer
Shortcut to import US EEIO 1.1 database and LCIA methods
0.9.DEV3 (2021-10-01)#
Partial support for JSON-LD imports
0.9.DEV2 (2021-09-29)#
Compatibility with ecoinvent 3.9 LCI & LCIA
0.9.DEV1#
Breaking changes#
Python 2 compatibility removed#
Removing the Python 2 compatibility layer allows for much cleaner and more compact code, and the use of some components from the in-development Brightway version 3 libraries.
Background changes#
Use of bw_processing#
We now use bw_processing to create processed arrays and magic constants.
Smaller changes#
Merged PR #81, SimaPro mappings for ecoinvent 3.4. Thanks @PascalLesage
Merged PR #80, SimaPro mappings for ecoinvent 3.5. Thanks @PascalLesage
Merged PR #82, fix ecoinvent versus SimaPro different signs of waste treatment processes. Thanks @PascalLesage
0.8.7 (2021-10-14)#
Fix bug in Ecospold 1 LCIA Importer
0.8.6 (2021-09-29)#
Merge PR 101 to improve Excel reading speeds
Patch and use Ecoinvent 3.8 LCIA implementation
0.8.5 (2021-09-21)#
Update to ecoinvent 3.8 flows
0.8.4 (2021-07-13)#
Add
split_exchangesstrategy
0.8.3.1 (2021-03-10)#
Expose update functions in package namespace
0.8.3 (2021-03-10)#
Update to ecoinvent 3.7 flows
0.8.2 (2021-02-25)#
Fix openpyxl extraction giving formulas instead of numerical values
0.8.1 (2021-02-25)#
0.8.0 (2021-02-23)#
Switch from xlrd to openpyxl for reading
.xlsxfiles.Added Excel and CSV importer for LCIA methods
Merged PR #77: Add synonyms when importing ecospold2 files. Thanks @BenPortner.
Merged PR #76: Correctly import reference products from Excel. Thanks @BenPortner.
Import exchange properties from ecospold2 files.
bw2io.extractors.excel.ExcelExtractornow properly handles internal Excel errors.
0.7.13#
Switch to openpyxl for xlsx imports
Port Ben Portner’s fixes for CSV encoding and newline handling
Add extraction of ecospold2 exchange properties
PR #72: expose
objsargument inwrite_lci_csvHandle Excel error values correctly when extracting
0.7.12.1 (2020-03-12)#
Fix bug in importing sample database (missing files)
0.7.12 (2020-02-25)#
Add CAS number to default biosphere flows
0.7.11.3 (2019-10-31)#
Fix problem in EXIOBASE import where elements were all set on the diagonal
0.7.11.2 (2019-10-30)#
Improve EXIOBASE import by:
Getting units from products
Fixing unit consistency
Removing some name quirks
0.7.11.1 (2019-10-29)#
Change EXIOBASE importer to only include activities, not products
0.7.11 (2019-10-29)#
Add mapping file for SimaPro-ecoinvent 3.4. Thanks Pascal Lesage!
Add importer for EXIOBASE 3.3 (IO, hybrid)
0.7.10 (2019-10-09)#
Close #61: Add missing biosphere flows when importing LCIA methods.
0.7.9 (2019-09-20)#
Add CPC codes from single reference products during ecospold2 import.
0.7.8 (2019-09-19)#
Merged Pull Request #5 to fix some SimaPro import issues. Thanks Benjamin Portner!
0.7.7 (2019-09-16)#
Support ecoinvent 3.6
0.7.6 (2019-07-06)#
Exit Excel importer early if no data found
Handle all columns cutoff in Excel importer
Fix Gephi exporter for ecoinvent v3
0.7.5 (2019-06-17)#
Fix #59: Importing ecospold1 fails due to unset variable in extractor
0.7.4 (2019-02-25)#
Fix location updating bug preventing clean import of ecoinvent 2.2
0.7.3 (2018-12-18)#
Fix missing import bug
0.7.2 (2018-10-16)#
Catch multiprocessing errors from certain configurations
0.7.1 (2018-09-28)#
Add units to all ecoinvent 3.5 LCIA methods
Fix up method name rationalization
0.7 (2018-09-10)#
Support ecoinvent 3.5
Drop unused and outdated ecoinvent 31 biosphere flows
Add CPC classification to ecoinvent imports
Make importers play better with the Activity Browser
Add tests for Ecospold2 extraction and importing
Add
utils.standardize_method_to_len_3Add optional strategy to rationalize default LCIA method names
0.6 (2018-05-31)#
Rewrite and test Excel importer and exporters to support parameters and data roundtrips
Change
assign_only_product_as_productionto not overwrite existing fieldsFix inconsistencies added in ecoinvent 3.4
Update older location codes from ecoinvent
0.5.12 (2017-10-10)#
Add bugfix for numeric values in Excel importer
0.5.11 (2017-10-10)#
Support ecoinvent 3.4, including new biosphere flows. Use function
add_ecoinvent_34_biosphere_flowsto update old databasesUpdate excel/CSV importers: Strip whitespace, and allow
**kwargsinwrite_databaseUnit conversion update: don’t always convert kilometers to meters, as some databases use both
0.5.10 (2017-06-16)#
Break uncertainty strategies for ecospold2 apart to allow for easier manipulation
Allow CSV exporter to only export a selection of datasets
Allow Damage methods to be imported from SimaPro LCIA csv (thanks James Joyce!)
Add reference product to excel output
0.5.9 (2017-04-17)#
Fix license text
0.5.8 (2017-04-06)#
Fixes for Conda packaging and license encoding
0.5.7 (2017-01-12)#
Improve imports for SimaPro CSV files:
Improve flexibility of which fields to match against
Add SimaPro conversions for ecoinvent 3.2 and 3.3
Normalize and migrate SimaPro water flows
Add SimaPro electricity conversion
Handle allocated SimaPro production with zero production amounts
0.5.6 (2016-12-02)#
A number of small changes to improve handling of SimaPro exports
0.5.5 (2016-11-10)#
Updates for compatibility with ecoinvent 3.3 and 3.2.
0.5.4 (2016-09-27)#
Updates for compatibility with ecoinvent 3.3 release.
0.5.3 (2016-07-14)#
Update for compatibility with bw2data 2.3.
Add
overwriteflags to default data creators.
0.5.2 (2016-07-01)#
Fixed bug in ecospold2 import which assumed standard deviation instead of variance (Thanks Guillaume Audard)
Fixed bugs for CSV imports
Prevent duplicate codes from being written, and don’t overwrite existing codes
0.5.1 (2016-06-05)#
Updates for compatibility with bw2data 2.2.
Make
activity_hashless unforgiving
0.5 (2016-05-28)#
Don’t raise nonunique error when linking unless linking to nonunique dataset descriptors
Improve error messages when imported data has duplicate processes
Properly close multiprocessing pools
0.4.1 (2016-04-15)#
Bugfix release: Include psutil, an undeclared dependency of pyprind.
0.4 (2016-04-01)#
0.4 release.