https://github.com/cmutel/bw2speedups
Speedups library for Brightway2 LCA calculations
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Repository
Speedups library for Brightway2 LCA calculations
Basic Info
- Host: GitHub
- Owner: cmutel
- License: bsd-3-clause
- Language: Python
- Default Branch: master
- Size: 394 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Brightway2 speedups
A series of function written in Cython that speed up critical functions to improve the overall performance of the Brightway2 life cycle assessment framework.
In order to avoid having to have Cython as a dependency, this library includes both the pyx and Cython-generated c code, and is distributed as pre-compiled wheels, except on Linux where access to a C compiler is assumed.
Building C files
cython -t bw2speedups/_consolidate.pyx bw2speedups/_indexer.pyx bw2speedups/_find_first.pyx
Building shared libraries
Although you can do this inplace, in my experience it is easier to just install the library in a temporary environment. You don't want to deal with .so files in the source repository.
Testing
Install the library into a temporary environment, then manually run the separate test files, i.e. python bw2speedupds/test/test_consolidate.py. This isn't the most elegant, but it will do for now.
Building wheels
pip install wheel
python setup.py bdist_wheel
Note that this has to be done separately for each OS and environment, i.e. Windows 32-bit and 64-bit versions of Python are separate wheels, even with the same version of Windows.
Owner
- Name: Chris Mutel
- Login: cmutel
- Kind: user
- Location: Zurich, Switzerland
- Company: ecoinvent association/Cauldron Solutions
- Website: http://chris.mutel.org
- Repositories: 71
- Profile: https://github.com/cmutel
Open source & open data sustainability assessment, plus bikes.
GitHub Events
Total
Last Year
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Chris Mutel | c****l@g****m | 27 |
| cardosan | g****i@g****m | 1 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0