sharedbox 0.3.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 (156) hide show
  1. {sharedbox-0.3.0 → sharedbox-0.3.1}/CHANGELOG.md +7 -0
  2. {sharedbox-0.3.0 → sharedbox-0.3.1}/PKG-INFO +1 -1
  3. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/__init__.py +2 -0
  4. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_version.py +3 -3
  5. {sharedbox-0.3.0 → sharedbox-0.3.1}/.clang-format +0 -0
  6. {sharedbox-0.3.0 → sharedbox-0.3.1}/.claude/settings.json +0 -0
  7. {sharedbox-0.3.0 → sharedbox-0.3.1}/.github/workflows/check-docs.yaml +0 -0
  8. {sharedbox-0.3.0 → sharedbox-0.3.1}/.github/workflows/ci.yaml +0 -0
  9. {sharedbox-0.3.0 → sharedbox-0.3.1}/.github/workflows/codspeed.yml +0 -0
  10. {sharedbox-0.3.0 → sharedbox-0.3.1}/.github/workflows/publish-docs.yaml +0 -0
  11. {sharedbox-0.3.0 → sharedbox-0.3.1}/.gitignore +0 -0
  12. {sharedbox-0.3.0 → sharedbox-0.3.1}/CLAUDE.md +0 -0
  13. {sharedbox-0.3.0 → sharedbox-0.3.1}/CMakeLists.txt +0 -0
  14. {sharedbox-0.3.0 → sharedbox-0.3.1}/LICENSE +0 -0
  15. {sharedbox-0.3.0 → sharedbox-0.3.1}/README.md +0 -0
  16. {sharedbox-0.3.0 → sharedbox-0.3.1}/benchmarks/test_bench_box.py +0 -0
  17. {sharedbox-0.3.0 → sharedbox-0.3.1}/cmake/sharedbox-config.cmake +0 -0
  18. {sharedbox-0.3.0 → sharedbox-0.3.1}/cmake/sharedbox-require-cxx.cmake +0 -0
  19. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/change_several_fields_at_once.py +0 -0
  20. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/clean_up_segments.py +0 -0
  21. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/follow_a_whole_reference_graph.py +0 -0
  22. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/name_a_box.py +0 -0
  23. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/send_a_box_to_another_process.py +0 -0
  24. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/set_defaults_and_check_values.py +0 -0
  25. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/examples/store_text_and_bytes.py +0 -0
  26. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/checking-a-process-is-alive.md +0 -0
  27. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/closing-and-lifetime.md +0 -0
  28. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/glossary.md +0 -0
  29. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/how-a-box-is-stored.md +0 -0
  30. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/how-the-module-is-built.md +0 -0
  31. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/index.md +0 -0
  32. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/limits.md +0 -0
  33. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/reading-and-writing.md +0 -0
  34. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/references.md +0 -0
  35. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/waiting-for-changes.md +0 -0
  36. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/explanation/when-to-use-sharedbox.md +0 -0
  37. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/accept-a-box-in-c.md +0 -0
  38. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/accept-a-box-in-cpp.md +0 -0
  39. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/ai-contribution-policy.md +0 -0
  40. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/build-docs.md +0 -0
  41. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/change-several-fields-at-once.md +0 -0
  42. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/clean-up-segments.md +0 -0
  43. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/commits-and-prs.md +0 -0
  44. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/contribute.md +0 -0
  45. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/follow-a-whole-reference-graph.md +0 -0
  46. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/index.md +0 -0
  47. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/install-sharedbox.md +0 -0
  48. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/make-a-release.md +0 -0
  49. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/name-a-box.md +0 -0
  50. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/open-a-box-from-a-program.md +0 -0
  51. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/run-benchmarks.md +0 -0
  52. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/run-commit-checks.md +0 -0
  53. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/run-tests.md +0 -0
  54. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/send-a-box-to-another-process.md +0 -0
  55. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/set-defaults-and-check-values.md +0 -0
  56. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/set-up-development.md +0 -0
  57. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/store-text-and-bytes.md +0 -0
  58. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/how-to/write-docs.md +0 -0
  59. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/index.md +0 -0
  60. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/api/box.md +0 -0
  61. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/api/errors.md +0 -0
  62. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/api/events.md +0 -0
  63. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/api/index.md +0 -0
  64. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/api/library-authors.md +0 -0
  65. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/api/references.md +0 -0
  66. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/changelog.md +0 -0
  67. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/cpp-and-c-api.md +0 -0
  68. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/index.md +0 -0
  69. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/reference/segment-layout.md +0 -0
  70. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/tutorials/index.md +0 -0
  71. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/tutorials/motor.py +0 -0
  72. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/tutorials/react-to-changes.md +0 -0
  73. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/tutorials/refer-to-another-box.md +0 -0
  74. {sharedbox-0.3.0 → sharedbox-0.3.1}/docs/tutorials/share-a-record.md +0 -0
  75. {sharedbox-0.3.0 → sharedbox-0.3.1}/include/sharedbox/sharedbox.hpp +0 -0
  76. {sharedbox-0.3.0 → sharedbox-0.3.1}/include/sharedbox/sharedbox_c.cpp +0 -0
  77. {sharedbox-0.3.0 → sharedbox-0.3.1}/include/sharedbox/sharedbox_c.h +0 -0
  78. {sharedbox-0.3.0 → sharedbox-0.3.1}/includes/abbreviations.md +0 -0
  79. {sharedbox-0.3.0 → sharedbox-0.3.1}/prek.toml +0 -0
  80. {sharedbox-0.3.0 → sharedbox-0.3.1}/pyproject.toml +0 -0
  81. {sharedbox-0.3.0 → sharedbox-0.3.1}/scripts/check_xrefs.py +0 -0
  82. {sharedbox-0.3.0 → sharedbox-0.3.1}/scripts/vscode_setup.py +0 -0
  83. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_box.py +0 -0
  84. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_events.py +0 -0
  85. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_follow.py +0 -0
  86. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_layout.py +0 -0
  87. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_native/codec.cpp +0 -0
  88. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_native/codec.hpp +0 -0
  89. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_native/module.cpp +0 -0
  90. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_native/segment.cpp +0 -0
  91. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_native/segment.hpp +0 -0
  92. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_native.pyi +0 -0
  93. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/_refs.py +0 -0
  94. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/__init__.py +0 -0
  95. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/__main__.py +0 -0
  96. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/_app.py +0 -0
  97. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/cli.py +0 -0
  98. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/ops.py +0 -0
  99. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/roundtrip.py +0 -0
  100. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/size.py +0 -0
  101. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/benchmarks/size_diff.py +0 -0
  102. {sharedbox-0.3.0 → sharedbox-0.3.1}/src/sharedbox/py.typed +0 -0
  103. {sharedbox-0.3.0 → sharedbox-0.3.1}/stubtest-allowlist.txt +0 -0
  104. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/conftest.py +0 -0
  105. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/CMakeLists.txt +0 -0
  106. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/compile_fail.cpp +0 -0
  107. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/consumer/CMakeLists.txt +0 -0
  108. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/consumer/consumer.c +0 -0
  109. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_atomics.cpp +0 -0
  110. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_c_smoke.c +0 -0
  111. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_c_smoke_box.cpp +0 -0
  112. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_fork.cpp +0 -0
  113. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_lock.cpp +0 -0
  114. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_mapping.cpp +0 -0
  115. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_result.cpp +0 -0
  116. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_slots.cpp +0 -0
  117. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_small_shm.cpp +0 -0
  118. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_wait.cpp +0 -0
  119. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/test_windows_h.cpp +0 -0
  120. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/cpp/unique.hpp +0 -0
  121. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/forged_open.py +0 -0
  122. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/refs_future.py +0 -0
  123. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/stress_helpers.py +0 -0
  124. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_contention.py +0 -0
  125. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_crashes.py +0 -0
  126. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_follow.py +0 -0
  127. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_lock_timeout.py +0 -0
  128. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_memory.py +0 -0
  129. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_waiters.py +0 -0
  130. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/stress/test_stress_watchers.py +0 -0
  131. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_box.py +0 -0
  132. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_capsule.py +0 -0
  133. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_doc_examples.py +0 -0
  134. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_doc_tutorials.py +0 -0
  135. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_events_async.py +0 -0
  136. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_events_signals.py +0 -0
  137. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_events_sync.py +0 -0
  138. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_fields.py +0 -0
  139. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_follow.py +0 -0
  140. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_fork.py +0 -0
  141. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_layout.py +0 -0
  142. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_native_codec.py +0 -0
  143. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_native_liveness.py +0 -0
  144. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_native_segment.py +0 -0
  145. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_native_wait.py +0 -0
  146. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_native_waiters.py +0 -0
  147. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_properties_codec.py +0 -0
  148. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_properties_forged.py +0 -0
  149. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_properties_layout.py +0 -0
  150. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_properties_stateful.py +0 -0
  151. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_refs.py +0 -0
  152. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/test_refs_lazy.py +0 -0
  153. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/type_checks/box_types.py +0 -0
  154. {sharedbox-0.3.0 → sharedbox-0.3.1}/tests/type_checks/events_types.py +0 -0
  155. {sharedbox-0.3.0 → sharedbox-0.3.1}/uv.lock +0 -0
  156. {sharedbox-0.3.0 → sharedbox-0.3.1}/zensical.toml +0 -0
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  Dates are marked as `DD-MM-YYYY`
9
9
 
