dwave-preprocessing 0.6.7__tar.gz → 0.6.8__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 (147) hide show
  1. {dwave-preprocessing-0.6.7/dwave_preprocessing.egg-info → dwave-preprocessing-0.6.8}/PKG-INFO +14 -23
  2. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/README.rst +12 -20
  3. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/__init__.py +1 -1
  4. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/composites/__init__.py +15 -0
  5. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/composites/clip.py +2 -0
  6. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/composites/connected_components.py +2 -0
  7. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/composites/fix_variables.py +2 -0
  8. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/composites/scale.py +2 -0
  9. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/composites/spin_reversal_transform.py +4 -2
  10. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/cypresolve.cpp +2 -2
  11. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8/dwave_preprocessing.egg-info}/PKG-INFO +14 -23
  12. dwave-preprocessing-0.6.8/dwave_preprocessing.egg-info/requires.txt +2 -0
  13. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/pyproject.toml +1 -1
  14. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/setup.cfg +1 -2
  15. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/setup.py +1 -1
  16. dwave-preprocessing-0.6.7/dwave_preprocessing.egg-info/requires.txt +0 -2
  17. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/LICENSE +0 -0
  18. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/MANIFEST.in +0 -0
  19. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/__init__.py +0 -0
  20. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/cyfix_variables.cpp +0 -0
  21. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/cyfix_variables.pyx +0 -0
  22. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave/exceptions.hpp +0 -0
  23. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave/flags.hpp +0 -0
  24. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave/presolve.hpp +0 -0
  25. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/fix_variables.hpp +0 -0
  26. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/helper_data_structures.hpp +0 -0
  27. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/helper_graph_algorithms.hpp +0 -0
  28. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/implication_network.hpp +0 -0
  29. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/mapping_policy.hpp +0 -0
  30. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/posiform_info.hpp +0 -0
  31. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/include/dwave-preprocessing/push_relabel.hpp +0 -0
  32. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/libcpp.pxd +0 -0
  33. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/lower_bounds.py +0 -0
  34. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/__init__.pxd +0 -0
  35. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/__init__.py +0 -0
  36. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/cypresolve.pxd +0 -0
  37. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/cypresolve.pyx +0 -0
  38. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/exceptions.py +0 -0
  39. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/presolve/pypresolve.py +0 -0
  40. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/src/exceptions.cpp +0 -0
  41. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/src/presolve.cpp +0 -0
  42. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave/preprocessing/src/presolveimpl.hpp +0 -0
  43. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave_preprocessing.egg-info/SOURCES.txt +0 -0
  44. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave_preprocessing.egg-info/dependency_links.txt +0 -0
  45. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave_preprocessing.egg-info/not-zip-safe +0 -0
  46. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/dwave_preprocessing.egg-info/top_level.txt +0 -0
  47. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/LICENSE +0 -0
  48. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/async.h +0 -0
  49. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/async_logger-inl.h +0 -0
  50. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/async_logger.h +0 -0
  51. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/cfg/argv.h +0 -0
  52. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/cfg/env.h +0 -0
  53. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/cfg/helpers-inl.h +0 -0
  54. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/cfg/helpers.h +0 -0
  55. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/common-inl.h +0 -0
  56. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/common.h +0 -0
  57. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/backtracer-inl.h +0 -0
  58. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/backtracer.h +0 -0
  59. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/circular_q.h +0 -0
  60. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/console_globals.h +0 -0
  61. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/file_helper-inl.h +0 -0
  62. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/file_helper.h +0 -0
  63. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/fmt_helper.h +0 -0
  64. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/log_msg-inl.h +0 -0
  65. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/log_msg.h +0 -0
  66. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/log_msg_buffer-inl.h +0 -0
  67. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/log_msg_buffer.h +0 -0
  68. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/mpmc_blocking_q.h +0 -0
  69. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/null_mutex.h +0 -0
  70. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/os-inl.h +0 -0
  71. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/os.h +0 -0
  72. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/periodic_worker-inl.h +0 -0
  73. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/periodic_worker.h +0 -0
  74. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/registry-inl.h +0 -0
  75. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/registry.h +0 -0
  76. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/synchronous_factory.h +0 -0
  77. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/tcp_client-windows.h +0 -0
  78. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/tcp_client.h +0 -0
  79. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/thread_pool-inl.h +0 -0
  80. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/thread_pool.h +0 -0
  81. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/udp_client-windows.h +0 -0
  82. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/udp_client.h +0 -0
  83. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/details/windows_include.h +0 -0
  84. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bin_to_hex.h +0 -0
  85. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/args.h +0 -0
  86. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/chrono.h +0 -0
  87. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/color.h +0 -0
  88. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/compile.h +0 -0
  89. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/core.h +0 -0
  90. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/fmt.license.rst +0 -0
  91. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/format-inl.h +0 -0
  92. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/format.h +0 -0
  93. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/locale.h +0 -0
  94. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/os.h +0 -0
  95. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/ostream.h +0 -0
  96. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/printf.h +0 -0
  97. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/ranges.h +0 -0
  98. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/bundled/xchar.h +0 -0
  99. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/chrono.h +0 -0
  100. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/compile.h +0 -0
  101. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/fmt.h +0 -0
  102. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/ostr.h +0 -0
  103. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/ranges.h +0 -0
  104. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fmt/xchar.h +0 -0
  105. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/formatter.h +0 -0
  106. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/fwd.h +0 -0
  107. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/logger-inl.h +0 -0
  108. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/logger.h +0 -0
  109. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/pattern_formatter-inl.h +0 -0
  110. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/pattern_formatter.h +0 -0
  111. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/android_sink.h +0 -0
  112. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +0 -0
  113. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/ansicolor_sink.h +0 -0
  114. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/base_sink-inl.h +0 -0
  115. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/base_sink.h +0 -0
  116. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +0 -0
  117. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/basic_file_sink.h +0 -0
  118. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/daily_file_sink.h +0 -0
  119. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/dist_sink.h +0 -0
  120. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/dup_filter_sink.h +0 -0
  121. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/hourly_file_sink.h +0 -0
  122. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/mongo_sink.h +0 -0
  123. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/msvc_sink.h +0 -0
  124. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/null_sink.h +0 -0
  125. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/ostream_sink.h +0 -0
  126. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/qt_sinks.h +0 -0
  127. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/ringbuffer_sink.h +0 -0
  128. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +0 -0
  129. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/rotating_file_sink.h +0 -0
  130. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/sink-inl.h +0 -0
  131. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/sink.h +0 -0
  132. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -0
  133. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/stdout_color_sinks.h +0 -0
  134. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +0 -0
  135. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/stdout_sinks.h +0 -0
  136. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/syslog_sink.h +0 -0
  137. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/systemd_sink.h +0 -0
  138. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/tcp_sink.h +0 -0
  139. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/udp_sink.h +0 -0
  140. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/win_eventlog_sink.h +0 -0
  141. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +0 -0
  142. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/sinks/wincolor_sink.h +0 -0
  143. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/spdlog-inl.h +0 -0
  144. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/spdlog.h +0 -0
  145. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/stopwatch.h +0 -0
  146. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/tweakme.h +0 -0
  147. {dwave-preprocessing-0.6.7 → dwave-preprocessing-0.6.8}/extern/spdlog/include/spdlog/version.h +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dwave-preprocessing
