differt-core 0.2.0__tar.gz → 0.3.1__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 (62) hide show
  1. {differt_core-0.2.0 → differt_core-0.3.1}/Cargo.lock +1 -1
  2. {differt_core-0.2.0 → differt_core-0.3.1}/PKG-INFO +2 -2
  3. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/Cargo.toml +1 -1
  4. {differt_core-0.2.0 → differt_core-0.3.1/differt-core}/src/geometry/mod.rs +1 -1
  5. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/src/geometry/triangle_mesh.rs +1 -1
  6. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/src/lib.rs +1 -1
  7. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/src/rt/graph.rs +1 -1
  8. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/src/rt/mod.rs +1 -1
  9. {differt_core-0.2.0 → differt_core-0.3.1/differt-core}/src/scene/mod.rs +1 -1
  10. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/src/scene/sionna.rs +1 -1
  11. {differt_core-0.2.0 → differt_core-0.3.1/differt-core}/src/scene/triangle_scene.rs +1 -1
  12. {differt_core-0.2.0 → differt_core-0.3.1}/pyproject.toml +1 -1
  13. {differt_core-0.2.0/differt-core → differt_core-0.3.1}/src/geometry/mod.rs +1 -1
  14. {differt_core-0.2.0 → differt_core-0.3.1}/src/geometry/triangle_mesh.rs +1 -1
  15. {differt_core-0.2.0 → differt_core-0.3.1}/src/lib.rs +1 -1
  16. {differt_core-0.2.0 → differt_core-0.3.1}/src/rt/graph.rs +1 -1
  17. {differt_core-0.2.0 → differt_core-0.3.1}/src/rt/mod.rs +1 -1
  18. {differt_core-0.2.0/differt-core → differt_core-0.3.1}/src/scene/mod.rs +1 -1
  19. {differt_core-0.2.0 → differt_core-0.3.1}/src/scene/sionna.rs +1 -1
  20. {differt_core-0.2.0/differt-core → differt_core-0.3.1}/src/scene/triangle_scene.rs +1 -1
  21. {differt_core-0.2.0 → differt_core-0.3.1}/Cargo.toml +0 -0
  22. {differt_core-0.2.0 → differt_core-0.3.1}/LICENSE.md +0 -0
  23. {differt_core-0.2.0 → differt_core-0.3.1}/README.md +0 -0
  24. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/LICENSE.md +0 -0
  25. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/README.md +0 -0
  26. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/benches/bench_main.rs +0 -0
  27. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/benches/benchmarks/graph_iterators.rs +0 -0
  28. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/benches/benchmarks/mod.rs +0 -0
  29. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/__init__.py +0 -0
  30. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/_differt_core/__init__.pyi +0 -0
  31. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/_differt_core/geometry/triangle_mesh.pyi +0 -0
  32. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/_differt_core/rt/__init__.pyi +0 -0
  33. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/_differt_core/rt/graph.pyi +0 -0
  34. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/_differt_core/scene/sionna.pyi +0 -0
  35. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/_differt_core/scene/triangle_scene.pyi +0 -0
  36. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/geometry/__init__.py +0 -0
  37. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/geometry/_triangle_mesh.py +0 -0
  38. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/py.typed +0 -0
  39. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/rt/__init__.py +0 -0
  40. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/rt/_graph.py +0 -0
  41. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/scene/__init__.py +0 -0
  42. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/scene/_sionna.py +0 -0
  43. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/python/differt_core/scene/_triangle_scene.py +0 -0
  44. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/tests/__init__.py +0 -0
  45. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/tests/rt/__init__.py +0 -0
  46. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/tests/rt/test_graph.py +0 -0
  47. {differt_core-0.2.0 → differt_core-0.3.1}/differt-core/tests/test_version.py +0 -0
  48. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/__init__.py +0 -0
  49. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/_differt_core/__init__.pyi +0 -0
  50. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/_differt_core/geometry/triangle_mesh.pyi +0 -0
  51. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/_differt_core/rt/__init__.pyi +0 -0
  52. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/_differt_core/rt/graph.pyi +0 -0
  53. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/_differt_core/scene/sionna.pyi +0 -0
  54. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/_differt_core/scene/triangle_scene.pyi +0 -0
  55. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/geometry/__init__.py +0 -0
  56. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/geometry/_triangle_mesh.py +0 -0
  57. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/py.typed +0 -0
  58. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/rt/__init__.py +0 -0
  59. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/rt/_graph.py +0 -0
  60. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/scene/__init__.py +0 -0
  61. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/scene/_sionna.py +0 -0
  62. {differt_core-0.2.0 → differt_core-0.3.1}/python/differt_core/scene/_triangle_scene.py +0 -0
@@ -247,7 +247,7 @@ checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
247
247
 
248
248
  [[package]]