10
+ ## [0.3.1] - 01-10-2026
11
+
12
+ ### Added
13
+
14
+ - `sharedbox.__version__`: the version of the installed package, as a string.
15
+
10
16
  ## [0.3.0] - 01-10-2026
11
17
 
12
18
  ### Added
@@ -206,6 +212,7 @@ stage.events.nested.connect(lambda path, new, old: print(path, new))
206
212
 
207
213
  - Initial release
208
214
 
215
+ [0.3.1]: https://github.com/jacopoabramo/sharedbox/compare/v0.3.0...v0.3.1
209
216
  [0.3.0]: https://github.com/jacopoabramo/sharedbox/compare/0.2.4...v0.3.0
210
217
  [0.2.4]: https://github.com/jacopoabramo/sharedbox/compare/0.1.0...0.2.4
211
218
  [0.1.0]: https://github.com/jacopoabramo/sharedbox/commits/0.1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sharedbox
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Python containers using shared memory.
5
5
  Author-Email: Jacopo Abramo <jacopo.abramo@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -11,6 +11,7 @@ from ._native import (
11
11
  SegmentNotFoundError,
12
12
  )
13
13
  from ._refs import BoxRef, BrokenReferenceError, UnknownBoxClassError
14
+ from ._version import __version__
14
15
 
15
16
  __all__ = [
16
17
  "BoxClosedError",
@@ -27,6 +28,7 @@ __all__ = [
27
28
  "SharedBox",
28
29
  "SupportsSharedBox",
29
30
  "UnknownBoxClassError",
31
+ "__version__",
30
32
  "field",
31
33
  "fields",
32
34
  "get_include",
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.3.0'
22
- __version_tuple__ = version_tuple = (0, 3, 0)
21
+ __version__ = version = '0.3.1'
22
+ __version_tuple__ = version_tuple = (0, 3, 1)
23
23
 
24
- __commit_id__ = commit_id = 'g998185cc0'
24
+ __commit_id__ = commit_id = 'gd755615b7'
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
File without changes
File without changes
File without changes
File without changes