From 40197e1d8418d1bc3e5070c72aacfc1a4bfed196 Mon Sep 17 00:00:00 2001 From: Auto Differentiation Dev Team <107129969+auto-differentiation-dev@users.noreply.github.com> Date: Thu, 4 Apr 2024 15:18:21 +0000 Subject: [PATCH 1/4] temporarily enable full PyPI publish due to mistake in repo condition --- .github/workflows/quantlib-risks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/quantlib-risks.yml b/.github/workflows/quantlib-risks.yml index a29c0242..dd622860 100644 --- a/.github/workflows/quantlib-risks.yml +++ b/.github/workflows/quantlib-risks.yml @@ -129,7 +129,7 @@ jobs: needs: build_wheels if: >- github.event_name == 'workflow_dispatch' || - (github.repository == 'auto-differentiation/QuantLib-Risks' && + (github.repository == 'auto-differentiation/QuantLib-Risks-Py' && (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))) environment: name: testpypi @@ -152,7 +152,7 @@ jobs: publish: runs-on: ubuntu-latest needs: test-publish - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') environment: name: pypi url: https://pypi.org/p/QuantLib-Risks From c15fd131a8dca723d894326fcedf24b19b7c6727 Mon Sep 17 00:00:00 2001 From: Xcelerit Team <8776281+xcelerit-team@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:12:05 +0100 Subject: [PATCH 2/4] Only publish on a tagged build --- .github/workflows/quantlib-risks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quantlib-risks.yml b/.github/workflows/quantlib-risks.yml index dd622860..c3eaa086 100644 --- a/.github/workflows/quantlib-risks.yml +++ b/.github/workflows/quantlib-risks.yml @@ -152,7 +152,7 @@ jobs: publish: runs-on: ubuntu-latest needs: test-publish - # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') environment: name: pypi url: https://pypi.org/p/QuantLib-Risks From 30235106779882720d2adf154f78e1f322922b1e Mon Sep 17 00:00:00 2001 From: Xcelerit Team <8776281+xcelerit-team@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:13:37 +0100 Subject: [PATCH 3/4] Adds related projects --- Python/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Python/README.md b/Python/README.md index 6bd4a811..fd58de0c 100644 --- a/Python/README.md +++ b/Python/README.md @@ -34,3 +34,8 @@ with Tape() as t: print(f"price = {npv}") print(f"delta = {rate.derivative}") ``` + +## Related Projects + +- XAD Comprehensive automatic differentiation in [Python](https://github.com/auto-differentiation/xad-py) and [C++](https://github.com/auto-differentiation/xad) +- QuantLib-Risks: Fast risk evaluations in [Python](https://github.com/auto-differentiation/QuantLib-Risks-Py) and [C++](https://github.com/auto-differentiation/QuantLib-Risks-Cpp) From 52b521b3fff7f042d4b819a88935b3de2b36d5e1 Mon Sep 17 00:00:00 2001 From: Auto Differentiation Dev Team <107129969+auto-differentiation-dev@users.noreply.github.com> Date: Thu, 2 Apr 2026 21:55:53 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84a4dd7c..65a4e5a5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +> Part of the [XAD ecosystem](https://github.com/auto-differentiation) — the fastest automatic differentiation library for C++. +> If this is useful to you, please star the [core XAD repository](https://github.com/auto-differentiation/xad). QuantLib-Risks: Risk-enabled QuantLib for Python ================================================