249
249
  name = "differt-core"
250
- version = "0.2.0"
250
+ version = "0.3.1"
251
251
  dependencies = [
252
252
  "criterion",
253
253
  "indexmap",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: differt-core
3
- Version: 0.2.0
3
+ Version: 0.3.1
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.10
6
6
  Classifier: Programming Language :: Python :: 3.11
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
14
14
  Classifier: Programming Language :: Python :: Implementation :: PyPy
15
15
  Requires-Dist: numpy>=1.20
16
16
  License-File: LICENSE.md
17
- Summary: Core backend of DifffeRT implemented in Rust
17
+ Summary: Core backend of DiffeRT implemented in Rust
18
18
  Keywords: ray tracing,differentiable,propagation,radio,jax
19
19
  Author-email: Jérome Eertmans <jeertmans@icloud.com>
20
20
  Requires-Python: >=3.10
@@ -37,4 +37,4 @@ unexpected_cfgs = {level = "warn", check-cfg = ['cfg(tarpaulin_include)']}
37
37
  edition = "2021"
38
38
  name = "differt-core"
39
39
  rust-version = "1.78.0"
40
- version = "0.2.0"
40
+ version = "0.3.1"
@@ -3,7 +3,7 @@ use pyo3::{prelude::*, wrap_pymodule};
3
3
  pub mod triangle_mesh;
4
4
 
5
5
  #[cfg(not(tarpaulin_include))]
6
- #[pymodule]
6
+ #[pymodule(gil_used = false)]
7
7
  pub(crate) fn geometry(m: Bound<'_, PyModule>) -> PyResult<()> {
8
8
  m.add_wrapped(wrap_pymodule!(triangle_mesh::triangle_mesh))?;
9
9
  Ok(())
@@ -502,7 +502,7 @@ impl From<RawObj> for TriangleMesh {
502
502
  }
503
503
 
504
504
  #[cfg(not(tarpaulin_include))]
505
- #[pymodule]
505
+ #[pymodule(gil_used = false)]
506
506
  pub(crate) fn triangle_mesh(m: Bound<'_, PyModule>) -> PyResult<()> {
507
507
  m.add_class::<TriangleMesh>()?;
508
508
  Ok(())
@@ -6,7 +6,7 @@ pub mod scene;
6
6
 
7
7
  /// Core of DiffeRT module, implemented in Rust.
8
8
  #[cfg(not(tarpaulin_include))]
9
- #[pymodule]
9
+ #[pymodule(gil_used = false)]
10
10
  fn _differt_core(m: Bound<'_, PyModule>) -> PyResult<()> {
11
11
  pyo3_log::init();
12
12
 
@@ -1119,7 +1119,7 @@ pub mod directed {
1119
1119
  }
1120
1120
 
1121
1121
  #[cfg(not(tarpaulin_include))]
1122
- #[pymodule]
1122
+ #[pymodule(gil_used = false)]
1123
1123
  pub(crate) fn graph(m: Bound<'_, PyModule>) -> PyResult<()> {
1124
1124
  m.add_class::<complete::CompleteGraph>()?;
1125
1125
  m.add_class::<directed::DiGraph>()?;
@@ -3,7 +3,7 @@ use pyo3::{prelude::*, wrap_pymodule};
3
3
  pub mod graph;
4
4
 
5
5
  #[cfg(not(tarpaulin_include))]
6
- #[pymodule]
6
+ #[pymodule(gil_used = false)]
7
7
  pub(crate) fn rt(m: Bound<'_, PyModule>) -> PyResult<()> {
8
8
  m.add_wrapped(wrap_pymodule!(graph::graph))?;
9
9
  Ok(())
@@ -4,7 +4,7 @@ pub mod sionna;
4
4
  pub mod triangle_scene;
5
5
 
6
6
  #[cfg(not(tarpaulin_include))]
7
- #[pymodule]
7
+ #[pymodule(gil_used = false)]
8
8
  pub(crate) fn scene(m: Bound<'_, PyModule>) -> PyResult<()> {
9
9
  m.add_wrapped(wrap_pymodule!(sionna::sionna))?;
10
10
  m.add_wrapped(wrap_pymodule!(triangle_scene::triangle_scene))?;
@@ -335,7 +335,7 @@ impl SionnaScene {
335
335
  }
336
336
 
337
337
  #[cfg(not(tarpaulin_include))]
338
- #[pymodule]
338
+ #[pymodule(gil_used = false)]
339
339
  pub(crate) fn sionna(m: Bound<'_, PyModule>) -> PyResult<()> {
340
340
  m.add_class::<Material>()?;
341
341
  m.add_class::<SionnaScene>()?;
@@ -76,7 +76,7 @@ impl TriangleScene {
76
76
  }
77
77
 
78
78
  #[cfg(not(tarpaulin_include))]
79
- #[pymodule]
79
+ #[pymodule(gil_used = false)]
80
80
  pub(crate) fn triangle_scene(m: Bound<'_, PyModule>) -> PyResult<()> {
81
81
  m.add_class::<TriangleScene>()?;
82
82
  Ok(())
@@ -20,7 +20,7 @@ classifiers = [
20
20
  "Programming Language :: Python :: Implementation :: PyPy",
21
21
  ]
22
22
  dependencies = ["numpy>=1.20"]
23
- description = "Core backend of DifffeRT implemented in Rust"
23
+ description = "Core backend of DiffeRT implemented in Rust"
24
24
  dynamic = ["license", "readme", "version"]
25
25
  keywords = ["ray tracing", "differentiable", "propagation", "radio", "jax"]
26
26
  name = "differt-core"
@@ -3,7 +3,7 @@ use pyo3::{prelude::*, wrap_pymodule};
3
3
  pub mod triangle_mesh;
4
4
 
5
5
  #[cfg(not(tarpaulin_include))]
6
- #[pymodule]
6
+ #[pymodule(gil_used = false)]
7
7
  pub(crate) fn geometry(m: Bound<'_, PyModule>) -> PyResult<()> {
8
8
  m.add_wrapped(wrap_pymodule!(triangle_mesh::triangle_mesh))?;
9
9
  Ok(())
@@ -502,7 +502,7 @@ impl From<RawObj> for TriangleMesh {
502
502
  }
503
503
 
504
504
  #[cfg(not(tarpaulin_include))]
505
- #[pymodule]
505
+ #[pymodule(gil_used = false)]
506
506
  pub(crate) fn triangle_mesh(m: Bound<'_, PyModule>) -> PyResult<()> {
507
507
  m.add_class::<TriangleMesh>()?;
508
508
  Ok(())
@@ -6,7 +6,7 @@ pub mod scene;
6
6
 
7
7
  /// Core of DiffeRT module, implemented in Rust.
8
8
  #[cfg(not(tarpaulin_include))]
9
- #[pymodule]
9
+ #[pymodule(gil_used = false)]
10
10
  fn _differt_core(m: Bound<'_, PyModule>) -> PyResult<()> {
11
11
  pyo3_log::init();
12
12
 
@@ -1119,7 +1119,7 @@ pub mod directed {
1119
1119
  }
1120
1120
 
1121
1121
  #[cfg(not(tarpaulin_include))]
1122
- #[pymodule]
1122
+ #[pymodule(gil_used = false)]
1123
1123
  pub(crate) fn graph(m: Bound<'_, PyModule>) -> PyResult<()> {
1124
1124
  m.add_class::<complete::CompleteGraph>()?;
1125
1125
  m.add_class::<directed::DiGraph>()?;
@@ -3,7 +3,7 @@ use pyo3::{prelude::*, wrap_pymodule};
3
3
  pub mod graph;
4
4
 
5
5
  #[cfg(not(tarpaulin_include))]
6
- #[pymodule]
6
+ #[pymodule(gil_used = false)]
7
7
  pub(crate) fn rt(m: Bound<'_, PyModule>) -> PyResult<()> {
8
8
  m.add_wrapped(wrap_pymodule!(graph::graph))?;
9
9
  Ok(())
@@ -4,7 +4,7 @@ pub mod sionna;
4
4
  pub mod triangle_scene;
5
5
 
6
6
  #[cfg(not(tarpaulin_include))]
7
- #[pymodule]
7
+ #[pymodule(gil_used = false)]
8
8
  pub(crate) fn scene(m: Bound<'_, PyModule>) -> PyResult<()> {
9
9
  m.add_wrapped(wrap_pymodule!(sionna::sionna))?;
10
10
  m.add_wrapped(wrap_pymodule!(triangle_scene::triangle_scene))?;
@@ -335,7 +335,7 @@ impl SionnaScene {
335
335
  }
336
336
 
337
337
  #[cfg(not(tarpaulin_include))]
338
- #[pymodule]
338
+ #[pymodule(gil_used = false)]
339
339
  pub(crate) fn sionna(m: Bound<'_, PyModule>) -> PyResult<()> {
340
340
  m.add_class::<Material>()?;
341
341
  m.add_class::<SionnaScene>()?;
@@ -76,7 +76,7 @@ impl TriangleScene {
76
76
  }
77
77
 
78
78
  #[cfg(not(tarpaulin_include))]
79
- #[pymodule]
79
+ #[pymodule(gil_used = false)]
80
80
  pub(crate) fn triangle_scene(m: Bound<'_, PyModule>) -> PyResult<()> {
81
81
  m.add_class::<TriangleScene>()?;
82
82
  Ok(())
File without changes
File without changes
File without changes