xobjects 0.6.9__tar.gz → 0.6.10__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 (59) hide show
  1. {xobjects-0.6.9/xobjects.egg-info → xobjects-0.6.10}/PKG-INFO +1 -1
  2. xobjects-0.6.10/xobjects/_version.py +1 -0
  3. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/settings.py +8 -0
  4. {xobjects-0.6.9 → xobjects-0.6.10/xobjects.egg-info}/PKG-INFO +1 -1
  5. xobjects-0.6.9/xobjects/_version.py +0 -1
  6. {xobjects-0.6.9 → xobjects-0.6.10}/Architecture.md +0 -0
  7. {xobjects-0.6.9 → xobjects-0.6.10}/LICENSE +0 -0
  8. {xobjects-0.6.9 → xobjects-0.6.10}/MANIFEST.in +0 -0
  9. {xobjects-0.6.9 → xobjects-0.6.10}/README.md +0 -0
  10. {xobjects-0.6.9 → xobjects-0.6.10}/pyproject.toml +0 -0
  11. {xobjects-0.6.9 → xobjects-0.6.10}/setup.cfg +0 -0
  12. {xobjects-0.6.9 → xobjects-0.6.10}/setup.py +0 -0
  13. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_align.py +0 -0
  14. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_array.py +0 -0
  15. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_buffer.py +0 -0
  16. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_capi.py +0 -0
  17. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_chunk.py +0 -0
  18. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_common.py +0 -0
  19. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_context_opencl.py +0 -0
  20. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_general.py +0 -0
  21. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_hybrid_class.py +0 -0
  22. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_kernel.py +0 -0
  23. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_linked_array.py +0 -0
  24. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_nplike_arrays.py +0 -0
  25. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_ref.py +0 -0
  26. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_scalars.py +0 -0
  27. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_shared_memory.py +0 -0
  28. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_strides.py +0 -0
  29. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_string.py +0 -0
  30. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_struct.py +0 -0
  31. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_to_dict.py +0 -0
  32. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_typeutils.py +0 -0
  33. {xobjects-0.6.9 → xobjects-0.6.10}/tests/test_unionref.py +0 -0
  34. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/__init__.py +0 -0
  35. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/_patch_pyopencl_array.py +0 -0
  36. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/array.py +0 -0
  37. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/capi.py +0 -0
  38. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/context.py +0 -0
  39. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/context_cpu.py +0 -0
  40. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/context_cupy.py +0 -0
  41. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/context_pyopencl.py +0 -0
  42. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/general.py +0 -0
  43. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/headers/atomicadd.h +0 -0
  44. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/headers/common.h +0 -0
  45. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/hybrid_class.py +0 -0
  46. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/linkedarray.py +0 -0
  47. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/ref.py +0 -0
  48. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/scalar.py +0 -0
  49. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/specialize_source.py +0 -0
  50. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/string.py +0 -0
  51. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/struct.py +0 -0
  52. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/test_helpers.py +0 -0
  53. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/typeutils.py +0 -0
  54. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects/union.py +0 -0
  55. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects.egg-info/SOURCES.txt +0 -0
  56. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects.egg-info/dependency_links.txt +0 -0
  57. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects.egg-info/entry_points.txt +0 -0
  58. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects.egg-info/requires.txt +0 -0
  59. {xobjects-0.6.9 → xobjects-0.6.10}/xobjects.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xobjects
3
- Version: 0.6.9
3
+ Version: 0.6.10
4
4
  Summary: In-memory serialization and code generator for CPU and GPU
5
5
  Home-page: https://xsuite.readthedocs.io/
6
6
  Download-URL: https://pypi.python.org/pypi/xobjects
@@ -0,0 +1 @@
1
+ __version__ = "0.6.10"
@@ -80,6 +80,14 @@ class Settings:
80
80
 
81
81
  Equivalently, set ``XSUITE_ALLOW_KERNEL_COMPILATION=1`` before starting
82
82
  Python.
83
+
84
+ Settings can also be overridden temporarily; their previous values are
85
+ restored when leaving the context:
86
+
87
+ >>> xt.settings.print_mode = 'print'
88
+ >>> with xt.settings.override(print_mode='suppress'):
89
+ ... print(xt.settings.print_mode) # suppress
90
+ >>> print(xt.settings.print_mode) # print
83
91
  """
84
92
 
85
93
  def __init__(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xobjects
3
- Version: 0.6.9
3
+ Version: 0.6.10
4
4
  Summary: In-memory serialization and code generator for CPU and GPU
5
5
  Home-page: https://xsuite.readthedocs.io/
6
6
  Download-URL: https://pypi.python.org/pypi/xobjects
@@ -1 +0,0 @@
1
- __version__ = "0.6.9"
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
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