3
- Version: 0.6.7
3
+ Version: 0.6.8
4
4
  Summary: An API for preprocessing tools
5
5
  Home-page: https://github.com/dwavesystems/dwave-preprocessing
6
6
  Author: D-Wave Systems Inc.
@@ -15,13 +15,12 @@ Classifier: Operating System :: Unix
15
15
  Classifier: Operating System :: MacOS
16
16
  Classifier: Programming Language :: Python :: Implementation :: CPython
17
17
  Classifier: Programming Language :: Python :: 3 :: Only
18
- Classifier: Programming Language :: Python :: 3.8
19
18
  Classifier: Programming Language :: Python :: 3.9
20
19
  Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
- Requires-Python: >=3.8
23
+ Requires-Python: >=3.9
25
24
  Description-Content-Type: text/x-rst
26
25
  License-File: LICENSE
27
26
 
@@ -46,28 +45,22 @@ License-File: LICENSE
46
45
  dwave-preprocessing
47
46
  ===================
48
47
 
49
- .. index-start-marker
48
+ .. start_preprocessing_about
50
49
 
51
50
  `dwave-preprocessing` provides preprocessing tools for binary quadratic models
52
51
  (BQM) and presolve algorithms for constrained quadratic models (CQM).
53
52
 
54
- .. code-block:: python
53
+ This package contains several preprocessing composites that can aid in solving
54
+ BQMs and a presolver that can reduce a problem's redundant variables and
55
+ constraints to improve the accuracy of CQMs. For details on underlying
56
+ algorithms and usage, see the
57
+ `documentation <https://docs.dwavequantum.com/en/latest/index.html>`_.
55
58
 
56
- import dwave.preprocessing
57
-
58
- This package contains several preprocessing composites that can aid in solving
59
- BQMs and a presolver that can reduce a problem's redundant variables and
60
- constraints to improve the accuracy of CQMs. For details on underlying
61
- algorithms and usage, see the package's
62
- `Reference Documentation <https://docs.ocean.dwavesys.com/en/stable/docs_preprocessing/reference/>`_.
63
-
64
- .. index-end-marker
59
+ .. end_preprocessing_about
65
60
 
66
61
  Installation
67
62
  ============
68
63
 
69
- .. installation-start-marker
70
-
71
64
  Install from a package on PyPI:
72
65
 
73
66
  .. code-block:: bash
@@ -82,8 +75,6 @@ or install from source:
82
75
  python setup.py build_ext --inplace
83
76
  python setup.py install
84
77
 
85
- .. installation-end-marker
86
-
87
78
  License
88
79
  =======
89
80
 
@@ -92,17 +83,17 @@ Released under the Apache License 2.0. See `<LICENSE>`_ file.
92
83
  Contributing
93
84
  ============
94
85
 
95
- Ocean's `contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>`_
86
+ Ocean's `contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>`_
96
87
  has guidelines for contributing to Ocean packages.
97
88
 
98
89
  Release Notes
99
90
  -------------
100
91
 
101
- **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_ to manage its
102
- release notes.
92
+ **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_
93
+ to manage its release notes.
103
94
 
104
- When making a contribution to **dwave-preprocessing** that will affect users, create a new
105
- release note file by running
95
+ When making a contribution to **dwave-preprocessing** that will affect users,
96
+ create a new release note file by running
106
97
 
107
98
  .. code-block:: bash
108
99
 
@@ -19,28 +19,22 @@
19
19
  dwave-preprocessing
20
20
  ===================
21
21
 
22
- .. index-start-marker
22
+ .. start_preprocessing_about
23
23
 
24
24
  `dwave-preprocessing` provides preprocessing tools for binary quadratic models
25
25
  (BQM) and presolve algorithms for constrained quadratic models (CQM).
26
26
 
27
- .. code-block:: python
27
+ This package contains several preprocessing composites that can aid in solving
28
+ BQMs and a presolver that can reduce a problem's redundant variables and
29
+ constraints to improve the accuracy of CQMs. For details on underlying
30
+ algorithms and usage, see the
31
+ `documentation <https://docs.dwavequantum.com/en/latest/index.html>`_.
28
32
 
29
- import dwave.preprocessing
30
-
31
- This package contains several preprocessing composites that can aid in solving
32
- BQMs and a presolver that can reduce a problem's redundant variables and
33
- constraints to improve the accuracy of CQMs. For details on underlying
34
- algorithms and usage, see the package's
35
- `Reference Documentation <https://docs.ocean.dwavesys.com/en/stable/docs_preprocessing/reference/>`_.
36
-
37
- .. index-end-marker
33
+ .. end_preprocessing_about
38
34
 
39
35
  Installation
40
36
  ============
41
37
 
42
- .. installation-start-marker
43
-
44
38
  Install from a package on PyPI:
45
39
 
46
40
  .. code-block:: bash
@@ -55,8 +49,6 @@ or install from source:
55
49
  python setup.py build_ext --inplace
56
50
  python setup.py install
57
51
 
58
- .. installation-end-marker
59
-
60
52
  License
61
53
  =======
62
54
 
@@ -65,17 +57,17 @@ Released under the Apache License 2.0. See `<LICENSE>`_ file.
65
57
  Contributing
66
58
  ============
67
59
 
68
- Ocean's `contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>`_
60
+ Ocean's `contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>`_
69
61
  has guidelines for contributing to Ocean packages.
70
62
 
71
63
  Release Notes
72
64
  -------------
73
65
 
74
- **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_ to manage its
75
- release notes.
66
+ **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_
67
+ to manage its release notes.
76
68
 
77
- When making a contribution to **dwave-preprocessing** that will affect users, create a new
78
- release note file by running
69
+ When making a contribution to **dwave-preprocessing** that will affect users,
70
+ create a new release note file by running
79
71
 
80
72
  .. code-block:: bash
81
73
 
