bayinx 0.2.3__tar.gz → 0.2.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. bayinx-0.2.6/.github/workflows/release_and_publish.yml +47 -0
  2. {bayinx-0.2.3 → bayinx-0.2.6}/PKG-INFO +1 -1
  3. {bayinx-0.2.3 → bayinx-0.2.6}/pyproject.toml +1 -1
  4. bayinx-0.2.3/.github/workflows/publish.yml +0 -29
  5. {bayinx-0.2.3 → bayinx-0.2.6}/.gitignore +0 -0
  6. {bayinx-0.2.3 → bayinx-0.2.6}/README.md +0 -0
  7. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/__init__.py +0 -0
  8. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/__init__.py +0 -0
  9. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/flow.py +0 -0
  10. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/model.py +0 -0
  11. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/utils.py +0 -0
  12. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/variational.py +0 -0
  13. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/__init__.py +0 -0
  14. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/bernoulli.py +0 -0
  15. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/binomial.py +0 -0
  16. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/gamma.py +0 -0
  17. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/gamma2.py +0 -0
  18. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/normal.py +0 -0
  19. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/__init__.py +0 -0
  20. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/__init__.py +0 -0
  21. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/__init__.py +0 -0
  22. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/affine.py +0 -0
  23. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/planar.py +0 -0
  24. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/radial.py +0 -0
  25. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/sylvester.py +0 -0
  26. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/meanfield.py +0 -0
  27. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/normalizing_flow.py +0 -0
  28. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/standard.py +0 -0
  29. {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/py.typed +0 -0
  30. {bayinx-0.2.3 → bayinx-0.2.6}/tests/__init__.py +0 -0
  31. {bayinx-0.2.3 → bayinx-0.2.6}/tests/test_variational.py +0 -0
  32. {bayinx-0.2.3 → bayinx-0.2.6}/uv.lock +0 -0
@@ -0,0 +1,47 @@
1
+ name: Build, Release, and Publish
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ build_release_publish:
10
+ name: Build, Release, and Publish
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
+ id-token: write
15
+
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v4
19
+
20
+ - name: Install uv
21
+ uses: astral-sh/setup-uv@v3
22
+ with:
23
+ enable-cache: true
24
+
25
+ - name: Set up Python using uv
26
+ run: uv python install 3.12
27
+
28
+ - name: Build package
29
+ run: uv build
30
+
31
+ - name: Create GitHub Release
32
+ id: create_release
33
+ uses: softprops/action-gh-release@v2
34
+ env:
35
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ with:
37
+ tag_name: ${{ github.ref_name }}
38
+ name: Release ${{ github.ref_name }}
39
+ draft: false
40
+ prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc') }}
41
+ generate_release_notes: true
42
+ files: |
43
+ ./dist/*.whl
44
+ ./dist/*.tar.gz
45
+
46
+ - name: Publish package
47
+ run: uv publish
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bayinx
3
- Version: 0.2.3
3
+ Version: 0.2.6
4
4
  Summary: Bayesian Inference with JAX
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: equinox>=0.11.12
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bayinx"
3
- version = "0.2.3"
3
+ version = "0.2.6"
4
4
  description = "Bayesian Inference with JAX"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -1,29 +0,0 @@
1
- name: "Publish"
2
-
3
- on:
4
- release:
5
- types: ["published"]
6
-
7
- jobs:
8
- run:
9
- name: "Build and publish release"
10
- runs-on: ubuntu-latest
11
- permissions:
12
- id-token: write # Required for trusted publishing
13
-
14
- steps:
15
- - uses: actions/checkout@v4
16
-
17
- - name: Install uv
18
- uses: astral-sh/setup-uv@v3
19
- with:
20
- enable-cache: true
21
-
22
- - name: Set up Python
23
- run: uv python install 3.12
24
-
25
- - name: Build
26
- run: uv build
27
-
28
- - name: Publish
29
- run: uv publish
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes