differt 0.0.11__tar.gz → 0.0.14__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 (25) hide show
  1. {differt-0.0.11 → differt-0.0.14}/PKG-INFO +6 -6
  2. {differt-0.0.11 → differt-0.0.14}/differt/scene/sionna.py +2 -2
  3. {differt-0.0.11 → differt-0.0.14}/differt/utils.py +2 -1
  4. {differt-0.0.11 → differt-0.0.14}/pyproject.toml +9 -5
  5. {differt-0.0.11 → differt-0.0.14}/.gitignore +0 -0
  6. {differt-0.0.11 → differt-0.0.14}/LICENSE.md +0 -0
  7. {differt-0.0.11 → differt-0.0.14}/differt/__init__.py +0 -0
  8. {differt-0.0.11 → differt-0.0.14}/differt/em/__init__.py +0 -0
  9. {differt-0.0.11 → differt-0.0.14}/differt/em/constants.py +0 -0
  10. {differt-0.0.11 → differt-0.0.14}/differt/em/special.py +0 -0
  11. {differt-0.0.11 → differt-0.0.14}/differt/em/utd.py +0 -0
  12. {differt-0.0.11 → differt-0.0.14}/differt/em/utils.py +0 -0
  13. {differt-0.0.11 → differt-0.0.14}/differt/geometry/__init__.py +0 -0
  14. {differt-0.0.11 → differt-0.0.14}/differt/geometry/triangle_mesh.py +0 -0
  15. {differt-0.0.11 → differt-0.0.14}/differt/geometry/utils.py +0 -0
  16. {differt-0.0.11 → differt-0.0.14}/differt/plotting/__init__.py +0 -0
  17. {differt-0.0.11 → differt-0.0.14}/differt/plotting/_core.py +0 -0
  18. {differt-0.0.11 → differt-0.0.14}/differt/plotting/_utils.py +0 -0
  19. {differt-0.0.11 → differt-0.0.14}/differt/rt/__init__.py +0 -0
  20. {differt-0.0.11 → differt-0.0.14}/differt/rt/fermat.py +0 -0
  21. {differt-0.0.11 → differt-0.0.14}/differt/rt/image_method.py +0 -0
  22. {differt-0.0.11 → differt-0.0.14}/differt/rt/utils.py +0 -0
  23. {differt-0.0.11 → differt-0.0.14}/differt/scene/__init__.py +0 -0
  24. {differt-0.0.11 → differt-0.0.14}/differt/scene/triangle_scene.py +0 -0
  25. {differt-0.0.11 → differt-0.0.14}/differt/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: DiffeRT
3
- Version: 0.0.11
3
+ Version: 0.0.14
4
4
  Summary: Differentiable Ray Tracing Toolbox for Radio Propagation Simulations
5
5
  Project-URL: Changelog, https://github.com/jeertmans/DiffeRT/releases
6
6
  Project-URL: Documentation, https://eertmans.be/DiffeRT
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Topic :: Scientific/Engineering
22
22
  Requires-Python: >=3.9
23
23
  Requires-Dist: beartype>=0.17.2
24
- Requires-Dist: differt-core==0.0.11
24
+ Requires-Dist: differt-core==0.0.14
25
25
  Requires-Dist: equinox>=0.11.2
26
26
  Requires-Dist: jax>=0.4.20
27
27
  Requires-Dist: jaxtyping>=0.2.24
@@ -71,7 +71,7 @@ Description-Content-Type: text/markdown
71
71
 
72
72
  > **WARNING:**
73
73
  > Until this package reaches version `0.1.x`, breaking changes
74
- > should be expected. Checkout the [ROADMAP](./ROADMAP.md) for
74
+ > should be expected. Checkout the [ROADMAP](https://github.com/jeertmans/DiffeRT/blob/main/ROADMAP.md) for
75
75
  > future features.
76
76
  >
77
77
  > If you have any suggestion regarding the development of this package,
@@ -108,7 +108,7 @@ To run build this package locally, you need:
108
108
  - [Rust](https://www.rust-lang.org/) stable toolchain;
109
109
  - `make` (e.g., GNU Make or Make for Windows);
110
110
  - [Maturin](https://www.maturin.rs/) for building Python bindings from Rust code;
111
- - and [Rye](https://rye-up.com/) to manage this project.
111
+ - and [Rye](https://rye.astral.sh/) to manage this project.
112
112
 
113
113
 
114
114
  ## Local development
@@ -120,7 +120,7 @@ the project locally with:
120
120
  rye sync
121
121
  ```
122
122
 
123
- and that you activate the corresponding Python virtual environment:
123
+ and that you activated the corresponding Python virtual environment:
124
124
 
125
125
  ```bash
126
126
  . .venv/bin/activate # or .venv\Scripts\activate on Windows
@@ -174,5 +174,5 @@ pytest --benchmark-only
174
174
  [pypi-python-version-badge]: https://img.shields.io/pypi/pyversions/DiffeRT?color=orange
175
175
  [documentation-badge]: https://readthedocs.org/projects/differt/badge/?version=latest
176
176
  [documentation-url]: https://differt.readthedocs.io/latest/?badge=latest
177
- [codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=8P4DY9JCE4
177
+ [codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=v63alnTWzu
178
178
  [codecov-url]: https://codecov.io/gh/jeertmans/DiffeRT
@@ -75,7 +75,7 @@ def download_sionna_scenes(
75
75
  yield member
76
76
 
77
77
  with (
78
- tempfile.NamedTemporaryFile(suffix=".tar.gz") as f,
78
+ tempfile.NamedTemporaryFile(suffix=".tar.gz", delete=False) as f,
79
79
  tqdm(
80
80
  stream,
81
81
  desc="Downloading Sionna's repository archive...",
@@ -94,7 +94,7 @@ def download_sionna_scenes(
94
94
  f.flush()
95
95
 
96
96
  with tarfile.open(f.name) as tar:
97
- tar.extractall(path=folder, members=members(tar))
97
+ tar.extractall(path=folder, members=members(tar), filter="data")
98
98
 
99
99
 
100
100
  def list_sionna_scenes(*, folder: Union[str, Path] = SIONNA_SCENES_FOLDER) -> list[str]:
@@ -5,7 +5,7 @@ from collections.abc import Iterable, Mapping
5
5
  from functools import partial
6
6
  from typing import Any, Callable, Optional, Union
7
7
 
8
- import chex
8
+ import chex # TODO: fixme, chex is not a dependency
9
9
  import jax
10
10
  import jax.numpy as jnp
11
11
  import optax
@@ -18,6 +18,7 @@ else:
18
18
  from typing_extensions import TypeVarTuple, Unpack
19
19
 
20
20
  # Redefined here, because chex uses deprecated type hints
21
+ # TODO: fixme
21
22
  OptState = Union[chex.Array, Iterable["OptState"], Mapping[Any, "OptState"]]
22
23
  Ts = TypeVarTuple("Ts")
23
24
 
@@ -16,7 +16,7 @@ classifiers = [
16
16
  ]
17
17
  dependencies = [
18
18
  "beartype>=0.17.2",
19
- "differt-core==0.0.11",
19
+ "differt-core==0.0.14",
20
20
  "equinox>=0.11.2",
21
21
  "jax>=0.4.20",
22
22
  "jaxtyping>=0.2.24",
@@ -67,10 +67,6 @@ packages = ["src/differt"]
67
67
  [tool.hatch.metadata]
68
68
  allow-direct-references = true
69
69
 
70
- [tool.hatch.version]
71
- path = "../differt-core/Cargo.toml"
72
- pattern = "^version = \"(?P<version>[^\"]+)"
73
-
74
70
  [tool.hatch.metadata.hooks.fancy-pypi-readme]
75
71
  content-type = "text/markdown"
76
72
 
@@ -81,5 +77,13 @@ path = "README.md"
81
77
  pattern = '> \[!([A-Z]+)\]'
82
78
  replacement = '> **\1:**'
83
79
 
80
+ [[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
81
+ pattern = '\(./([^)]+)\)'
82
+ replacement = '(https://github.com/jeertmans/DiffeRT/blob/main/\1)'
83
+
84
+ [tool.hatch.version]
85
+ path = "../differt-core/Cargo.toml"
86
+ pattern = '^version = "(?P<version>[^"]+)'
87
+
84
88
  [tool.rye]
85
89
  managed = true
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