@@ -12,7 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = '0.6.7'
15
+ __version__ = '0.6.8'
16
16
 
17
17
  from dwave.preprocessing import *
18
18
  import dwave.preprocessing.composites
@@ -12,6 +12,21 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+ """
16
+ The *dwave-preprocessing* package includes several composites.
17
+
18
+ .. versionadded:: 0.6.8
19
+ Support for context manager protocol and
20
+ :meth:`~dimod.core.composite.Composite.close` method.
21
+
22
+ Context-manager usage pattern is recommended for samplers and composites
23
+ that allocate scope-bound resources, such as
24
+ :class:`~dwave.system.samplers.DWaveSampler`.
25
+
26
+ >>> with ClipComposite(DWaveSampler()) as sampler: # doctest: +SKIP
27
+ ... sampler.sample(...)
28
+ """
29
+
15
30
  from dwave.preprocessing.composites.clip import *
16
31
  from dwave.preprocessing.composites.connected_components import *
17
32
  from dwave.preprocessing.composites.fix_variables import *
@@ -17,6 +17,8 @@ from dimod.sampleset import SampleSet
17
17
 
18
18
  __all__ = ['ClipComposite']
19
19
 
20
+ # versionadded (0.6.8) to the __init__ file for context manager
21
+
20
22
  class ClipComposite(ComposedSampler):
21
23
  """Composite to clip variables of a problem.
22
24
 
@@ -18,6 +18,8 @@ from dimod.traversal import connected_components
18
18
 
19
19
  __all__ = ['ConnectedComponentsComposite']
20
20
 
21
+ # versionadded (0.6.8) to the __init__ file for context manager
22
+
21
23
  class ConnectedComponentsComposite(ComposedSampler):
22
24
  """Composite to decompose a problem to the connected components
23
25
  and solve each.
@@ -23,6 +23,8 @@ from dwave.preprocessing.lower_bounds import roof_duality
23
23
 
24
24
  __all__ = ['FixVariablesComposite']
25
25
 
26
+ # versionadded (0.6.8) to the __init__ file for context manager
27
+
26
28
  class FixVariablesComposite(ComposedSampler):
27
29
  """Composite to fix variables of a problem to provided.
28
30
 
@@ -18,6 +18,8 @@ from dimod.sampleset import SampleSet
18
18
 
19
19
  __all__ = ['ScaleComposite']
20
20
 
21
+ # versionadded (0.6.8) to the __init__ file for context manager
22
+
21
23
  class ScaleComposite(ComposedSampler):
22
24
  """Composite that scales variables of a problem.
23
25
 
@@ -17,12 +17,14 @@ import typing
17
17
  import dimod
18
18
  import numpy as np
19
19
 
20
- from dimod import Vartype
20
+ from dimod import Vartype, ComposedSampler
21
21
 
22
22
  __all__ = ['SpinReversalTransformComposite']
23
23
 
24
24
 
