generated from os-climate/python-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Arfima Dev <[email protected]> Co-authored-by: Gonzalo Álvarez <[email protected]> Co-authored-by: Jonathan Yánez <[email protected]> Co-authored-by: Víctor de Luna <[email protected]> Co-authored-by: Virginia Morales <[email protected]> Signed-off-by: Xavier Barrachina Civera <[email protected]>
- Loading branch information
Showing
38 changed files
with
3,019 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,2 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
branch = True | ||
source = osc_physrisk_financial | ||
# omit = bad_file.py | ||
|
||
[paths] | ||
source = | ||
src/ | ||
*/site-packages/ | ||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
if self\.debug | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if __name__ == .__main__.: | ||
[coverage:report] | ||
skip_empty = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ default: true | |
extends: null | ||
|
||
MD013: false | ||
MD033: { | ||
"allowed_elements": ["img"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
--- | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
jobs: | ||
post_install: | ||
- pip install --upgrade pdm | ||
- VIRTUAL_ENV=$(dirname $(dirname $(which python))) pdm install -dG docs | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Build documentation with MkDocs | ||
#mkdocs: | ||
# configuration: mkdocs.yml | ||
|
||
# Optionally build your docs in additional formats such as PDF | ||
formats: | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
- {path: ., method: pip} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,9 @@ | |
Contributors | ||
============ | ||
|
||
* github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | ||
* Arfima Dev <[email protected]> | ||
* Gonzalo Álvarez <[email protected]> | ||
* Jonathan Yánez <[email protected]> | ||
* Víctor de Luna <[email protected]> | ||
* Virginia Morales <[email protected]> | ||
* Xavier Barrachina <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!-- markdownlint-disable --> | ||
<!-- prettier-ignore-start --> | ||
> [!IMPORTANT] | ||
> On June 26 2024, Linux Foundation announced the merger of its financial services umbrella, the Fintech Open Source Foundation ([FINOS](https://finos.org)), with OS-Climate, an open source community dedicated to building data technologies, modeling, and analytic tools that will drive global capital flows into climate change mitigation and resilience; OS-Climate projects are in the process of transitioning to the [FINOS governance framework](https://community.finos.org/docs/governance); read more on [finos.org/press/finos-join-forces-os-open-source-climate-sustainability-esg](https://finos.org/press/finos-join-forces-os-open-source-climate-sustainability-esg) | ||
<!-- prettier-ignore-end --> | ||
<!-- markdownlint-enable --> | ||
# osc-physrisk-financial | ||
|
||
Physical climate risk financial valuation | ||
|
||
<img src="docs/images/OS-Climate-Logo.png" alt="drawing" width="150"/> | ||
|
||
## About osc-physrisk-financial | ||
|
||
An [OS-Climate](https://os-climate.org) project, osc-physrisk-financial | ||
is a library for valuating assets under different climate risk scenarios. | ||
|
||
## Using the library | ||
|
||
The library can be run locally and is installed via: | ||
|
||
```shell | ||
pip install osc-physrisk-financial | ||
``` | ||
|
||
The library uses the output generated by the | ||
[physrisk](https://github.com/os-climate/physrisk) library | ||
|
||
### Note | ||
|
||
This is the first stage of development, where the models are intentionally | ||
simple, focusing on setting up the proper structure of the library. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Assets | ||
====== | ||
|
||
.. automodule:: osc_physrisk_financial.assets | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.