25
- class SpinReversalTransformComposite(dimod.core.Sampler, dimod.core.Composite):
25
+ # versionadded (0.6.8) to the __init__ file for context manager
26
+
27
+ class SpinReversalTransformComposite(ComposedSampler):
26
28
  """Composite for applying spin reversal transform preprocessing.
27
29
 
28
30
  A spin-reversal transform can improve sample statistics when the
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "include_dirs": [
13
13
  "dwave/preprocessing/presolve",
14
- "dwave/preprocessing/include/",
15
- "dimod/include/"
14
+ "dimod/include/",
15
+ "dwave/preprocessing/include/"
16
16
  ],
17
17
  "language": "c++",
18
18
  "name": "dwave.preprocessing.presolve.cypresolve",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dwave-preprocessing
3
- Version: 0.6.7
3
+ Version: 0.6.8
4
4
  Summary: An API for preprocessing tools
5
5
  Home-page: https://github.com/dwavesystems/dwave-preprocessing
6
6
  Author: D-Wave Systems Inc.
@@ -15,13 +15,12 @@ Classifier: Operating System :: Unix
15
15
  Classifier: Operating System :: MacOS
16
16
  Classifier: Programming Language :: Python :: Implementation :: CPython
17
17
  Classifier: Programming Language :: Python :: 3 :: Only
18
- Classifier: Programming Language :: Python :: 3.8
19
18
  Classifier: Programming Language :: Python :: 3.9
20
19
  Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
- Requires-Python: >=3.8
23
+ Requires-Python: >=3.9
25
24
  Description-Content-Type: text/x-rst
26
25
  License-File: LICENSE
27
26
 
@@ -46,28 +45,22 @@ License-File: LICENSE
46
45
  dwave-preprocessing
47
46
  ===================
48
47
 
49
- .. index-start-marker
48
+ .. start_preprocessing_about
50
49
 
51
50
  `dwave-preprocessing` provides preprocessing tools for binary quadratic models
52
51
  (BQM) and presolve algorithms for constrained quadratic models (CQM).
53
52
 
54
- .. code-block:: python
53
+ This package contains several preprocessing composites that can aid in solving
54
+ BQMs and a presolver that can reduce a problem's redundant variables and
55
+ constraints to improve the accuracy of CQMs. For details on underlying
56
+ algorithms and usage, see the
57
+ `documentation <https://docs.dwavequantum.com/en/latest/index.html>`_.
55
58
 
56
- import dwave.preprocessing
57
-
58
- This package contains several preprocessing composites that can aid in solving
59
- BQMs and a presolver that can reduce a problem's redundant variables and
60
- constraints to improve the accuracy of CQMs. For details on underlying
61
- algorithms and usage, see the package's
62
- `Reference Documentation <https://docs.ocean.dwavesys.com/en/stable/docs_preprocessing/reference/>`_.
63
-
64
- .. index-end-marker
59
+ .. end_preprocessing_about
65
60
 
66
61
  Installation
67
62
  ============
68
63
 
69
- .. installation-start-marker
70
-
71
64
  Install from a package on PyPI:
72
65
 
73
66
  .. code-block:: bash
@@ -82,8 +75,6 @@ or install from source:
82
75
  python setup.py build_ext --inplace
83
76
  python setup.py install
84
77
 
85
- .. installation-end-marker
86
-
87
78
  License
88
79
  =======
89
80
 
@@ -92,17 +83,17 @@ Released under the Apache License 2.0. See `<LICENSE>`_ file.
92
83
  Contributing
93
84
  ============
94
85
 
95
- Ocean's `contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>`_
86
+ Ocean's `contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>`_
96
87
  has guidelines for contributing to Ocean packages.
97
88
 
98
89
  Release Notes
99
90
  -------------
100
91
 
101
- **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_ to manage its
102
- release notes.
92
+ **dwave-preprocessing** makes use of `reno <https://docs.openstack.org/reno/>`_
93
+ to manage its release notes.
103
94
 
104
- When making a contribution to **dwave-preprocessing** that will affect users, create a new
105
- release note file by running
95
+ When making a contribution to **dwave-preprocessing** that will affect users,
96
+ create a new release note file by running
106
97
 
107
98
  .. code-block:: bash
108
99
 
@@ -0,0 +1,2 @@
1
+ numpy<3.0.0,>=1.17.3
2
+ dimod<0.13.0,>=0.12.20
@@ -3,7 +3,7 @@ requires = [
3
3
  "setuptools>=46.4.0",
4
4
  "wheel>=0.30.0",
5
5
  "Cython~=3.0",
6
- "dimod==0.12.17",
6
+ "dimod==0.12.20",
7
7
  ]
8
8
  build-backend = "setuptools.build_meta"
9
9
 
@@ -7,7 +7,6 @@ classifiers =
7
7
  Operating System :: MacOS
8
8
  Programming Language :: Python :: Implementation :: CPython
9
9
  Programming Language :: Python :: 3 :: Only
10
- Programming Language :: Python :: 3.8
11
10
  Programming Language :: Python :: 3.9
12
11
  Programming Language :: Python :: 3.10
13
12
  Programming Language :: Python :: 3.11
@@ -30,7 +29,7 @@ packages =
30
29
  dwave.preprocessing
31
30
  dwave.preprocessing.composites
32
31
  dwave.preprocessing.presolve
33
- python_requires = >=3.8
32
+ python_requires = >=3.9
34
33
  zip_safe = False
35
34
 
36
35
  [pycodestyle]
@@ -65,6 +65,6 @@ setup(
65
65
  ],
66
66
  install_requires=[
67
67
  'numpy>=1.17.3,<3.0.0', # this is the oldest supported NumPy on Python 3.8
68
- 'dimod>=0.12.6,<0.13.0'
68
+ 'dimod>=0.12.20,<0.13.0'
69
69
  ],
70
70
  )
@@ -1,2 +0,0 @@
1
- numpy<3.0.0,>=1.17.3
2
- dimod<0.13.0,>=0.12.6